- Timestamp:
- May 17, 2021, 5:17:50 PM (4 years ago)
- Branches:
- master
- Children:
- 04e2040
- Parents:
- d248604
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TimeOfFlight.cc
rd248604 ra52e99e 110 110 111 111 const TLorentzVector &candidateInitialPosition = particle->Position; 112 const TLorentzVector &candidateInitialPositionSmeared = candidate->InitialPosition; 112 113 const TLorentzVector &candidateFinalPosition = candidate->Position; 113 114 const TLorentzVector &candidateMomentum = particle->Momentum; … … 158 159 159 160 // track displacement to be possibily replaced by vertex fitted position 160 ti = candidate ->Position.Vect().Mag() * 1.0E-3 /(beta*c_light);161 ti = candidateInitialPositionSmeared.Vect().Mag() * 1.0E-3 /(beta*c_light); 161 162 } 162 163 break; … … 164 165 165 166 166 ti = ti - t_truth;167 //ti = ti - t_truth; 167 168 168 169 p = candidateMomentum.P();
Note:
See TracChangeset
for help on using the changeset viewer.