DUNE / ND_CAFMaker

Code for making CAFs from ND inputs (whether 2x2+MINERvA prototype or full ND simulation)
Apache License 2.0
1 stars 11 forks source link

fix POT storage #36

Open chenel opened 10 months ago

chenel commented 10 months ago

current files write out NaN POT. This needs to be fixed!

chenel commented 10 months ago

The problem has a bit of complexity to it, in that in the case where we're matching across detectors, the total POT of all spills of all input files won't necessarily be the same as the POT corresponding to the intersection of the matched spills. Probably the solution here is:

chenel commented 9 months ago

I think the solution will likely come in two stages. First, we'll add a parameter to the CAFMaker with a fixed POT/spill that we can use in the short term as a stopgap. The longer term solution is likely along the lines described above---though it may be possible to have the CAFMaker be a single interface to the IFBeam database. Depends on whether we want CAFMaker to handle data & MC differently...

chenel commented 1 month ago

@mjkramer and @sindhu-ku are going to work on a first pass on this for 2x2 files.