The fiducial map calculation is done in two places: when running the createFiducialMap.py script and in OSUGenericTrackProducer. This doesn't make too much sense because we use the output ROOT file of createFiducialMap.py in OSUGenericTrackProducer. So, why don't we just store the fiducial map inside the ROOT file so the calculation is only done once?
Proposal: put the standard deviation histogram inside the ROOT file and read that in OSUGenericTrackProducer. That is the only histogram that is needed. This way, we can still adjust the fiducial cut (i.e. 2.0 sigma) if we need to.
This will require changing all existing fiducial maps. However, they all have the beforeVeto and afterVeto histograms in them, so it will be easy to calculate the updated maps.
The fiducial map calculation is done in two places: when running the
createFiducialMap.pyscript and inOSUGenericTrackProducer. This doesn't make too much sense because we use the output ROOT file ofcreateFiducialMap.pyinOSUGenericTrackProducer. So, why don't we just store the fiducial map inside the ROOT file so the calculation is only done once?Proposal: put the standard deviation histogram inside the ROOT file and read that in OSUGenericTrackProducer. That is the only histogram that is needed. This way, we can still adjust the fiducial cut (i.e. 2.0 sigma) if we need to.
This will require changing all existing fiducial maps. However, they all have the
beforeVetoandafterVetohistograms in them, so it will be easy to calculate the updated maps.