00001 00011 #include "StTinyRcTrack.h" 00012 #include "TString.h" 00013 #include "Stiostream.h" 00014 ClassImp(StTinyRcTrack); 00015 00016 StTinyRcTrack::StTinyRcTrack() {memset(&mIsValidGl, 0, &mIsValidPr-&mIsValidGl);} 00017 void StTinyRcTrack::Print(Option_t *option) const { 00018 if (TString(option).Contains("desc",TString::kIgnoreCase)) 00019 cout << Form(" V pT pZ eta phi Dca DcaXY DcaZ Flag Tpc Svt Ssd Ftpc All Ass Pos") << endl; 00020 else { 00021 if (mIsValidGl) 00022 // cout <<Form("Gl%2i%8.3f%8.3f%8.3f%8.3f%8.3f%8.3f%8.3f%5i%4i%4i%4i%4i%4i%4i%4i%4i%4i%4i%8.3f", 00023 cout <<Form("Gl%2i%8.3f%8.3f%8.3f%8.3f%8.3f%8.3f%8.3f%5i%4i%4i%4i%4i%4i%4i%4i%7i%7i%8.3f", 00024 (int) mIsValidGl, mPtGl, mPzGl, mEtaGl, mPhiGl, mDcaGl, mDcaXYGl,mDcaZGl, 00025 mFlag, mFitPts, mFitSvt, mFitSsd, mFitFtpc, mAllPts, mNAssocMc, mNPossible, mEmcSoftIdHiTowerRc[0],mEmcTowerAdc[0], mEmcEnergyRcHit[0] ) << endl; 00026 if (mIsValidPr) 00027 cout << Form("Pr%2i%8.3f%8.3f%8.3f%8.3f%8.3f%8.3f%8.3f", 00028 (int) mIsValidPr, mPtPr, mPzPr, mEtaPr, mPhiPr, mDcaPr, mDcaXYPr,mDcaZPr) << endl; 00029 } 00030 } 00031 //________________________________________________________________________________ 00032 // 00033 // $Log: StTinyRcTrack.cxx,v $ 00034 // Revision 1.5 2010/08/02 20:14:16 perev 00035 // Format fix, thanks to Hiroshi 00036 // 00037 // Revision 1.4 2007/12/22 20:37:53 calderon 00038 // Added EMC information to tracks. MC info obtained from StMcTrack, Rec Info 00039 // obtained from track extrapolation to BEMC of rec track. 00040 // 00041 // Revision 1.3 2007/02/23 17:07:01 fisyak 00042 // Add Ssd and DCA 00043 // 00044 // Revision 1.2 2002/06/06 18:58:29 calderon 00045 // Added $Log: StTinyRcTrack.cxx,v $ 00046 // Added Revision 1.5 2010/08/02 20:14:16 perev 00047 // Added Format fix, thanks to Hiroshi 00048 // Added 00049 // Added Revision 1.4 2007/12/22 20:37:53 calderon 00050 // Added Added EMC information to tracks. MC info obtained from StMcTrack, Rec Info 00051 // Added obtained from track extrapolation to BEMC of rec track. 00052 // Added 00053 // Added Revision 1.3 2007/02/23 17:07:01 fisyak 00054 // Added Add Ssd and DCA 00055 // Added 00056 // Added mDedxPts data member, get and set methods, and updated ClassDef(StTinyRcTrack,1) 00057 // to ClassDef(StTinyRcTrack,2) because of this change for schema evolution 00058 // 00059 // Revision 1.1 2002/05/30 01:20:58 calderon 00060 // Classes for use in a general framework for extracting efficiencies 00061 // from both embedding and full simulations 00062 // (after GSTAR+TRS+StEvent+StMcEvent+StAssociationMaker) 00063 // so that the information of the track matches gets stored persistently. 00064 // 00065 //
1.5.9