20 #include "StMuETofDigi.h"
21 #include "StETofDigi.h"
38 mAssociatedHitId( -1 )
45 const unsigned int strip,
const unsigned int side,
46 const double& time,
const double& tot )
59 mAssociatedHitId( -1 )
66 const double& time,
const double& tot )
79 mAssociatedHitId( -1 )
86 : mSector(digiIn.mSector),
87 mZPlane(digiIn.mZPlane),
88 mCounter(digiIn.mCounter),
89 mStrip(digiIn.mStrip),
91 mRocId(digiIn.mRocId),
92 mGet4Id(digiIn.mGet4Id),
93 mElChan(digiIn.mElChan),
94 mRawTime(digiIn.mRawTime),
95 mCalibTime(digiIn.mCalibTime),
96 mRawTot(digiIn.mRawTot),
97 mCalibTot(digiIn.mCalibTot),
98 mAssociatedHitId( digiIn.mAssociatedHitId )
105 : mSector( digiIn->sector() ),
106 mZPlane( digiIn->zPlane() ),
107 mCounter( digiIn->counter() ),
108 mStrip( digiIn->strip() ),
109 mSide( digiIn->side() ),
110 mRocId( digiIn->rocId() ),
111 mGet4Id( digiIn->get4Id() ),
112 mElChan( digiIn->elChan() ),
113 mRawTime( digiIn->rawTime() ),
114 mCalibTime( digiIn->calibTime() ),
115 mRawTot( digiIn->rawTot() ),
116 mCalibTot( digiIn->calibTot() ),
117 mAssociatedHitId( -1 )
124 : mSector( digiIn->sector() ),
125 mZPlane( digiIn->zPlane() ),
126 mCounter( digiIn->counter() ),
127 mStrip( digiIn->strip() ),
128 mSide( digiIn->side() ),
129 mRocId( digiIn->rocId() ),
130 mGet4Id( digiIn->get4Id() ),
131 mElChan( digiIn->elChan() ),
132 mRawTime( digiIn->rawTime() ),
133 mCalibTime( digiIn->calibTime() ),
134 mRawTot( digiIn->rawTot() ),
135 mCalibTot( digiIn->calibTot() ),
136 mAssociatedHitId( assocHitId )
158 StMuETofDigi::compare(
const TObject* obj )
const
171 else if( mCalibTime > digi->
calibTime() ) {
183 StMuETofDigi::setHwAddress(
const unsigned int iRocId,
const unsigned int iGet4Id,
const unsigned int iElChan )
193 const unsigned int iCounter,
const unsigned int iChannel,
const unsigned int iSide )
StMuETofDigi()
Default constructor.
double calibTime() const
calibrated time
~StMuETofDigi()
Destructor.
void setGeoAddress(const unsigned int iSector, const unsigned int iZPlane, const unsigned int iCounter, const unsigned int iChannel, const unsigned int iSide)
bool operator<(const StMuETofDigi &rhs) const
Sorting using the time, assumes Digis are in same reference frame (e.g. same epoch).