- Timestamp:
- Feb 14, 2019, 8:22:07 PM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, llp, master
- Children:
- d08af46
- Parents:
- 69da136
- Location:
- modules
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/Efficiency.cc
r69da136 ra1c9c16 95 95 { 96 96 Candidate *candidate; 97 Double_t pt, eta, phi, e ;97 Double_t pt, eta, phi, e, d0, dz, ctgTheta; 98 98 99 99 fItInputArray->Reset(); … … 106 106 pt = candidateMomentum.Pt(); 107 107 e = candidateMomentum.E(); 108 d0 = candidate->D0; 109 dz = candidate->DZ; 110 ctgTheta = candidate->CtgTheta; 108 111 109 112 // apply an efficency formula 110 if(gRandom->Uniform() > fFormula->Eval(pt, eta, phi, e )) continue;113 if(gRandom->Uniform() > fFormula->Eval(pt, eta, phi, e, d0, dz, ctgTheta)) continue; 111 114 112 115 fOutputArray->Add(candidate); -
modules/ModulesLinkDef.h
r69da136 ra1c9c16 32 32 #include "modules/ParticlePropagator.h" 33 33 #include "modules/Efficiency.h" 34 #include "modules/TrackEfficiency.h"35 34 #include "modules/IdentificationMap.h" 36 35 #include "modules/EnergySmearing.h" … … 86 85 #pragma link C++ class ParticlePropagator+; 87 86 #pragma link C++ class Efficiency+; 88 #pragma link C++ class TrackEfficiency+;89 87 #pragma link C++ class IdentificationMap+; 90 88 #pragma link C++ class EnergySmearing+;
Note:
See TracChangeset
for help on using the changeset viewer.