#include <HcalTriggerPrimitiveDigi.h>
Public Types | |
typedef HcalTrigTowerDetId | key_type |
For the sorted collection. More... | |
Public Member Functions | |
HcalTriggerPrimitiveDigi () | |
HcalTriggerPrimitiveDigi (const HcalTrigTowerDetId &id) | |
const HcalTrigTowerDetId & | id () 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 (int i=0) const |
Fine-grain bit for the "Sample of Interest". More... | |
const HcalTriggerPrimitiveSample & | t0 () const |
Full "Sample of Interest". More... | |
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_ |
HcalTrigTowerDetId | id_ |
int | size_ |
Definition at line 13 of file HcalTriggerPrimitiveDigi.h.
For the sorted collection.
Definition at line 15 of file HcalTriggerPrimitiveDigi.h.
HcalTriggerPrimitiveDigi::HcalTriggerPrimitiveDigi | ( | ) |
Definition at line 3 of file HcalTriggerPrimitiveDigi.cc.
|
explicit |
Definition at line 4 of file HcalTriggerPrimitiveDigi.cc.
|
inline |
Definition at line 20 of file HcalTriggerPrimitiveDigi.h.
References id_.
Referenced by operator<<().
|
inline |
Definition at line 31 of file HcalTriggerPrimitiveDigi.h.
References data_, and mps_fire::i.
|
inline |
Definition at line 22 of file HcalTriggerPrimitiveDigi.h.
References hcalPresamples_.
Referenced by operator<<(), and t0().
|
inline |
Definition at line 32 of file HcalTriggerPrimitiveDigi.h.
References data_, and mps_fire::i.
Referenced by operator<<().
void HcalTriggerPrimitiveDigi::setPresamples | ( | int | ps | ) |
Definition at line 15 of file HcalTriggerPrimitiveDigi.cc.
References hcalPresamples_.
Referenced by HcalTPGCompressor::compress(), L1RCTTPGProvider::produce(), and MaskedRctInputDigiProducer::produce().
|
inline |
Definition at line 43 of file HcalTriggerPrimitiveDigi.h.
References data_, and mps_fire::i.
Referenced by HcalTPGCompressor::compress(), l1t::stage2::CaloLayer1Unpacker::makeHCalTPGs(), L1TCaloLayer1RawToDigi::makeHCalTPGs(), l1t::stage2::CaloLayer1Unpacker::makeHCalTPGs5BX(), l1t::stage2::CaloLayer1Unpacker::makeHFTPGs(), L1TCaloLayer1RawToDigi::makeHFTPGs(), l1t::stage2::CaloLayer1Unpacker::makeHFTPGs5BX(), L1EmulBias::ModifyCollection(), L1RCTTPGProvider::produce(), MaskedRctInputDigiProducer::produce(), RctInputTextToDigi::produce(), and L1DummyProducer::SimpleDigi().
void HcalTriggerPrimitiveDigi::setSize | ( | int | size | ) |
Definition at line 7 of file HcalTriggerPrimitiveDigi.cc.
References MAXSAMPLES, size(), and size_.
Referenced by HcalTPGCompressor::compress(), l1t::stage2::CaloLayer1Unpacker::makeHCalTPGs(), L1TCaloLayer1RawToDigi::makeHCalTPGs(), l1t::stage2::CaloLayer1Unpacker::makeHCalTPGs5BX(), l1t::stage2::CaloLayer1Unpacker::makeHFTPGs(), L1TCaloLayer1RawToDigi::makeHFTPGs(), l1t::stage2::CaloLayer1Unpacker::makeHFTPGs5BX(), L1RCTTPGProvider::produce(), MaskedRctInputDigiProducer::produce(), RctInputTextToDigi::produce(), and L1DummyProducer::SimpleDigi().
void HcalTriggerPrimitiveDigi::setZSInfo | ( | bool | unsuppressed, |
bool | markAndPass | ||
) |
Definition at line 23 of file HcalTriggerPrimitiveDigi.cc.
References hcalPresamples_.
|
inline |
Definition at line 21 of file HcalTriggerPrimitiveDigi.h.
References size_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), operator<<(), and setSize().
|
inline |
Compressed ET for the "Sample of Interest".
Definition at line 39 of file HcalTriggerPrimitiveDigi.h.
References HcalTriggerPrimitiveSample::compressedEt(), and t0().
|
inline |
Fine-grain bit for the "Sample of Interest".
Definition at line 37 of file HcalTriggerPrimitiveDigi.h.
References HcalTriggerPrimitiveSample::fineGrain(), mps_fire::i, and t0().
|
inline |
Full "Sample of Interest".
Definition at line 35 of file HcalTriggerPrimitiveDigi.h.
References data_, and presamples().
Referenced by SOI_compressedEt(), and SOI_fineGrain().
|
inline |
was ZS MarkAndPass?
Definition at line 25 of file HcalTriggerPrimitiveDigi.h.
References hcalPresamples_.
Referenced by operator<<().
|
inline |
was ZS unsuppressed?
Definition at line 27 of file HcalTriggerPrimitiveDigi.h.
References hcalPresamples_.
Referenced by operator<<().
|
private |
Definition at line 51 of file HcalTriggerPrimitiveDigi.h.
Referenced by operator[](), sample(), setSample(), and t0().
|
private |
Definition at line 50 of file HcalTriggerPrimitiveDigi.h.
Referenced by presamples(), setPresamples(), setZSInfo(), zsMarkAndPass(), and zsUnsuppressed().
|
private |
Definition at line 48 of file HcalTriggerPrimitiveDigi.h.
Referenced by id().
|
static |
Definition at line 45 of file HcalTriggerPrimitiveDigi.h.
Referenced by setSize().
|
private |
Definition at line 49 of file HcalTriggerPrimitiveDigi.h.