Changes in / [0a9be59:d63d737] in git
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/CMakeLists.txt
r0a9be59 rd63d737 1 1 include_directories( 2 2 ${CMAKE_SOURCE_DIR} 3 ${DelphesExternals_INCLUDE_DIR} 3 ${DelphesExternals_INCLUDE_DIR} 4 4 ) 5 5 … … 17 17 # take all other relevant files and put them into examples/ 18 18 install(FILES ${macros} DESTINATION examples) 19 install(DIRECTORY ExternalFastJet DESTINATION examples) 20 if(PYTHIA8_FOUND) 21 install(DIRECTORY Pythia8 DESTINATION examples) 22 endif() -
modules/PdgCodeFilter.cc
r0a9be59 rd63d737 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
r0a9be59 rd63d737 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
r0a9be59 rd63d737 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
r0a9be59 rd63d737 51 51 Double_t fPTMin; //! 52 52 53 Bool_t fRequireNotPileup; //! 54 53 55 TIterator *fItInputArray; //! 54 56 -
readers/DelphesProMC.cpp
r0a9be59 rd63d737 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.