8 #ifndef StPicoETofHit_h
9 #define StPicoETofHit_h
30 virtual void Print(
const Char_t* option =
"" )
const;
37 Int_t
geomId()
const {
return mGeomId; }
39 Int_t
sector()
const {
return (mGeomId-1) / 9 + 13; }
43 Int_t
zPlane()
const {
return ( ( (mGeomId-1) % 9) / 3) + 1; }
47 Int_t
counter()
const {
return ( (mGeomId-1) % 3) + 1; }
49 Float_t
localX()
const {
return (Float_t)mLocalX / 800.; }
51 Float_t
localY()
const {
return (Float_t)mLocalY / 800.; }
55 Float_t
time()
const {
return mLeadingEdgeTime; }
61 Float_t
tot()
const {
return (Float_t)mTimeOverThreshold / 250.; }
117 UChar_t mClusterSize;
119 Float_t mLeadingEdgeTime;
121 UShort_t mTimeOverThreshold;
Float_t localX() const
Return local X coordinate (cm) across strips w.r.t. center of eTOF counter volume.
Float_t tot() const
Return time over threshold (ns) of eTOF hit.
void setClusterSize(Int_t clusterSize)
Set cluster size of eTOF hit.
Float_t leadingEdgeTime() const
Return leading edge time (ns) of eTOF hit.
void setLocalY(Float_t localY)
Set local Y coordinate (cm) along strips w.r.t. center of eTOF counter volume.
virtual ~StPicoETofHit()
Destructor.
virtual void Print(const Char_t *option="") const
Print hit information.
Float_t timeOverThreshold() const
Return time over threshold (ns) of eTOF hit.
StPicoETofHit()
Default consturctor.
Int_t clusterSize() const
Return cluster size of eTOF hit (number of "hits" on different strips clustered into one hit) ...
Int_t sector() const
Return eTOF sector number (equal to TPC sector numbering)
void setTime(Float_t time)
Set leading edge time (ns) of eTOF hit.
void setTot(Float_t tot)
Set time over threshold (ns) of eTOF hit.
void setTimeOverThreshold(Float_t tot)
Set time over threshold (ns) of eTOF hit.
Int_t geomId() const
Return geometry ID of the hit.
Stores eTOF hit information.
void setGeomId(Int_t geomId)
Set geometry ID of the hit.
Float_t time() const
Return leading edge time (ns) of eTOF hit.
Float_t localY() const
Return local Y coordinate (cm) along strips w.r.t. center of eTOF counter volume. ...
void setLeadingEdgeTime(Float_t time)
Set leading edge time (ns) of eTOF hit.
void setLocalX(Float_t localX)
Set local X coordinate (cm) across strips w.r.t. center of eTOF counter volume.