Changeset 1247 in svn for trunk/readers
- Timestamp:
- Aug 13, 2013, 5:28:49 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/readers/DelphesProMC.cpp
r1189 r1247 54 54 Int_t pid, status; 55 55 Double_t px, py, pz, mass; 56 Double_t x, y, z ;56 Double_t x, y, z, t; 57 57 58 58 pdg = TDatabasePDG::Instance(); … … 90 90 status = mutableParticles->status(i); 91 91 px = mutableParticles->px(i); py = mutableParticles->py(i); pz = mutableParticles->pz(i); mass = mutableParticles->mass(i); 92 x = mutableParticles->x(i); y = mutableParticles->y(i); z = mutableParticles->z(i); 92 x = mutableParticles->x(i); y = mutableParticles->y(i); z = mutableParticles->z(i); t = mutableParticles->t(i); 93 93 94 94 candidate = factory->NewCandidate(); … … 111 111 candidate->Momentum.SetXYZM(px, py, pz, mass); 112 112 113 candidate->Position.SetXYZT(x, y, z, 0.0);113 candidate->Position.SetXYZT(x, y, z, t); 114 114 115 115 allParticleOutputArray->Add(candidate);
Note:
See TracChangeset
for help on using the changeset viewer.