8 #ifndef StPicoBEmcSmdPHit_h
9 #define StPicoBEmcSmdPHit_h
29 virtual void Print(
const Char_t* option =
"")
const;
36 Int_t
id()
const {
return (Int_t)mId; }
38 Int_t
adc()
const {
return (Int_t)mAdc; }
40 Float_t
energy()
const {
return mEnergy; }
47 void setId(Int_t
id) { mId = (
id > std::numeric_limits<short>::max()) ? -1 : (Short_t)
id; }
50 { mAdc = ( adc > std::numeric_limits<unsigned short>::max() ) ?
51 std::numeric_limits<unsigned short>::max() : (UShort_t)adc; }
Int_t id() const
SMD Phi hit id.
Float_t energy() const
SMD Phi hit energy.
StPicoBEmcSmdPHit()
Default constructor.
void setId(Int_t id)
Set hit id.
void setEnergy(Float_t energy)
Set energy corresponding to the hit.
virtual void Print(const Char_t *option="") const
Print BEMC SmdPhi hit information.
void setAdc(Int_t adc)
Set hit ADC.
virtual ~StPicoBEmcSmdPHit()
Destructor.
Holds BEMC SmdPhi hit information.
Int_t adc() const
SMD Phi hit ADC.