Fork me on GitHub

Ignore:
Timestamp:
Jul 8, 2013, 9:27:21 PM (11 years ago)
Author:
Pavel Demin
Message:

use mass from input file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/classes/DelphesHepMCReader.cc

    r1108 r1189  
    338338  pdgParticle = fPDG->GetParticle(fPID);
    339339  candidate->Charge = pdgParticle ? int(pdgParticle->Charge()/3.0) : -999;
    340   candidate->Mass = pdgParticle ? pdgParticle->Mass() : -999.9;
     340  candidate->Mass = fMass;
    341341
    342342  candidate->Momentum.SetPxPyPzE(fPx, fPy, fPz, fE);
Note: See TracChangeset for help on using the changeset viewer.