Changeset 80d4a34 in git for classes/DelphesSTDHEPReader.cc
- Timestamp:
- Jul 8, 2013, 9:27:21 PM (11 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- bba4646
- Parents:
- 47bd664
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/DelphesSTDHEPReader.cc
r47bd664 r80d4a34 415 415 int number; 416 416 int pid, status, m1, m2, d1, d2; 417 double px, py, pz, e, m ;417 double px, py, pz, e, mass; 418 418 double x, y, z, t; 419 419 … … 439 439 xdr_double(&bufferXDR[4], &pz); 440 440 xdr_double(&bufferXDR[4], &e); 441 xdr_double(&bufferXDR[4], &m );441 xdr_double(&bufferXDR[4], &mass); 442 442 443 443 xdr_double(&bufferXDR[5], &x); … … 461 461 pdgParticle = fPDG->GetParticle(pid); 462 462 candidate->Charge = pdgParticle ? int(pdgParticle->Charge()/3.0) : -999; 463 candidate->Mass = pdgParticle ? pdgParticle->Mass() : -999.9;463 candidate->Mass = mass; 464 464 465 465 candidate->Momentum.SetPxPyPzE(px, py, pz, e);
Note:
See TracChangeset
for help on using the changeset viewer.