Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TreeWriter.cc

    r2671df6 rc614dd7  
    348348
    349349    entry->D0 = candidate->D0;
     350    entry->ErrorD0 = candidate->ErrorD0;
    350351    entry->DZ = candidate->DZ;
     352    entry->ErrorDZ = candidate->ErrorDZ;
    351353
    352354    entry->ErrorP = candidate->ErrorP;
    353355    entry->ErrorPT = candidate->ErrorPT;
    354 
    355     // diagonal covariance matrix terms
    356     entry->ErrorD0 = candidate->ErrorD0;
    357     entry->ErrorC = candidate->ErrorC;
     356    entry->ErrorCtgTheta = candidate->ErrorCtgTheta;
    358357    entry->ErrorPhi = candidate->ErrorPhi;
    359     entry->ErrorDZ = candidate->ErrorDZ;
    360     entry->ErrorCtgTheta = candidate->ErrorCtgTheta;
    361 
    362     // add some offdiagonal covariance matrix elements
    363     entry->ErrorD0Phi          = candidate->TrackCovariance(0,1);
    364     entry->ErrorD0C            = candidate->TrackCovariance(0,2);
    365     entry->ErrorD0DZ           = candidate->TrackCovariance(0,3);
    366     entry->ErrorD0CtgTheta     = candidate->TrackCovariance(0,4);
    367     entry->ErrorPhiC           = candidate->TrackCovariance(1,2);
    368     entry->ErrorPhiDZ          = candidate->TrackCovariance(1,3);
    369     entry->ErrorPhiCtgTheta    = candidate->TrackCovariance(1,4);
    370     entry->ErrorCDZ            = candidate->TrackCovariance(2,3);
    371     entry->ErrorCCtgTheta      = candidate->TrackCovariance(2,4);
    372     entry->ErrorDZCtgTheta     = candidate->TrackCovariance(3,4);
    373358
    374359    entry->Xd = candidate->Xd;
     
    497482
    498483    entry->D0 = candidate->D0;
     484    entry->ErrorD0 = candidate->ErrorD0;
    499485    entry->DZ = candidate->DZ;
     486    entry->ErrorDZ = candidate->ErrorDZ;
    500487
    501488    entry->ErrorP = candidate->ErrorP;
    502489    entry->ErrorPT = candidate->ErrorPT;
    503490    entry->ErrorCtgTheta = candidate->ErrorCtgTheta;
    504 
    505 
    506     // diagonal covariance matrix terms
    507 
    508     entry->ErrorD0 = candidate->ErrorD0;
    509     entry->ErrorC = candidate->ErrorC;
    510491    entry->ErrorPhi = candidate->ErrorPhi;
    511     entry->ErrorDZ = candidate->ErrorDZ;
    512     entry->ErrorCtgTheta = candidate->ErrorCtgTheta;
    513 
    514     // add some offdiagonal covariance matrix elements
    515     entry->ErrorD0Phi          = candidate->TrackCovariance(0,1);
    516     entry->ErrorD0C            = candidate->TrackCovariance(0,2);
    517     entry->ErrorD0DZ           = candidate->TrackCovariance(0,3);
    518     entry->ErrorD0CtgTheta     = candidate->TrackCovariance(0,4);
    519     entry->ErrorPhiC           = candidate->TrackCovariance(1,2);
    520     entry->ErrorPhiDZ          = candidate->TrackCovariance(1,3);
    521     entry->ErrorPhiCtgTheta    = candidate->TrackCovariance(1,4);
    522     entry->ErrorCDZ            = candidate->TrackCovariance(2,3);
    523     entry->ErrorCCtgTheta      = candidate->TrackCovariance(2,4);
    524     entry->ErrorDZCtgTheta     = candidate->TrackCovariance(3,4);
    525 
    526     cout<<entry->ErrorPhiC<<endl;
    527492
    528493    entry->Xd = candidate->Xd;
Note: See TracChangeset for help on using the changeset viewer.