- Timestamp:
- Mar 1, 2021, 3:59:56 PM (4 years ago)
- Branches:
- master
- Children:
- 3f8466a
- Parents:
- 601a13b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TrackCovariance.cc
r601a13b r7143a0e 100 100 void TrackCovariance::Process() 101 101 { 102 Candidate *candidate, *mother ;102 Candidate *candidate, *mother, *particle; 103 103 Double_t mass, p, pt, q, ct; 104 104 Double_t dd0, ddz, dphi, dct, dp, dpt, dC; … … 110 110 111 111 // converting to meters 112 const TLorentzVector &candidatePosition = candidate->InitialPosition*1e-03; 113 const TLorentzVector &candidateMomentum = candidate->Momentum; 112 //const TLorentzVector &candidatePosition = candidate->InitialPosition*1e-03; 113 //const TLorentzVector &candidateMomentum = candidate->Momentum; 114 115 particle = static_cast<Candidate *>(candidate->GetCandidates()->At(0)); 116 117 const TLorentzVector &candidatePosition = particle->Position*1e-03; 118 const TLorentzVector &candidateMomentum = particle->Momentum; 114 119 115 120 if ( !fCovariance->IsAccepted(candidateMomentum.Vect()) ) continue;
Note:
See TracChangeset
for help on using the changeset viewer.