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