24 #include "StTofMCInfo.h"
26 static const char rcsid[] =
"$Id: StTofMCInfo.cxx,v 2.3 2003/09/02 17:58:06 perev Exp $";
31 : mTrkId(0), mGId(0), mNHits(0), mNPhe(0), mDe(0), mPTot(0),
32 mDs(0), mSLength(0), mPmLength(0), mTof(0), mTime(0), mMTime(0),
35 StTofMCInfo::StTofMCInfo(
int trkId,
int gId,
int nHits,
36 float de,
int nPhe,
float pTot,
37 float ds,
float sLength,
float pmLenght,
38 float tof,
float time,
float mTime,
40 : mTrkId(trkId), mGId(gId), mNHits(nHits), mNPhe(nPhe),
41 mDe(de), mPTot(pTot), mDs(ds), mSLength(sLength),
42 mPmLength(pmLenght), mTof(tof), mTime(time), mMTime(mTime),
45 ostream& operator<<(ostream& os,
const StTofMCInfo& MCInfo)
47 return (os <<
" trkId= " << MCInfo.mTrkId <<
", gId= " << MCInfo.mGId
48 <<
", nHits= " << MCInfo.mNHits <<
", nPhe= " << MCInfo.mNPhe
49 <<
", tof: " << MCInfo.mTof);