8 #ifndef StPicoBEmcSmdEHit_h
9 #define StPicoBEmcSmdEHit_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; }
virtual void Print(const Char_t *option="") const
Print BEMC SmdEta hit information.
void setEnergy(Float_t energy)
Set energy corresponding to the hit.
Int_t adc() const
SMD Eta hit ADC.
Holds BEMC SmdEta hit information.
Float_t energy() const
SMD Eta hit energy.
StPicoBEmcSmdEHit()
Default constructor.
virtual ~StPicoBEmcSmdEHit()
Destructor.
void setAdc(Int_t adc)
Set hit ADC.
void setId(Int_t id)
Set hit id.
Int_t id() const
SMD Eta hit id.