Fork me on GitHub

Changeset c4b2aae in git


Ignore:
Timestamp:
Oct 7, 2015, 2:51:00 PM (9 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
e2dd4c5
Parents:
934d037
Message:

fixed TrackResolution in EnergySmearing module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/EnergySmearing.cc

    r934d037 rc4b2aae  
    119119    phi = candidateMomentum.Phi();
    120120    candidate->Momentum.SetPtEtaPhiE(energy/TMath::CosH(eta), eta, phi, energy);
    121     candidate->TrackResolution = fFormula->Eval(pt, eta, phi, energy)/energy;
     121    candidate->TrackResolution = fFormula->Eval(pt, eta, phi, energy)/candidateMomentum.E();
    122122    candidate->AddCandidate(mother);
    123123 
Note: See TracChangeset for help on using the changeset viewer.