50 #include "StGlobalTrack.h"
52 #include "StDcaGeometry.h"
56 static const
char rcsid[] = "$Id:
StGlobalTrack.cxx,v 2.13 2013/07/23 11:21:49 jeromel Exp $";
60 if (track.mDcaGeometry) mDcaGeometry =
new StDcaGeometry(*(track.mDcaGeometry));
66 delete mDcaGeometry; mDcaGeometry=0;
67 static_cast<StTrack&
>(*this) = track;
68 if (track.mDcaGeometry) mDcaGeometry =
new StDcaGeometry(*(track.mDcaGeometry));
73 ostream& operator<<(ostream& os,
const StGlobalTrack& track) {
76 if (dca) os <<
" " << *dca;
77 os << Form(
" NF %2d chi2 %8.3g", track.fitTraits().numberOfFitPoints(),track.fitTraits().chi2(0));
80 os << Form(
" IdT: %4i Q: %4i", track.idTruth(), track.qaTruth());