Changeset 341014c in git for modules/PdgCodeFilter.cc
- Timestamp:
- Feb 12, 2019, 9:29:17 PM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, llp, master
- Children:
- 6455202
- Parents:
- 45e58be
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/PdgCodeFilter.cc
r45e58be r341014c 31 31 #include "classes/DelphesFormula.h" 32 32 33 #include "ExRootAnalysis/ExRootClassifier.h" 34 #include "ExRootAnalysis/ExRootFilter.h" 33 35 #include "ExRootAnalysis/ExRootResult.h" 34 #include "ExRootAnalysis/ExRootFilter.h"35 #include "ExRootAnalysis/ExRootClassifier.h"36 36 37 #include "TDatabasePDG.h" 38 #include "TFormula.h" 39 #include "TLorentzVector.h" 37 40 #include "TMath.h" 41 #include "TObjArray.h" 42 #include "TRandom3.h" 38 43 #include "TString.h" 39 #include "TFormula.h"40 #include "TRandom3.h"41 #include "TObjArray.h"42 #include "TDatabasePDG.h"43 #include "TLorentzVector.h"44 44 45 45 #include <algorithm> 46 #include <stdexcept>47 46 #include <iostream> 48 47 #include <sstream> 48 #include <stdexcept> 49 49 50 50 using namespace std; … … 76 76 fInvert = GetBool("Invert", false); 77 77 78 // no pileup 78 // no pileup 79 79 fRequireNotPileup = GetBool("RequireNotPileup", false); 80 80 … … 121 121 122 122 fItInputArray->Reset(); 123 while((candidate = static_cast<Candidate *>(fItInputArray->Next())))123 while((candidate = static_cast<Candidate *>(fItInputArray->Next()))) 124 124 { 125 125 pdgCode = candidate->PID; … … 130 130 if(fRequireStatus && (candidate->Status != fStatus)) continue; 131 131 if(fRequireCharge && (candidate->Charge != fCharge)) continue; 132 if(fRequireNotPileup && (candidate->IsPU >0)) continue;132 if(fRequireNotPileup && (candidate->IsPU > 0)) continue; 133 133 134 134 pass = kTRUE; … … 139 139 } 140 140 } 141
Note:
See TracChangeset
for help on using the changeset viewer.