Fork me on GitHub

Ignore:
Timestamp:
Aug 13, 2013, 5:34:45 PM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
1bc4f38
Parents:
e26d4d6
Message:

fix time in ParticlePropagator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/ParticlePropagator.cc

    re26d4d6 rca55e0b8  
    170170      candidate = static_cast<Candidate*>(candidate->Clone());
    171171
    172       candidate->Position.SetXYZT(x_t*1.0E3, y_t*1.0E3, z_t*1.0E3, 0.0);
     172      candidate->Position.SetXYZT(x_t*1.0E3, y_t*1.0E3, z_t*1.0E3, candidatePosition.T() + t);
    173173
    174174      candidate->Momentum = candidateMomentum;
     
    264264        candidate = static_cast<Candidate*>(candidate->Clone());
    265265
    266         candidate->Position.SetXYZT(x_t*1.0E3, y_t*1.0E3, z_t*1.0E3, 0.0);
     266        candidate->Position.SetXYZT(x_t*1.0E3, y_t*1.0E3, z_t*1.0E3, candidatePosition.T() + t);
    267267
    268268        candidate->Momentum = candidateMomentum;
Note: See TracChangeset for help on using the changeset viewer.