20 #include "StGmtStrip.h"
26 StGmtHit( Int_t key = -1, Int_t module = -1, Float_t adcX = 0,
27 Float_t adcY = 0, Float_t dadcX = 0, Float_t dadcY = 0,
28 Float_t localX = 0, Float_t localY = 0,
29 Float_t localXErr = 10000, Float_t localYErr = 10000,
30 Float_t sigmaX = 0, Float_t sigmaY = 0,
31 Float_t sigmaXErr = 10000, Float_t sigmaYErr = 10000);
36 void Print(Option_t *option=
"")
const;
43 virtual StDetectorId
detector()
const {
return kGmtId; }
48 Int_t
getModule()
const {
return hardwarePosition() - 1; }
58 Float_t
getLocalX()
const {
return position().x(); }
62 Float_t
getLocalY()
const {
return position().y(); }
89 void setLocalX( Float_t position ) { mPosition.setX(position); }
93 void setLocalY( Float_t position ) { mPosition.setY(position); }
105 void setModule( Short_t module ) { setHardwarePosition(module+1); }
134 ostream& operator<<(ostream& os,
StGmtHit const & v);
136 #endif // #define StGmtHit_hh
Float_t getErrorLocalX() const
Local X coordinate error.
Float_t getErrorSigmaX() const
Position error in X.
void setSigmaY(Float_t sigma)
Set local Y.
Float_t getErrorAdcY() const
ADC error in Y.
Float_t getSigmaY() const
Position in Y.
void setErrorLocalY(Float_t error)
Set local Y error.
Float_t mAdcX
ADC counts in X.
void setErrorSigmaY(Float_t error)
Set local Y error.
Float_t mSigmaX
Position in local X.
void setAdcX(Float_t adc)
Set ADC in X.
Float_t getAdcX() const
ADC in X.
Int_t volumeID() const
Volume ID.
Float_t getLocalX() const
Local X coordinate.
Float_t mErrSigmaX
Position error in local X.
Float_t getLocalY() const
Local Y coordinate.
Float_t mErrSigmaY
Position error in local Y.
Int_t getModule() const
Module.
Float_t mSigmaY
Position in local Y.
void setSigmaX(Float_t sigma)
Set local X.
Float_t mAdcY
ADC counts in Y.
void setErrorSigmaX(Float_t error)
Set local X error.
Float_t mdAdcX
ADC counts in X.
Holds data for the hit in GMT.
Float_t mdAdcY
ADC counts in Y.
void setErrorAdcY(Float_t error)
Set ADC error in Y.
void Print(Option_t *option="") const
Print hit information (parameters)
void setAdcY(Float_t adc)
Set ADC in Y.
Float_t getSigmaX() const
Position in X.
virtual StDetectorId detector() const
Unique detector ID.
void setErrorAdcX(Float_t error)
Set ADC error in X.
StGmtHit(Int_t key=-1, Int_t module=-1, Float_t adcX=0, Float_t adcY=0, Float_t dadcX=0, Float_t dadcY=0, Float_t localX=0, Float_t localY=0, Float_t localXErr=10000, Float_t localYErr=10000, Float_t sigmaX=0, Float_t sigmaY=0, Float_t sigmaXErr=10000, Float_t sigmaYErr=10000)
Constructor.
Float_t getErrorLocalY() const
Local Y coordinate error.
Int_t getKey() const
Key.
void setLocalY(Float_t position)
Set local Y.
void setErrorLocalX(Float_t error)
Set local X error.
Float_t getAdcY() const
ADC in Y.
void setModule(Short_t module)
Set module ID.
Float_t getErrorAdcX() const
ADC error in X.
void setLocalX(Float_t position)
Set local X.
Float_t getErrorSigmaY() const
Position error in X.