Changes in modules/Efficiency.cc [a1c9c16:f298e48] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/Efficiency.cc
ra1c9c16 rf298e48 95 95 { 96 96 Candidate *candidate; 97 Double_t pt, eta, phi, e , d0, dz, ctgTheta;97 Double_t pt, eta, phi, e; 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; 111 108 112 109 // apply an efficency formula 113 if(gRandom->Uniform() > fFormula->Eval(pt, eta, phi, e, d0, dz, ctgTheta)) continue;110 if(gRandom->Uniform() > fFormula->Eval(pt, eta, phi, e, candidate)) continue; 114 111 115 112 fOutputArray->Add(candidate);
Note:
See TracChangeset
for help on using the changeset viewer.