Changeset 7e227ae in git
- Timestamp:
- Dec 16, 2015, 3:15:15 PM (9 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 59d6164
- Parents:
- 437e999
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r437e999 r7e227ae 325 325 modules/BTagging.h \ 326 326 modules/TauTagging.h \ 327 modules/TrackCountingTauTagging.h \ 327 328 modules/TreeWriter.h \ 328 329 modules/Merger.h \ … … 816 817 classes/DelphesFactory.h \ 817 818 classes/DelphesFormula.h 819 tmp/modules/TrackCountingTauTagging.$(ObjSuf): \ 820 modules/TrackCountingTauTagging.$(SrcSuf) \ 821 modules/TrackCountingTauTagging.h \ 822 classes/DelphesClasses.h \ 823 classes/DelphesFactory.h \ 824 classes/DelphesFormula.h \ 825 external/ExRootAnalysis/ExRootResult.h \ 826 external/ExRootAnalysis/ExRootFilter.h \ 827 external/ExRootAnalysis/ExRootClassifier.h 818 828 tmp/modules/TrackPileUpSubtractor.$(ObjSuf): \ 819 829 modules/TrackPileUpSubtractor.$(SrcSuf) \ … … 933 943 tmp/modules/TimeSmearing.$(ObjSuf) \ 934 944 tmp/modules/TrackCountingBTagging.$(ObjSuf) \ 945 tmp/modules/TrackCountingTauTagging.$(ObjSuf) \ 935 946 tmp/modules/TrackPileUpSubtractor.$(ObjSuf) \ 936 947 tmp/modules/TreeWriter.$(ObjSuf) \ … … 1292 1303 external/fastjet/contribs/Nsubjettiness/Nsubjettiness.hh \ 1293 1304 external/fastjet/contribs/Nsubjettiness/Njettiness.hh \ 1294 external/fastjet/contribs/Nsubjettiness/NjettinessPlugin.hh 1305 external/fastjet/contribs/Nsubjettiness/NjettinessPlugin.hh \ 1306 external/fastjet/contribs/Nsubjettiness/ExtraRecombiners.hh 1295 1307 tmp/modules/RunPUPPI.$(ObjSuf): \ 1296 1308 modules/RunPUPPI.$(SrcSuf) \ … … 1696 1708 @touch $@ 1697 1709 1710 modules/TrackCountingTauTagging.h: \ 1711 classes/DelphesModule.h 1712 @touch $@ 1713 1698 1714 external/fastjet/RectangularGrid.hh: \ 1699 1715 external/fastjet/PseudoJet.hh \ -
cards/delphes_card_ATLAS.tcl
r437e999 r7e227ae 553 553 # -2 - two or more mistag rate 554 554 555 set BitNumber 0 556 555 557 # taken from ATL-PHYS-PUB-2015-045 (medium working point) 556 557 558 add EfficiencyFormula {1} {0.70} 558 559 add EfficiencyFormula {2} {0.60} -
cards/delphes_card_ATLAS_PileUp.tcl
r437e999 r7e227ae 674 674 # -2 - two or more mistag rate 675 675 676 set BitNumber 0 677 676 678 # taken from ATL-PHYS-PUB-2015-045 (medium working point) 677 678 679 add EfficiencyFormula {1} {0.70} 679 680 add EfficiencyFormula {2} {0.60} -
modules/TauTagging.cc
r437e999 r7e227ae 126 126 Int_t i, size; 127 127 128 fBitNumber = GetInt("BitNumber", 0); 129 128 130 fDeltaR = GetDouble("DeltaR", 0.5); 129 131 … … 193 195 Candidate *jet, *tau, *daughter; 194 196 TLorentzVector tauMomentum; 195 Double_t pt, eta, phi ;197 Double_t pt, eta, phi, e; 196 198 TObjArray *tauArray; 197 199 map< Int_t, DelphesFormula * >::iterator itEfficiencyMap; … … 213 215 phi = jetMomentum.Phi(); 214 216 pt = jetMomentum.Pt(); 217 e = jetMomentum.E(); 215 218 216 219 // loop over all input taus … … 252 255 253 256 // apply an efficency formula 254 jet->TauTag = gRandom->Uniform() <= formula->Eval(pt, eta); 257 jet->TauTag |= (gRandom->Uniform() <= formula->Eval(pt, eta, phi, e)) << fBitNumber; 258 255 259 // set tau charge 256 260 jet->Charge = charge; -
modules/TauTagging.h
r437e999 r7e227ae 55 55 56 56 private: 57 57 58 Int_t fBitNumber; 59 58 60 Double_t fDeltaR; 59 61 -
modules/TrackCountingTauTagging.cc
r437e999 r7e227ae 130 130 Int_t i, size; 131 131 132 fBitNumber = GetInt("BitNumber", 0); 133 132 134 fDeltaR = GetDouble("DeltaR", 0.5); 133 135 fDeltaRTrack = GetDouble("DeltaRTrack", 0.2); … … 203 205 Candidate *jet, *tau, *track, *daughter; 204 206 TLorentzVector tauMomentum; 205 Double_t pt, eta, phi ;207 Double_t pt, eta, phi, e; 206 208 TObjArray *tauArray; 207 209 map< Int_t, DelphesFormula * >::iterator itEfficiencyMap; … … 228 230 phi = jetMomentum.Phi(); 229 231 pt = jetMomentum.Pt(); 232 e = jetMomentum.E(); 233 230 234 231 235 // loop over all input tracks … … 288 292 289 293 // apply an efficency formula 290 jet->TauTag = gRandom->Uniform() <= formula->Eval(pt, eta); 294 jet->TauTag |= (gRandom->Uniform() <= formula->Eval(pt, eta, phi, e)) << fBitNumber; 295 296 291 297 // set tau charge 292 298 jet->Charge = charge; -
modules/TrackCountingTauTagging.h
r437e999 r7e227ae 39 39 private: 40 40 41 Int_t fBitNumber; 42 41 43 Double_t fDeltaR; 42 44 Double_t fDeltaRTrack;
Note:
See TracChangeset
for help on using the changeset viewer.