Fork me on GitHub

Changeset 9c1d14a in git for modules


Ignore:
Timestamp:
Jan 17, 2020, 12:00:56 PM (5 years ago)
Author:
GitHub <noreply@…>
Branches:
Timing
Children:
af6ce6a
Parents:
83ee320
git-author:
Michele Selvaggi <michele.selvaggi@…> (01/17/20 12:00:56)
git-committer:
GitHub <noreply@…> (01/17/20 12:00:56)
Message:

Revert "Llp"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/Efficiency.cc

    r83ee320 r9c1d14a  
    9595{
    9696  Candidate *candidate;
    97   Double_t pt, eta, phi, e, r, z, d0, dz, ctgTheta;
     97  Double_t pt, eta, phi, e, d0, dz, ctgTheta;
    9898
    9999  fItInputArray->Reset();
     
    102102    const TLorentzVector &candidatePosition = candidate->Position;
    103103    const TLorentzVector &candidateMomentum = candidate->Momentum;
    104     r = candidatePosition.Perp();
    105     z = candidatePosition.Z();
    106104    eta = candidatePosition.Eta();
    107105    phi = candidatePosition.Phi();
     
    113111
    114112    // apply an efficency formula
    115     if(gRandom->Uniform() > fFormula->Eval(pt, eta, phi, e, r, z, d0, dz, ctgTheta)) continue;
     113    if(gRandom->Uniform() > fFormula->Eval(pt, eta, phi, e, d0, dz, ctgTheta)) continue;
    116114
    117115    fOutputArray->Add(candidate);
Note: See TracChangeset for help on using the changeset viewer.