Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WCT IWireSchema from LArSoft geometry service #38

Open
brettviren opened this issue Sep 8, 2023 · 0 comments
Open

WCT IWireSchema from LArSoft geometry service #38

brettviren opened this issue Sep 8, 2023 · 0 comments

Comments

@brettviren
Copy link
Member

We should provide a way to derive the needed WCT "wire geometry" information directly from a LS geometry service.

Background info

WCT geometry and wire-channel map is primarily determined by the exhaustive list of "wire" segments (including for strip+holes detectors).

So far, this information is in the form of a WCT "wires fill" in .json.bz form. This file is typically generated by a wire-cell-python program using a text file dump that comes from LArSoft geometry service.

A "wires file" is still required for WCT stand-alone use but when used as part of LS this baroque chain is not welcome. In rare, but possible situations the wire geometry in LS may be updated and we fail to update the "wires file". The "wires file" also poses yet another auxiliary file to track at the batch job level.

To be friendly to the LS+WC user we should develop a WC/LS component that can act as a WCT IWireSchema and populate the wire geometry information by directly calling the LS geometry service.

If the geometry service is not thread safe - or even it if is to be extra safe - the LS->WC conversion of the wire info should be performed eagerly inside configure().

Extra credit

Given this new WC/LS component, we should also include a way to directly dump out the WCT "wires file" in .json.bz2 format in order to negate the need for the baroque chain that would otherwise still be needed for stand-alone WCT usage.

A WC/LS Jsonnet/FHiCL config set should be provided for every popular LArTPC detector to simplify and standardize dumping their "wires file".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant