Changes in modules/IdentificationMap.cc [a5bbe8a:95aa610] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/IdentificationMap.cc
ra5bbe8a r95aa610 127 127 { 128 128 Candidate *candidate; 129 Double_t pt, eta, phi ;129 Double_t pt, eta, phi, e; 130 130 TMisIDMap::iterator itEfficiencyMap; 131 131 pair <TMisIDMap::iterator, TMisIDMap::iterator> range; … … 143 143 phi = candidatePosition.Phi(); 144 144 pt = candidateMomentum.Pt(); 145 e = candidateMomentum.E(); 146 145 147 pdgCodeIn = candidate->PID; 146 148 charge = candidate->Charge; … … 164 166 pdgCodeOut = (it->second).first; 165 167 166 p = formula->Eval(pt, eta );168 p = formula->Eval(pt, eta, phi, e); 167 169 168 170 if(total <= r && r < total + p)
Note:
See TracChangeset
for help on using the changeset viewer.