67 #include "StThreeVectorF.hh"
69 #include "StMcFtpcHit.hh"
71 static const char rcsid[] =
"$Id: StMcFtpcHit.cc,v 2.15 2011/10/17 00:24:00 fisyak Exp $";
75 ostream& operator<<(ostream& os,
const StMcFtpcHit& h)
77 os <<
"FtpcHit" << endl;
79 os <<
"Plane : " << h.plane() << endl;
80 os <<
"Sector : " << h.sector() << endl;;
85 StMcFtpcHit::plane()
const
87 if (mVolumeId<1000)
return (mVolumeId/100 - 1)*10 + (mVolumeId)%100;
92 return (mVolumeId/1000 - 1)*10 + (mVolumeId/10)%100;
96 StMcFtpcHit::sector()
const
98 if (mVolumeId < 1000)
return 99999;
104 void StMcFtpcHit::Print(Option_t *option)
const {
107 cout <<
"\tPlane:" << plane()
108 <<
" Sector:" << sector();