Fork me on GitHub

Changeset 3f7ef54 in git for modules/ParticlePropagator.cc


Ignore:
Timestamp:
May 18, 2016, 11:24:39 AM (8 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
786028a
Parents:
2600216
Message:

fixed typo in dZ formula

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/ParticlePropagator.cc

    r2600216 r3f7ef54  
    212212      candidate = static_cast<Candidate*>(candidate->Clone());
    213213
     214      candidate->InitialPosition = candidatePosition;
    214215      candidate->Position.SetXYZT(x_t*1.0E3, y_t*1.0E3, z_t*1.0E3, candidatePosition.T() + t*e*1.0E3);
    215216      candidate->L = l*1.0E3;
     
    280281       
    281282      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);
    283284      p         = candidateMomentum.P();
    284285      ctgTheta  = 1.0 / TMath::Tan (candidateMomentum.Theta ());
     
    350351        candidate = static_cast<Candidate*>(candidate->Clone());
    351352
     353        candidate->InitialPosition = candidatePosition;
    352354        candidate->Position.SetXYZT(x_t*1.0E3, y_t*1.0E3, z_t*1.0E3, candidatePosition.T() + t*c_light*1.0E3);
    353355
Note: See TracChangeset for help on using the changeset viewer.