Changes in / [d20cefb:7c7fe5e] in git
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/PdgCodeFilter.cc
rd20cefb r7c7fe5e 76 76 fInvert = GetBool("Invert", false); 77 77 78 // no pileup 79 fRequireNotPileup = GetBool("RequireNotPileup", false); 80 78 81 fRequireStatus = GetBool("RequireStatus", false); 79 82 fStatus = GetInt("Status", 1); … … 127 130 if(fRequireStatus && (candidate->Status != fStatus)) continue; 128 131 if(fRequireCharge && (candidate->Charge != fCharge)) continue; 132 if(fRequireNotPileup && (candidate->IsPU >0 )) continue; 129 133 130 134 pass = kTRUE; -
modules/PdgCodeFilter.h
rd20cefb r7c7fe5e 55 55 Bool_t fRequireCharge; //! 56 56 Int_t fCharge; //! 57 57 Bool_t fRequireNotPileup; //! 58 58 59 59 std::vector<Int_t> fPdgCodes; -
modules/StatusPidFilter.cc
rd20cefb r7c7fe5e 153 153 { 154 154 // PT threshold 155 156 155 fPTMin = GetDouble("PTMin", 0.5); 156 157 // keep or remove pileup particles 158 fRequireNotPileup = GetBool("RequireNotPileup", false); 157 159 158 160 // import input array … … 227 229 if(!pass || (candidate->Momentum.Pt() < fPTMin && !(is_b_hadron || is_b_quark || is_tau_daughter || is_W_daughter)) ) continue; 228 230 231 // not pileup particles 232 if(fRequireNotPileup && (candidate->IsPU >0)) continue; 233 229 234 fOutputArray->Add(candidate); 230 235 } -
modules/StatusPidFilter.h
rd20cefb r7c7fe5e 51 51 Double_t fPTMin; //! 52 52 53 Bool_t fRequireNotPileup; //! 54 53 55 TIterator *fItInputArray; //! 54 56 -
readers/DelphesProMC.cpp
rd20cefb r7c7fe5e 125 125 candidate->Status = status; 126 126 127 candidate->IsPU=0; 128 if (mutableParticles->barcode(i)>0) candidate->IsPU=1; // pileup particle 129 127 130 candidate->M1 = mutableParticles->mother1(i); 128 131 candidate->M2 = mutableParticles->mother2(i); … … 231 234 cout << "** Reading " << argv[i] << endl; 232 235 236 // use 64 bit 237 //inputFile = new ProMCBook(argv[i], "r", true); 238 239 //use 32 bit zip (faster but limitted to 64k events) 233 240 inputFile = new ProMCBook(argv[i], "r"); 234 241
Note:
See TracChangeset
for help on using the changeset viewer.