52 StTpcPixel(
unsigned char Detector = 0,
unsigned char Sector = 0,
unsigned char Row = 0,
53 unsigned char Pad = 0,
unsigned short TimeBin = 0,
unsigned short Adc=0,
54 int IdTruth=0,
short Id=0) :
55 mDetector(Detector), mSector(Sector), mRow(Row),
56 mPad(
Pad), mTimeBin(TimeBin), mAdc(Adc), mIdTruth(IdTruth), mId(Id) {}
58 unsigned char detector()
const;
59 unsigned char sector()
const;
60 unsigned char padrow()
const;
61 unsigned char pad()
const;
62 unsigned short timebin()
const;
63 unsigned short adc()
const;
66 virtual void Print(Option_t *option=
"")
const;
81 inline unsigned char StTpcPixel::detector()
const {
return mDetector;}
82 inline unsigned char StTpcPixel::sector()
const {
return mSector;}
83 inline unsigned char StTpcPixel::padrow()
const {
return mRow;}
84 inline unsigned char StTpcPixel::pad()
const {
return mPad;}
85 inline unsigned short StTpcPixel::timebin()
const {
return mTimeBin;}
86 inline unsigned short StTpcPixel::adc()
const {
return mAdc;}
87 inline int StTpcPixel::idTruth()
const {
return mIdTruth;}
88 inline short StTpcPixel::id()
const {
return mId;}
90 ostream& operator<< (ostream&,
const StTpcPixel&);