Changes in / [285752e:fae7563] in git
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cards/delphes_card_ATLAS_PileUp.tcl
r285752e rfae7563 360 360 } 361 361 362 362 363 #################### 363 364 # Energy flow merger … … 377 378 378 379 module PdgCodeFilter EFlowFilter { 379 set InputArray EFlowMerger /eflow380 set InputArray EFlowMergerAllTracks/eflow 380 381 set OutputArray eflow 381 382 -
modules/StatusPidFilter.cc
r285752e rfae7563 104 104 return false; 105 105 } 106 107 bool isTauDaughter(int pdgCode, int M1, const TObjArray *fInputArray){108 //not needed, just to speed up the code - can be further refined but gives only negligible improvement:109 if ( pdgCode==15 || pdgCode<11 || (pdgCode > 22 && pdgCode < 100) || pdgCode>1000 )110 return false;111 112 if ( M1 < 0 )113 return false;114 115 Candidate *mother;116 mother = static_cast<Candidate*>(fInputArray->At( M1 ));117 if ( TMath::Abs(mother->PID) == 15 )118 return true;119 120 return false;121 }122 123 106 } 124 107 … … 194 177 bool is_b_quark = (pdgCode == 5); 195 178 196 bool is_tau_daughter = isTauDaughter(pdgCode, candidate->M1, fInputArray);197 198 179 if (is_b_hadron) 199 180 pass = kTRUE; 200 181 201 if (is_tau_daughter)202 pass = kTRUE;203 204 182 // fPTMin not applied to b_hadrons / b_quarks to allow for b-enriched sample stitching 205 // fPTMin not applied to tau decay products to allow visible-tau four momentum determination 206 if(!pass || (candidate->Momentum.Pt() < fPTMin && !(is_b_hadron || is_b_quark || is_tau_daughter)) ) continue; 183 if(!pass || (candidate->Momentum.Pt() < fPTMin && !(is_b_hadron || is_b_quark)) ) continue; 207 184 208 185 fOutputArray->Add(candidate); -
modules/TreeWriter.cc
r285752e rfae7563 376 376 rapidity = (cosTheta == 1.0 ? signz*999.9 : momentum.Rapidity()); 377 377 378 entry->P = p;379 378 entry->PT = pt; 380 379 entry->Eta = eta;
Note:
See TracChangeset
for help on using the changeset viewer.