[Halld-physics] More Analysis Software Updates

Paul Mattione pmatt at jlab.org
Fri Sep 26 18:25:03 EDT 2014


With Matt's help, I've made some major improvements to the analysis software over the past few days (which aren't in the tagged release yet).  I've introduced "PreSelect" factories for DNeutralShower and DChargedTrack, which are responsible for removing "bad" tracks and showers before the analysis even starts: 

1) "Bad" tracks have either a tracking FOM that is too low (< 0.0027) or don't match to a hit in another detector (BCAL/FCAL/TOF/SC)
2) There is no such thing as a bad shower yet ... this factory is just pass-through.  

This, coupled with some code re-organization and the new cut shown below, results in an x100 speed improvement and a > x5 memory-usage improvement when running many (e.g. 30) reactions.  The improvement is not as large when running just a single reaction, so your mileage will vary.  

If you update your software, you need to: 

1) Delete your DReaction cuts for "HasDetectorMatch" and "MinTrackingFOM." These are now automatically built into the "PreSelect" factory. 

You can now optionally add this recommended cut to your plugin:

locReaction->Set_MaxExtraGoodTracks(4);

Which will cut events from your analysis right at the beginning that have too many extra "good" tracks.  "Good" is defined as "survives the "PreSelect" factory."  It's important to keep this value near 4 (for now) because there are still a fair number of ghost/junk tracks that masquerade as good tracks, and you don't want to throw away any signal events.  

 - Paul




More information about the Halld-physics mailing list