Fork me on GitHub

Changeset 3cd4c6e in git for modules/TrackCovariance.cc


Ignore:
Timestamp:
Nov 26, 2020, 3:49:23 PM (4 years ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
eee976c2
Parents:
8dd735c (diff), ae5b7b7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Aleksander Filip Żarnecki <zarnecki@…> (11/26/20 15:49:23)
git-committer:
GitHub <noreply@…> (11/26/20 15:49:23)
Message:

Merge pull request #3 from delphes/master

Update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TrackCovariance.cc

    r8dd735c r3cd4c6e  
    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.