StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTinyRcTrack.cxx
Go to the documentation of this file.
1 
11 #include "StTinyRcTrack.h"
12 #include "TString.h"
13 #include "Stiostream.h"
14 ClassImp(StTinyRcTrack);
15 
16 StTinyRcTrack::StTinyRcTrack() {memset(&mIsValidGl, 0, &mIsValidPr-&mIsValidGl);}
17 void StTinyRcTrack::Print(Option_t *option) const {
18  if (TString(option).Contains("desc",TString::kIgnoreCase))
19  cout << Form(" V pT pZ eta phi Dca DcaXY DcaZ Flag Tpc Svt Ssd Ftpc All Ass Pos") << endl;
20  else {
21  if (mIsValidGl)
22 // 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",
23  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",
24  (int) mIsValidGl, mPtGl, mPzGl, mEtaGl, mPhiGl, mDcaGl, mDcaXYGl,mDcaZGl,
25  mFlag, mFitPts, mFitSvt, mFitSsd, mFitFtpc, mAllPts, mNAssocMc, mNPossible, mEmcSoftIdHiTowerRc[0],mEmcTowerAdc[0], mEmcEnergyRcHit[0] ) << endl;
26  if (mIsValidPr)
27  cout << Form("Pr%2i%8.3f%8.3f%8.3f%8.3f%8.3f%8.3f%8.3f",
28  (int) mIsValidPr, mPtPr, mPzPr, mEtaPr, mPhiPr, mDcaPr, mDcaXYPr,mDcaZPr) << endl;
29  }
30 }
31 //________________________________________________________________________________
32 //
33 // $Log: StTinyRcTrack.cxx,v $
34 // Revision 1.5 2010/08/02 20:14:16 perev
35 // Format fix, thanks to Hiroshi
36 //
37 // Revision 1.4 2007/12/22 20:37:53 calderon
38 // Added EMC information to tracks. MC info obtained from StMcTrack, Rec Info
39 // obtained from track extrapolation to BEMC of rec track.
40 //
41 // Revision 1.3 2007/02/23 17:07:01 fisyak
42 // Add Ssd and DCA
43 //
44 // Revision 1.2 2002/06/06 18:58:29 calderon
45 // Added $Log: StTinyRcTrack.cxx,v $
46 // Added Revision 1.5 2010/08/02 20:14:16 perev
47 // Added Format fix, thanks to Hiroshi
48 // Added
49 // Added Revision 1.4 2007/12/22 20:37:53 calderon
50 // Added Added EMC information to tracks. MC info obtained from StMcTrack, Rec Info
51 // Added obtained from track extrapolation to BEMC of rec track.
52 // Added
53 // Added Revision 1.3 2007/02/23 17:07:01 fisyak
54 // Added Add Ssd and DCA
55 // Added
56 // Added mDedxPts data member, get and set methods, and updated ClassDef(StTinyRcTrack,1)
57 // to ClassDef(StTinyRcTrack,2) because of this change for schema evolution
58 //
59 // Revision 1.1 2002/05/30 01:20:58 calderon
60 // Classes for use in a general framework for extracting efficiencies
61 // from both embedding and full simulations
62 // (after GSTAR+TRS+StEvent+StMcEvent+StAssociationMaker)
63 // so that the information of the track matches gets stored persistently.
64 //
65 //
Persistent RC track class.