Fork me on GitHub

Changeset bba4646 in git for readers


Ignore:
Timestamp:
Jul 8, 2013, 10:41:08 PM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
a5b2012
Parents:
80d4a34
Message:

use mass from input file

Location:
readers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • readers/DelphesCMSFWLite.cpp

    r80d4a34 rbba4646  
    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);
  • readers/DelphesPythia8.cpp

    r80d4a34 rbba4646  
    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.