1 #ifndef CASTORTRIGGERPRIMITIVEDIGI_H
2 #define CASTORTRIGGERPRIMITIVEDIGI_H 1
31 void setZSInfo(
bool unsuppressed,
bool markAndPass);
45 bool isSOI(
int i )
const {
return ( (
data_[i].raw() & 0x0200 ) == 0x0200 ) ; }
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".
bool fineGrain() const
get the fine-grain bit
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