update ntuple dumper
Update ntuple dumper:
- Add track position of measurement-on-track with the largest radius (copied code from Tobias)
- Set default scintillator charge to 0, not NaN
- Update default event filter to: colliding bunches have at least one long track, non-colliding bunches have at least one long track or one calo module with raw_peak > 3 mV
- Add options to also filter events via other methods (trigger-filter and scintillator-filter)
- Add threshold word
ScintHit
where bits are assigned to scintilator layers and set to 1 if the charge is above threshold and 0 if it is below - Add flag to store only blinded events
- Add
Calo_total_E_EM_fudged
variable which scales the MC calo response by 8.8% (fudge factor measured from the testbeam data/MC ratio at 100 GeV e-)
I also did some general cleanup and moving code around so that the new event filter can be done early on. Moving of code blocks makes git diff look messy and like I changed a bunch of stuff, but I didn't.
Edited by Deion Elgin Fellers