add HitPattern to GSFTrack collection, needed for Electron and LRT electron tracks
I added the hitPattern variable to the GSFTrackParticles and LRTGSFTrackParticles collections Electrons and LRT Electrons collections. The hitPattern is needed to calculate the 'nMissingLayers' variable used in the analysis strategy of the Run 2 displaced leptons search.
I tested this change on an unskimmed ttbar sample (Available here: https://cernbox.cern.ch/s/bymqriQFdNsPWyG). I produced 1000 events before and after the change and recorded the file sizes in kb, as well as the percentage change in file size before and after the change, below.
The change in file size is modest. I checked with the DAOD transient tree that I can now access the var with
t->Draw("LRTElectrons.trackParticle(0).hitPattern()")
Tagging @jburzyns and @longjon
I also made the equivalent change in the legacy LLP1 JO.
Before Change | After Change | % Change |
---|---|---|
58.008 kB/evt | 58.026 kB/evt | 0.031% |