Fork me on GitHub

Changeset b750b0a in git for modules


Ignore:
Timestamp:
Jan 19, 2022, 10:11:39 AM (3 years ago)
Author:
Franco BEDESCHI <bed@…>
Branches:
master
Children:
78ce8d1, 7bca620
Parents:
bd376e3
Message:

Fix CovarianceMatrix scaling error. Vertexing improvements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TreeWriter.cc

    rbd376e3 rb750b0a  
    369369
    370370    // add some offdiagonal covariance matrix elements
    371     entry->ErrorD0Phi          = candidate->TrackCovariance(0,1);
     371    entry->ErrorD0Phi          = candidate->TrackCovariance(0,1)*1.e3;
    372372    entry->ErrorD0C            = candidate->TrackCovariance(0,2);
    373     entry->ErrorD0DZ           = candidate->TrackCovariance(0,3);
    374     entry->ErrorD0CtgTheta     = candidate->TrackCovariance(0,4);
    375     entry->ErrorPhiC           = candidate->TrackCovariance(1,2);
    376     entry->ErrorPhiDZ          = candidate->TrackCovariance(1,3);
     373    entry->ErrorD0DZ           = candidate->TrackCovariance(0,3)*1.e6;
     374    entry->ErrorD0CtgTheta     = candidate->TrackCovariance(0,4)*1.e3;
     375    entry->ErrorPhiC           = candidate->TrackCovariance(1,2)*1.e-3;
     376    entry->ErrorPhiDZ          = candidate->TrackCovariance(1,3)*1.e3;
    377377    entry->ErrorPhiCtgTheta    = candidate->TrackCovariance(1,4);
    378378    entry->ErrorCDZ            = candidate->TrackCovariance(2,3);
    379     entry->ErrorCCtgTheta      = candidate->TrackCovariance(2,4);
    380     entry->ErrorDZCtgTheta     = candidate->TrackCovariance(3,4);
     379    entry->ErrorCCtgTheta      = candidate->TrackCovariance(2,4)*1.e-3;
     380    entry->ErrorDZCtgTheta     = candidate->TrackCovariance(3,4)*1.e3;
    381381
    382382    entry->Xd = candidate->Xd;
Note: See TracChangeset for help on using the changeset viewer.