20 Float_t adcY, Float_t dadcX, Float_t dadcY,
21 Float_t localX, Float_t localY,
22 Float_t localXErr, Float_t localYErr,
23 Float_t sigmaX, Float_t sigmaY,
24 Float_t sigmaXErr, Float_t sigmaYErr) :
26 module+1, 0.), mKey(key), mAdcX(adcX), mAdcY(adcY), mdAdcX(dadcX),
27 mdAdcY(dadcY), mSigmaX(sigmaX), mErrSigmaX(sigmaXErr), mSigmaY(sigmaY),
28 mErrSigmaY(sigmaYErr) {
38 ostream& operator<<(ostream& os,
const StGmtHit& v) {
39 return os << Form(
"Gmt m %3i ",v.
getModule())
41 << Form(
" Adc X/Y %5.1f/%5.1f locX = %8.3f +/- %7.3f locY = %8.3f +/- %7.3f",
48 std::cout << *
this << std::endl;
Float_t getErrorLocalX() const
Local X coordinate error.
Float_t getAdcX() const
ADC in X.
Float_t getLocalX() const
Local X coordinate.
Float_t getLocalY() const
Local Y coordinate.
Int_t getModule() const
Module.
Holds data for the hit in GMT.
void Print(Option_t *option="") const
Print hit information (parameters)
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.
Float_t getAdcY() const
ADC in Y.