74 unsigned int sector()
const;
78 unsigned int zPlane()
const;
138 int compare(
const StObject* obj )
const;
143 void setHwAddress(
const unsigned int iSector,
const unsigned int iZPlane,
const unsigned int iCounter);
145 void setSector(
const unsigned int sector );
146 void setZPlane(
const unsigned int zPlane );
147 void setCounter(
const unsigned int counter );
149 void setTotalTot (
const double& tot );
150 void setTime (
const double& time );
152 void setClusterSize(
const unsigned int clustSize );
154 void setLocalX (
const double& X );
155 void setLocalY (
const double& Y );
158 void setAssociatedTrack(
StTrack* trk );
160 void setIdTruth(
unsigned short idtruth,
unsigned short qatruth=0 );
186 ostream& operator << ( ostream&,
const StETofHit&
hit );
207 inline void StETofHit::setSector(
const unsigned int sector ) { mSector =
sector; }
208 inline void StETofHit::setZPlane(
const unsigned int zPlane ) { mZPlane =
zPlane; }
209 inline void StETofHit::setCounter(
const unsigned int counter ) { mCounter =
counter; }
211 inline void StETofHit::setTotalTot (
const double& tot ) { mTotalTot = tot; }
212 inline void StETofHit::setTime (
const double& time ) { mTime =
time; }
214 inline void StETofHit::setClusterSize(
const unsigned int clustSize ) { mClusterSize = clustSize; }
216 inline void StETofHit::setLocalX (
const double& X ) { mLocalX = X; }
217 inline void StETofHit::setLocalY (
const double& Y ) { mLocalY = Y; }
219 inline void StETofHit::setAssociatedTrack(
StTrack* trk ) { mAssociatedTrack = trk; }
222 #endif // STETOFHIT_H
unsigned int qaTruth() const
quality of this information (percentage of charge produced by mIdTruth)
double time() const
Time.
unsigned int clusterSize() const
Cluster size.
void setHwAddress(const unsigned int iSector, const unsigned int iZPlane, const unsigned int iCounter)
unsigned int counter() const
Counter.
StETofHit()
Default constructor.
StTrack * associatedTrack()
pointer to the track which has been matched to this hit
bool operator<(const StETofHit &rhs) const
Sorting using the time, assumes Digis are in same reference frame (e.g. same epoch).
unsigned int zPlane() const
ZPlane.
double localX() const
X-position.
unsigned int idTruth() const
mc-true associated track id in simulation
double totalTot() const
Total Tot.
double localY() const
Y-position.
unsigned int sector() const
Sector.