Fork me on GitHub

Changeset acd0621 in git for modules/ParticlePropagator.cc


Ignore:
Timestamp:
May 4, 2016, 5:29:47 PM (8 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
0e2f49b
Parents:
76c2a3b
Message:

including tracking variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/ParticlePropagator.cc

    r76c2a3b racd0621  
    283283      p         = candidateMomentum.P();
    284284      ctgTheta  = 1.0 / TMath::Tan (candidateMomentum.Theta ());
    285          
     285          
    286286      // 3. time evaluation t = TMath::Min(t_r, t_z)
    287287      //    t_r : time to exit from the sides
     
    337337      if(r_t > 0.0)
    338338      {
     339       
     340        // store these variables before cloning
     341           
     342        candidate->D0 = d0*1.0E3;
     343        candidate->DZ = dz*1.0E3;
     344        candidate->P  = p;
     345        candidate->PT = pt;
     346        candidate->CtgTheta = ctgTheta;
     347        candidate->Phi = phip;
     348     
    339349        mother = candidate;
    340350        candidate = static_cast<Candidate*>(candidate->Clone());
     
    344354        candidate->Momentum = candidateMomentum;
    345355       
    346         candidate->L =  l*1.0E3;
    347         candidate->D0 = d0*1.0E3;
    348         candidate->DZ = dz*1.0E3;
    349         candidate->P = p;
    350         candidate->PT = pt;
    351         candidate->CtgTheta = ctgTheta;
    352         candidate->Phi = phi;
    353 
    354         candidate->Xd = xd*1.0E3;
     356            candidate->L  =  l*1.0E3;
     357       
     358            candidate->Xd = xd*1.0E3;
    355359        candidate->Yd = yd*1.0E3;
    356360        candidate->Zd = zd*1.0E3;
Note: See TracChangeset for help on using the changeset viewer.