Fork me on GitHub

Changeset 1190 in svn for trunk/readers


Ignore:
Timestamp:
Jul 8, 2013, 10:41:08 PM (11 years ago)
Author:
Pavel Demin
Message:

use mass from input file

Location:
trunk/readers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/readers/DelphesCMSFWLite.cpp

    r1189 r1190  
    9191    pdgParticle = pdg->GetParticle(pid);
    9292    candidate->Charge = pdgParticle ? Int_t(pdgParticle->Charge()/3.0) : -999;
    93     candidate->Mass = pdgParticle ? pdgParticle->Mass() : -999.9;
     93    candidate->Mass = mass;
    9494
    9595    candidate->Momentum.SetPxPyPzE(px, py, pz, e);
  • trunk/readers/DelphesPythia8.cpp

    r1189 r1190  
    9595    pdgParticle = pdg->GetParticle(pid);
    9696    candidate->Charge = pdgParticle ? Int_t(pdgParticle->Charge()/3.0) : -999;
    97     candidate->Mass = pdgParticle ? pdgParticle->Mass() : -999.9;
     97    candidate->Mass = mass;
    9898
    9999    candidate->Momentum.SetPxPyPzE(px, py, pz, e);
Note: See TracChangeset for help on using the changeset viewer.