- Timestamp:
- Feb 25, 2018, 2:29:05 PM (7 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 193c0693
- Parents:
- 36b4099
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/StatusPidFilter.cc
r36b4099 r9c980d2 175 175 // logic ported from HepPDF: http://lcgapp.cern.ch/project/simu/HepPDT/HepPDT.2.05.02/html/ParticleID_8cc-source.html#l00081 176 176 bool is_b_hadron = hasBottom(pdgCode); 177 bool is_b_quark = (pdgCode == 5); 177 178 178 179 if (is_b_hadron) 179 180 pass = kTRUE; 180 181 181 // fPTMin not applied to b_hadrons to allow for b-enriched sample stitching182 if(!pass || (candidate->Momentum.Pt() < fPTMin && ! is_b_hadron) ) continue;182 // fPTMin not applied to b_hadrons / b_quarks to allow for b-enriched sample stitching 183 if(!pass || (candidate->Momentum.Pt() < fPTMin && !(is_b_hadron || is_b_quark)) ) continue; 183 184 184 185 fOutputArray->Add(candidate);
Note:
See TracChangeset
for help on using the changeset viewer.