Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/MomentumSmearing.cc

    r95aa610 rcab38f6  
    9696{
    9797  Candidate *candidate, *mother;
    98   Double_t pt, eta, phi, e;
     98  Double_t pt, eta, phi;
    9999
    100100  fItInputArray->Reset();
     
    106106    phi = candidatePosition.Phi();
    107107    pt = candidateMomentum.Pt();
    108     e = candidateMomentum.E();
    109108
    110109    // apply smearing formula
    111     pt = gRandom->Gaus(pt, fFormula->Eval(pt, eta, phi, e) * pt);
     110    pt = gRandom->Gaus(pt, fFormula->Eval(pt, eta) * pt);
    112111   
    113112    if(pt <= 0.0) continue;
Note: See TracChangeset for help on using the changeset viewer.