Changes in modules/AngularSmearing.cc [95aa610:cab38f6] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/AngularSmearing.cc
r95aa610 rcab38f6 100 100 { 101 101 Candidate *candidate, *mother; 102 Double_t pt, eta, phi , e;102 Double_t pt, eta, phi; 103 103 104 104 fItInputArray->Reset(); … … 110 110 phi = candidatePosition.Phi(); 111 111 pt = candidateMomentum.Pt(); 112 e = candidateMomentum.E();113 112 114 113 // apply smearing formula for eta,phi 115 114 116 eta = gRandom->Gaus(eta, fFormulaEta->Eval(pt, eta , phi, e));117 phi = gRandom->Gaus(phi, fFormulaPhi->Eval(pt, eta , phi, e));115 eta = gRandom->Gaus(eta, fFormulaEta->Eval(pt, eta)); 116 phi = gRandom->Gaus(phi, fFormulaPhi->Eval(pt, eta)); 118 117 119 118 if(pt <= 0.0) continue;
Note:
See TracChangeset
for help on using the changeset viewer.