Changes in modules/DenseTrackFilter.cc [fd4b326:341014c] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/DenseTrackFilter.cc
rfd4b326 r341014c 237 237 238 238 Candidate *candidate, *track; 239 Double_t pt, eta, phi , m;239 Double_t pt, eta, phi; 240 240 Int_t numberOfCandidates; 241 241 … … 251 251 eta = candidate->Momentum.Eta(); 252 252 phi = candidate->Momentum.Phi(); 253 m = candidate->Momentum.M();254 255 253 eta = gRandom->Gaus(eta, fEtaPhiRes); 256 254 phi = gRandom->Gaus(phi, fEtaPhiRes); 257 candidate->Momentum.SetPtEtaPhi M(pt, eta, phi, m);255 candidate->Momentum.SetPtEtaPhiE(pt, eta, phi, pt * TMath::CosH(eta)); 258 256 candidate->AddCandidate(track); 259 257
Note:
See TracChangeset
for help on using the changeset viewer.