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