Fork me on GitHub

Changeset 9fb48ad in git


Ignore:
Timestamp:
Jun 2, 2016, 3:38:12 PM (8 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
7bcca65
Parents:
6fbd089
Message:

smear initial instead of final position

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TimeSmearing.cc

    r6fbd089 r9fb48ad  
    9999  while((candidate = static_cast<Candidate*>(fItInputArray->Next())))
    100100  {
    101     const TLorentzVector &candidatePosition = candidate->Position;
     101    const TLorentzVector &candidatePosition = candidate->InitialPosition;
    102102    t = candidatePosition.T()*1.0E-3/c_light;
    103103
     
    107107    mother = candidate;
    108108    candidate = static_cast<Candidate*>(candidate->Clone());
    109     candidate->Position.SetT(t*1.0E3*c_light);
     109    candidate->InitialPosition.SetT(t*1.0E3*c_light);
    110110    candidate->ErrorT = fTimeResolution*1.0E3*c_light;
    111111
Note: See TracChangeset for help on using the changeset viewer.