#include <CastorTriggerPrimitiveDigi.h>
Public Types | |
typedef HcalCastorDetId | key_type |
For the sorted collection. More... | |
Public Member Functions | |
CastorTriggerPrimitiveDigi () | |
CastorTriggerPrimitiveDigi (const HcalCastorDetId &id) | |
const HcalCastorDetId & | id () const |
bool | isSOI (int i) const |
const HcalTriggerPrimitiveSample & | operator[] (int i) const |
int | presamples () const |
const HcalTriggerPrimitiveSample & | sample (int i) const |
void | setPresamples (int ps) |
void | setSample (int i, const HcalTriggerPrimitiveSample &sam) |
void | setSize (int size) |
void | setZSInfo (bool unsuppressed, bool markAndPass) |
int | size () const |
int | SOI_compressedEt () const |
Compressed ET for the "Sample of Interest". More... | |
bool | SOI_fineGrain () const |
Fine-grain bit for the "Sample of Interest". More... | |
int | SOI_tpchannel () const |
int | SOI_tpdata () const |
const HcalTriggerPrimitiveSample & | t0 () const |
Full "Sample of Interest". More... | |
int | tpchannel (int i) const |
int | tpdata (int i) const |
bool | zsMarkAndPass () const |
was ZS MarkAndPass? More... | |
bool | zsUnsuppressed () const |
was ZS unsuppressed? More... | |
Static Public Attributes | |
static const int | MAXSAMPLES = 10 |
Private Attributes | |
HcalTriggerPrimitiveSample | data_ [MAXSAMPLES] |
int | hcalPresamples_ |
HcalCastorDetId | id_ |
int | size_ |
For the sorted collection.
Definition at line 17 of file CastorTriggerPrimitiveDigi.h.
CastorTriggerPrimitiveDigi::CastorTriggerPrimitiveDigi | ( | ) |
Definition at line 4 of file CastorTriggerPrimitiveDigi.cc.
|
explicit |
Definition at line 6 of file CastorTriggerPrimitiveDigi.cc.
|
inline |
Definition at line 22 of file CastorTriggerPrimitiveDigi.h.
References id_.
Referenced by operator<<().
|
inline |
Definition at line 45 of file CastorTriggerPrimitiveDigi.h.
References data_.
Referenced by operator<<().
|
inline |
Definition at line 33 of file CastorTriggerPrimitiveDigi.h.
|
inline |
Definition at line 24 of file CastorTriggerPrimitiveDigi.h.
References hcalPresamples_.
Referenced by operator<<(), SOI_tpchannel(), SOI_tpdata(), and t0().
|
inline |
Definition at line 34 of file CastorTriggerPrimitiveDigi.h.
Referenced by operator<<().
void CastorTriggerPrimitiveDigi::setPresamples | ( | int | ps | ) |
Definition at line 15 of file CastorTriggerPrimitiveDigi.cc.
References hcalPresamples_.
|
inline |
Definition at line 51 of file CastorTriggerPrimitiveDigi.h.
void CastorTriggerPrimitiveDigi::setSize | ( | int | size | ) |
Definition at line 10 of file CastorTriggerPrimitiveDigi.cc.
References MAXSAMPLES, size(), and size_.
void CastorTriggerPrimitiveDigi::setZSInfo | ( | bool | unsuppressed, |
bool | markAndPass | ||
) |
Definition at line 21 of file CastorTriggerPrimitiveDigi.cc.
References hcalPresamples_.
|
inline |
Definition at line 23 of file CastorTriggerPrimitiveDigi.h.
References size_.
Referenced by operator<<(), and setSize().
|
inline |
Compressed ET for the "Sample of Interest".
Definition at line 41 of file CastorTriggerPrimitiveDigi.h.
References HcalTriggerPrimitiveSample::compressedEt(), and t0().
|
inline |
Fine-grain bit for the "Sample of Interest".
Definition at line 39 of file CastorTriggerPrimitiveDigi.h.
References HcalTriggerPrimitiveSample::fineGrain(), and t0().
|
inline |
Definition at line 46 of file CastorTriggerPrimitiveDigi.h.
References data_, and presamples().
Referenced by operator<<().
|
inline |
Definition at line 47 of file CastorTriggerPrimitiveDigi.h.
References data_, and presamples().
Referenced by operator<<().
|
inline |
Full "Sample of Interest".
Definition at line 37 of file CastorTriggerPrimitiveDigi.h.
References data_, and presamples().
Referenced by SOI_compressedEt(), and SOI_fineGrain().
|
inline |
Definition at line 43 of file CastorTriggerPrimitiveDigi.h.
References data_.
Referenced by operator<<().
|
inline |
Definition at line 44 of file CastorTriggerPrimitiveDigi.h.
References data_.
Referenced by operator<<().
|
inline |
was ZS MarkAndPass?
Definition at line 27 of file CastorTriggerPrimitiveDigi.h.
References hcalPresamples_.
Referenced by operator<<().
|
inline |
was ZS unsuppressed?
Definition at line 29 of file CastorTriggerPrimitiveDigi.h.
References hcalPresamples_.
Referenced by operator<<().
|
private |
Definition at line 58 of file CastorTriggerPrimitiveDigi.h.
Referenced by isSOI(), operator[](), sample(), setSample(), SOI_tpchannel(), SOI_tpdata(), t0(), tpchannel(), and tpdata().
|
private |
Definition at line 57 of file CastorTriggerPrimitiveDigi.h.
Referenced by presamples(), setPresamples(), setZSInfo(), zsMarkAndPass(), and zsUnsuppressed().
|
private |
Definition at line 55 of file CastorTriggerPrimitiveDigi.h.
Referenced by id().
|
static |
Definition at line 53 of file CastorTriggerPrimitiveDigi.h.
Referenced by setSize().
|
private |
Definition at line 56 of file CastorTriggerPrimitiveDigi.h.