Changeset 27738e8 in git
- Timestamp:
- May 29, 2018, 12:15:13 PM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 3d778cd, 509d1b4
- Parents:
- f37555a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/StatusPidFilter.cc
rf37555a r27738e8 121 121 } 122 122 123 bool isWDaughter(int M1, const TObjArray *fInputArray) 124 { 125 if ( M1 < 0 ) return false; 126 127 Candidate *mother; 128 mother = static_cast<Candidate*>(fInputArray->At( M1 )); 129 if ( TMath::Abs(mother->PID) == 24 ) return true; 130 131 return false; 132 } 133 123 134 } 124 135 … … 208 219 pass = kTRUE; 209 220 221 bool is_W_daughter = isWDaughter(candidate->M1, fInputArray); 222 if (is_W_daughter) 223 pass = kTRUE; 224 210 225 // fPTMin not applied to b_hadrons / b_quarks to allow for b-enriched sample stitching 211 226 // fPTMin not applied to tau decay products to allow visible-tau four momentum determination 212 if(!pass || (candidate->Momentum.Pt() < fPTMin && !(is_b_hadron || is_b_quark || is_tau_daughter )) ) continue;227 if(!pass || (candidate->Momentum.Pt() < fPTMin && !(is_b_hadron || is_b_quark || is_tau_daughter || is_W_daughter)) ) continue; 213 228 214 229 fOutputArray->Add(candidate);
Note:
See TracChangeset
for help on using the changeset viewer.