17 StIstHit::StIstHit(
unsigned char ladder,
unsigned char sensor,
float charge,
float chargeErr,
unsigned char maxTB,
18 unsigned char nRawHits,
unsigned char nRawHitsZ,
unsigned char nRawHitsRPhi) :
StHit(),
20 mChargeErr(chargeErr),
22 mNRawHitsZ(nRawHitsZ),
23 mNRawHitsRPhi(nRawHitsRPhi),
28 StHit::setCharge(charge);
33 StHit(p, e, hw, q, c),
45 StDetectorId StIstHit::detector()
const {
return mDetectorId;}
47 void StIstHit::setDetectorId(StDetectorId
id) {mDetectorId = id;}
49 void StIstHit::setLocalPosition(
float vRPhi,
float vY,
float vZ)
56 float StIstHit::localPosition(
unsigned int i)
const
64 ostream &operator<<(ostream &os,
const StIstHit &
hit)
66 os <<
"IST Hit -I- ladder: " <<
static_cast<int>(hit.getLadder())
67 <<
" sensor: " << static_cast<int>(hit.getSensor())
68 <<
" localPosition[0]/localPosition[2] : " << hit.localPosition(0)
69 <<
"/" << hit.localPosition(2)
70 <<
" ADC : " << hit.charge() <<
"+-" << hit.getChargeErr()
71 <<
" detector: " << hit.detector()
const int kIstNumSensorsPerLadder
6 sensor per one IST Ladder
Float_t mLocalPosition[3]
local position of hit inside the sensor