Changeset 41da326 in git for modules/StatusPidFilter.cc
- Timestamp:
- May 20, 2013, 10:10:25 PM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- d5104a4
- Parents:
- 1ba5c52
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/StatusPidFilter.cc
r1ba5c52 r41da326 80 80 Candidate *candidate; 81 81 Int_t status, pdgCode; 82 Bool_t pass; 82 83 83 84 fItInputArray->Reset(); … … 87 88 pdgCode = TMath::Abs(candidate->PID); 88 89 89 // Write all electrons, muons, taus and status == 3; 90 if(pdgCode != 11 && pdgCode != 13 && pdgCode != 15 && status != 3) continue; 90 pass = kFALSE; 91 91 92 if(candidate->Momentum.Pt() <= fPTMin) continue; 92 // status == 3 93 if(status == 3) pass = kTRUE; 94 95 // electrons, muons, taus 96 if(pdgCode == 11 || pdgCode == 13 || pdgCode == 15) pass = kTRUE; 97 98 // neutrinos 99 if(pdgCode == 12 || pdgCode == 14 || pdgCode == 16) pass = kTRUE; 100 101 // heavy quarks 102 if(pdgCode == 5 || pdgCode == 6) pass = kTRUE; 103 104 // Gauge bosons and other fundamental bosons 105 if(pdgCode > 22 && pdgCode < 43) pass = kTRUE; 106 107 if(!pass || candidate->Momentum.Pt() <= fPTMin) continue; 93 108 94 109 fOutputArray->Add(candidate);
Note:
See TracChangeset
for help on using the changeset viewer.