8 #ifndef StPicoEmcTrigger_h
9 #define StPicoEmcTrigger_h
26 StPicoEmcTrigger(Int_t flag, Int_t
id, Int_t adc, std::vector<unsigned short> smdE,
27 std::vector<unsigned short> smdP);
33 virtual void Print(
const Char_t* option =
"")
const;
43 Int_t
id()
const {
return (Int_t)
mId; }
92 std::vector<unsigned short>
mSmdE;
94 std::vector<unsigned short>
mSmdP;
void setAdc(Int_t adc)
Set ADC.
UShort_t mId
SoftId. bjp: 1-18, ht: 1-4800.
void setFlag(Int_t flag)
Set trigger flag.
void setId(Int_t id)
Set ID.
Int_t id() const
Return ID: bjp: 1-18, ht: 1-4800.
Int_t smdPIndex(Int_t i) const
Return i-th BEmc SMDP hit index. -1 = no entries, -2 = out of range.
std::vector< unsigned short > mSmdP
Vector of associated BEmc SMD Phi hit indices.
StPicoEmcTrigger()
Default constructor.
Holds EMC trigger information.
Int_t numberOfSmdPHits() const
Return number of associated BEmc SMD Phi hits.
bool isJP2() const
Check if the trigger is JP2.
std::vector< unsigned short > mSmdE
Vector of associated BEmc SMD Eta hit indices.
bool isHT1() const
Check if the trigger is HT1.
bool isHT2() const
Check if the trigger is HT2.
bool isHT3() const
Check if the trigger is HT3.
Int_t adc() const
Return ADC.
bool isJP1() const
Check if the trigger is JP1.
bool isJP0() const
Check if the trigger is JP0.
virtual ~StPicoEmcTrigger()
Destructor.
Int_t smdEIndex(Int_t i) const
Return i-th BEmc SMDE hit index. -1 = no entries, -2 = out of range.
Int_t numberOfSmdEHits() const
Return number of associated BEmc SMD Eta hits.
bool isHT0() const
Check if the trigger is HT0.
virtual void Print(const Char_t *option="") const
Print EMC trigger information.