Changes in modules/Efficiency.cc [2116fdf:a1c9c16] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/Efficiency.cc
r2116fdf ra1c9c16 95 95 { 96 96 Candidate *candidate; 97 Double_t pt, eta, phi, e, r, z,d0, dz, ctgTheta;97 Double_t pt, eta, phi, e, d0, dz, ctgTheta; 98 98 99 99 fItInputArray->Reset(); … … 102 102 const TLorentzVector &candidatePosition = candidate->Position; 103 103 const TLorentzVector &candidateMomentum = candidate->Momentum; 104 r = candidatePosition.Perp();105 z = candidatePosition.Z();106 104 eta = candidatePosition.Eta(); 107 105 phi = candidatePosition.Phi(); … … 113 111 114 112 // apply an efficency formula 115 if(gRandom->Uniform() > fFormula->Eval(pt, eta, phi, e, r, z,d0, dz, ctgTheta)) continue;113 if(gRandom->Uniform() > fFormula->Eval(pt, eta, phi, e, d0, dz, ctgTheta)) continue; 116 114 117 115 fOutputArray->Add(candidate);
Note:
See TracChangeset
for help on using the changeset viewer.