20 #ifndef STMUETOFDIGI_H
21 #define STMUETOFDIGI_H
46 const unsigned int strip,
const unsigned int side,
47 const double& time,
const double& tot );
58 const double& time,
const double& tot );
117 unsigned int sector()
const;
121 unsigned int zPlane()
const;
129 unsigned int strip()
const;
133 unsigned int chan()
const;
137 unsigned int side()
const;
143 unsigned int elChan()
const;
147 unsigned int get4Id()
const;
151 unsigned int rocId()
const;
166 int compare(
const TObject* obj )
const;
171 void setGeoAddress(
const unsigned int iSector,
const unsigned int iZPlane,
const unsigned int iCounter,
172 const unsigned int iChannel,
const unsigned int iSide );
173 void setHwAddress(
const unsigned int iRocId,
const unsigned int iGet4Id,
const unsigned int iElChan );
175 void setRawTime(
const double& time );
176 void setRawTot(
const double& tot );
177 void setCalibTime(
const double& time );
178 void setCalibTot(
const double& tot );
180 void setAssociatedHitId(
const int&
id );
199 Int_t mAssociatedHitId;
224 inline void StMuETofDigi::setRawTime(
const double& time ) { mRawTime = time; };
225 inline void StMuETofDigi::setRawTot(
const double& tot ) { mRawTot = tot; };
226 inline void StMuETofDigi::setCalibTime(
const double& time ) { mCalibTime = time; };
227 inline void StMuETofDigi::setCalibTot(
const double& tot ) { mCalibTot = tot; };
229 inline void StMuETofDigi::setAssociatedHitId(
const int&
id ) { mAssociatedHitId = id; };
232 #endif // STMUETOFDIGI_H
int associatedHitId() const
StMuETofDigi()
Default constructor.
unsigned int sector() const
Sector.
unsigned int chan() const
Alias for strip.
double rawCharge() const
Alias for GetRawTot.
unsigned int side() const
Side.
unsigned int rocId() const
RocId.
unsigned int strip() const
Strip.
unsigned int elChan() const
electronic Channel.
unsigned int get4Id() const
get4Id.
double rawTot() const
Getter for uncalibrated Tot.
unsigned int zPlane() const
ZPlane.
double calibTime() const
calibrated time
double calibCharge() const
Alias for GetRawTot.
~StMuETofDigi()
Destructor.
void setGeoAddress(const unsigned int iSector, const unsigned int iZPlane, const unsigned int iCounter, const unsigned int iChannel, const unsigned int iSide)
double calibTot() const
Getter for calibrated Tot.
unsigned int counter() const
Counter.
bool operator<(const StMuETofDigi &rhs) const
Sorting using the time, assumes Digis are in same reference frame (e.g. same epoch).
double rawTime() const
Raw Time.