- Timestamp:
- May 18, 2016, 11:24:39 AM (9 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 786028a
- Parents:
- 2600216
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/ParticlePropagator.cc
r2600216 r3f7ef54 212 212 candidate = static_cast<Candidate*>(candidate->Clone()); 213 213 214 candidate->InitialPosition = candidatePosition; 214 215 candidate->Position.SetXYZT(x_t*1.0E3, y_t*1.0E3, z_t*1.0E3, candidatePosition.T() + t*e*1.0E3); 215 216 candidate->L = l*1.0E3; … … 280 281 281 282 d0 = ( (x - bsx) * py - (y - bsy) * px) / pt; 282 dz = z - ((x - bsx) * px + ( py - bsy) * py) / pt * (pz / pt);283 dz = z - ((x - bsx) * px + (y - bsy) * py) / pt * (pz / pt); 283 284 p = candidateMomentum.P(); 284 285 ctgTheta = 1.0 / TMath::Tan (candidateMomentum.Theta ()); … … 350 351 candidate = static_cast<Candidate*>(candidate->Clone()); 351 352 353 candidate->InitialPosition = candidatePosition; 352 354 candidate->Position.SetXYZT(x_t*1.0E3, y_t*1.0E3, z_t*1.0E3, candidatePosition.T() + t*c_light*1.0E3); 353 355
Note:
See TracChangeset
for help on using the changeset viewer.