1 #ifndef CASTORTRIGGERPRIMITIVEDIGI_H 2 #define CASTORTRIGGERPRIMITIVEDIGI_H 1 43 bool isSOI(
int i)
const {
return ((
data_[
i].raw() & 0x0200) == 0x0200); }
std::ostream & operator<<(std::ostream &s, const CastorTriggerPrimitiveDigi &digi)
static const int MAXSAMPLES
int tpchannel(int i) const
int SOI_tpchannel() const
const HcalCastorDetId & id() const
int compressedEt() const
get the encoded/compressed Et
HcalCastorDetId key_type
For the sorted collection.
void setSample(int i, const HcalTriggerPrimitiveSample &sam)
HcalTriggerPrimitiveSample data_[MAXSAMPLES]
void setPresamples(int ps)
bool zsMarkAndPass() const
was ZS MarkAndPass?
CastorTriggerPrimitiveDigi()
bool fineGrain(int i=0) const
get fine-grain bit (traditional)
const HcalTriggerPrimitiveSample & operator[](int i) const
bool SOI_fineGrain() const
Fine-grain bit for the "Sample of Interest".
bool zsUnsuppressed() const
was ZS unsuppressed?
int SOI_compressedEt() const
Compressed ET for the "Sample of Interest".
const HcalTriggerPrimitiveSample & t0() const
Full "Sample of Interest".
void setZSInfo(bool unsuppressed, bool markAndPass)
const HcalTriggerPrimitiveSample & sample(int i) const