1 #ifndef DIGIHCAL_HOTRIGGERPRIMITIVEDIGI_H 2 #define DIGIHCAL_HOTRIGGERPRIMITIVEDIGI_H int ieta() const
get the signed ieta value
int ieta_abs() const
get the absolute value of ieta
int whichSampleTriggered() const
get the number of the triggering sample
int iphi() const
get the iphi value
int bits() const
get the single-bit data
bool data(int whichbit=HO_TP_SAMPLES_MAX) const
static const int HO_TP_SAMPLES_MAX
uint32_t raw() const
get the raw (packed) Triger Primitive
int raw_ieta() const
get the raw ieta value
std::ostream & operator<<(std::ostream &, const HOTriggerPrimitiveDigi &)
HcalDetId key_type
For the sorted collection.
int nsamples() const
get the number of samples used to compute the TP
uint32_t operator()()
for streaming
HOTriggerPrimitiveDigi(uint32_t data)
int ieta_sign() const
get the sign of ieta (int: +/- 1)
const HcalDetId id() const