Changes in modules/TreeWriter.cc [c614dd7:2671df6] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/TreeWriter.cc
rc614dd7 r2671df6 348 348 349 349 entry->D0 = candidate->D0; 350 entry->ErrorD0 = candidate->ErrorD0;351 350 entry->DZ = candidate->DZ; 352 entry->ErrorDZ = candidate->ErrorDZ;353 351 354 352 entry->ErrorP = candidate->ErrorP; 355 353 entry->ErrorPT = candidate->ErrorPT; 354 355 // diagonal covariance matrix terms 356 entry->ErrorD0 = candidate->ErrorD0; 357 entry->ErrorC = candidate->ErrorC; 358 entry->ErrorPhi = candidate->ErrorPhi; 359 entry->ErrorDZ = candidate->ErrorDZ; 356 360 entry->ErrorCtgTheta = candidate->ErrorCtgTheta; 357 entry->ErrorPhi = candidate->ErrorPhi; 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); 358 373 359 374 entry->Xd = candidate->Xd; … … 482 497 483 498 entry->D0 = candidate->D0; 484 entry->ErrorD0 = candidate->ErrorD0;485 499 entry->DZ = candidate->DZ; 486 entry->ErrorDZ = candidate->ErrorDZ;487 500 488 501 entry->ErrorP = candidate->ErrorP; 489 502 entry->ErrorPT = candidate->ErrorPT; 490 503 entry->ErrorCtgTheta = candidate->ErrorCtgTheta; 504 505 506 // diagonal covariance matrix terms 507 508 entry->ErrorD0 = candidate->ErrorD0; 509 entry->ErrorC = candidate->ErrorC; 491 510 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; 492 527 493 528 entry->Xd = candidate->Xd;
Note:
See TracChangeset
for help on using the changeset viewer.