53 const unsigned int strip,
const unsigned int side,
54 const double& time,
const double& tot );
65 const double& time,
const double& tot );
111 unsigned int sector()
const;
115 unsigned int zPlane()
const;
123 unsigned int strip()
const;
127 unsigned int chan()
const;
131 unsigned int side()
const;
137 unsigned int elChan()
const;
141 unsigned int get4Id()
const;
145 unsigned int rocId()
const;
163 int compare(
const StObject* obj )
const;
168 void setGeoAddress(
const unsigned int iSector,
const unsigned int iZPlane,
const unsigned int iCounter,
169 const unsigned int iChannel,
const unsigned int iSide );
170 void setHwAddress(
const unsigned int iRocId,
const unsigned int iGet4Id,
const unsigned int iElChan );
172 void setRawTime(
const double& time );
173 void setRawTot(
const double& tot );
174 void setCalibTime(
const double& time );
175 void setCalibTot(
const double& tot );
202 ostream& operator << ( ostream&,
const StETofDigi& digi );
225 inline void StETofDigi::setRawTime(
const double& time ) { mRawTime = time; };
226 inline void StETofDigi::setRawTot(
const double& tot ) { mRawTot = tot; };
227 inline void StETofDigi::setCalibTime(
const double& time ) { mCalibTime = time; };
228 inline void StETofDigi::setCalibTot(
const double& tot ) { mCalibTot = tot; };
230 inline void StETofDigi::setAssociatedHit(
StETofHit*
hit ) { mAssociatedHit = hit; };
233 #endif // STETOFDIGI_H
double calibTime() const
calibrated time
StETofHit * associatedHit()
pointer to the hit which has been reconstructed from this digi
unsigned int zPlane() const
ZPlane.
unsigned int chan() const
Alias for strip.
unsigned int sector() const
Sector.
double rawCharge() const
Alias for GetRawTot.
double calibCharge() const
Alias for GetRawTot.
bool operator<(const StETofDigi &rhs) const
Sorting using the time, assumes Digis are in same reference frame (e.g. same epoch).
unsigned int strip() const
Strip.
double rawTime() const
Raw Time.
double rawTot() const
Getter for uncalibrated Tot.
unsigned int elChan() const
electronic Channel.
unsigned int get4Id() const
get4Id.
unsigned int counter() const
Counter.
StETofDigi()
Default constructor.
double calibTot() const
Getter for calibrated Tot.
unsigned int rocId() const
RocId.
unsigned int side() const
Side.
void setGeoAddress(const unsigned int iSector, const unsigned int iZPlane, const unsigned int iCounter, const unsigned int iChannel, const unsigned int iSide)