18 #ifndef _ST_SIMPLE_HIT_H_
19 #define _ST_SIMPLE_HIT_H_
31 typedef std::vector< StSimpleHit_t > StSimpleHitVec_t;
37 StSimpleHit_t( Short_t
ID = -1 ) : mID(
ID ), mX( 0 ), mY( 0 ), mZ( 0 ), mE( 0 ){ };
43 Short_t getID()
const {
return mID; };
44 Float_t getEnergy()
const {
return mE; };
45 Float_t getX()
const {
return mX; };
46 Float_t getY()
const {
return mY; };
47 Float_t getZ()
const {
return mZ; };
48 TVector3 getPosition()
const {
return TVector3( mX, mY, mZ ); };
51 void setID(
const Short_t
ID ) { mID = ID; };
52 void setEnergy(
const Float_t E ) { mE = E; };
53 void setX(
const Float_t X ) { mX = X; };
54 void setY(
const Float_t Y ) { mY = Y; };
55 void setZ(
const Float_t Z ) { mZ = Z; };
57 friend std::ostream &operator<<( std::ostream &out,
const StSimpleHit_t &clus );
61 Float_t mX, mY, mZ, mE;