Fork me on GitHub

Changeset 7c5b8f3 in git for modules/AngularSmearing.cc


Ignore:
Timestamp:
Mar 27, 2020, 9:21:22 AM (5 years ago)
Author:
GitHub <noreply@…>
Branches:
ImprovedOutputFile, master
Children:
354b7f3
Parents:
288a5fc (diff), 36fb740 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Pavel Demin <pavel-demin@…> (03/27/20 09:21:22)
git-committer:
GitHub <noreply@…> (03/27/20 09:21:22)
Message:

Merge pull request #71 from preghenella/rdev

Radius and particle-density dependence of formula parameterisations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/AngularSmearing.cc

    r288a5fc r7c5b8f3  
    112112    // apply smearing formula for eta,phi
    113113
    114     eta = gRandom->Gaus(eta, fFormulaEta->Eval(pt, eta, phi, e));
    115     phi = gRandom->Gaus(phi, fFormulaPhi->Eval(pt, eta, phi, e));
     114    eta = gRandom->Gaus(eta, fFormulaEta->Eval(pt, eta, phi, e, candidate));
     115    phi = gRandom->Gaus(phi, fFormulaPhi->Eval(pt, eta, phi, e, candidate));
    116116
    117117    if(pt <= 0.0) continue;
Note: See TracChangeset for help on using the changeset viewer.