Changes in modules/Efficiency.cc [95aa610:cab38f6] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/Efficiency.cc
r95aa610 rcab38f6 96 96 { 97 97 Candidate *candidate; 98 Double_t pt, eta, phi , e;98 Double_t pt, eta, phi; 99 99 100 100 fItInputArray->Reset(); … … 106 106 phi = candidatePosition.Phi(); 107 107 pt = candidateMomentum.Pt(); 108 e = candidateMomentum.E();109 108 110 109 // apply an efficency formula 111 if(gRandom->Uniform() > fFormula->Eval(pt, eta , phi, e)) continue;110 if(gRandom->Uniform() > fFormula->Eval(pt, eta)) continue; 112 111 113 112 fOutputArray->Add(candidate);
Note:
See TracChangeset
for help on using the changeset viewer.