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