Fork me on GitHub

Changeset ae5b7b7 in git for modules


Ignore:
Timestamp:
Nov 4, 2020, 8:53:09 AM (4 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
master
Children:
3cd4c6e, 86109dd
Parents:
be1a3be
Message:

fixed curvature unit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TrackCovariance.cc

    rbe1a3be rae5b7b7  
    133133    candidate->D0       = track.GetObsPar()[0]*1e03;
    134134    candidate->Phi      = track.GetObsPar()[1];
    135     candidate->C        = track.GetObsPar()[2]*1e03;
     135
     136    // inverse of curvature
     137    candidate->C        = track.GetObsPar()[2]*1e-03;
    136138    candidate->DZ       = track.GetObsPar()[3]*1e03;
    137139    candidate->CtgTheta = track.GetObsPar()[4];
     
    146148    dpt       = 2 * TMath::Sqrt( track.GetCov()(2, 2))*pt*pt / (0.2998*fBz);
    147149    dp        = TMath::Sqrt((1.+ct*ct)*dpt*dpt + 4*pt*pt*ct*ct*dct*dct/(1.+ct*ct)/(1.+ct*ct));
    148     dC        = TMath::Sqrt(track.GetCov()(2, 2))*1e03;
     150    dC        = TMath::Sqrt(track.GetCov()(2, 2))*1e-03;
    149151
    150152    candidate->ErrorD0 = dd0;
Note: See TracChangeset for help on using the changeset viewer.