Changeset 786028a in git
- Timestamp:
- May 18, 2016, 11:25:23 AM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 641cb3d
- Parents:
- 3f7ef54
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TrackSmearing.cc
r3f7ef54 r786028a 166 166 *phiErrorHist = NULL; 167 167 168 //cout<<fBeamSpotInputArray->GetSize ()<<endl;169 168 if (!fBeamSpotInputArray || fBeamSpotInputArray->GetSize () == 0) 170 169 beamSpotPosition.SetXYZT(0.0, 0.0, 0.0, 0.0); … … 175 174 } 176 175 177 178 176 if (!fUseD0Formula) 179 177 { … … 224 222 d0 = trueD0 = candidate->D0; 225 223 dz = trueDZ = candidate->DZ; 224 226 225 p = trueP = candidate->P; 227 226 ctgTheta = trueCtgTheta = candidate->CtgTheta; … … 352 351 y = candidate->InitialPosition.Y (); 353 352 candidate->InitialPosition.SetZ (z + ((pz * (px * (x - beamSpotPosition.X ()) + py * (y - beamSpotPosition.Y ())) + pt * pt * (dz - z)) / (pt * pt))); 353 354 354 355 candidate->InitialPosition.SetT (t); 355 356 356 357 if (fApplyToPileUp || !candidate->IsPU) 357 358 { … … 362 363 candidate->ErrorPhi = phiError; 363 364 candidate->ErrorPT = ptError (p, ctgTheta, pError, ctgThetaError); 364 candidate->TrackResolution = pError ;365 candidate->TrackResolution = pError/p; 365 366 } 366 367
Note:
See TracChangeset
for help on using the changeset viewer.