#include <HcalTTPDigi.h>
Public Types | |
typedef int | key_type |
Public Member Functions | |
int | algorithm () const |
uint32_t | algorithmWord (int relativeSample=0) const |
unsigned int | fwVersion () const |
HcalTTPDigi () | |
HcalTTPDigi (int identifier, int samples, int presamples, unsigned int fwVersion, int algorithm, unsigned int lPipe) | |
int | id () const |
std::vector< bool > | inputPattern (int relativeSample=0) const |
bool | operator!= (const HcalTTPDigi &digi) const |
bool | operator== (const HcalTTPDigi &digi) const |
unsigned int | pipelineLength () const |
int | presamples () const |
void | setSample (int relativeSample, const uint16_t *triggerInputs, const uint32_t algodep, const uint8_t outputTrigger) |
int | size () const |
uint8_t | triggerOutput (int relativeSample=0) const |
Private Attributes | |
uint32_t | algoDepend_ [8] |
int | algorithm_ |
unsigned int | fwVersion_ |
int | identifier_ |
unsigned int | lPipe_ |
int | presamples_ |
int | samples_ |
uint16_t | triggerInputs_ [5 *8] |
uint8_t | triggerOutput_ [8] |
Definition at line 12 of file HcalTTPDigi.h.
typedef int HcalTTPDigi::key_type |
Definition at line 14 of file HcalTTPDigi.h.
HcalTTPDigi::HcalTTPDigi | ( | ) |
Definition at line 3 of file HcalTTPDigi.cc.
References algoDepend_, mps_fire::i, dqmiolumiharvest::j, triggerInputs_, and triggerOutput_.
HcalTTPDigi::HcalTTPDigi | ( | int | identifier, |
int | samples, | ||
int | presamples, | ||
unsigned int | fwVersion, | ||
int | algorithm, | ||
unsigned int | lPipe | ||
) |
Definition at line 12 of file HcalTTPDigi.cc.
References algoDepend_, mps_fire::i, dqmiolumiharvest::j, triggerInputs_, and triggerOutput_.
|
inline |
uint32_t HcalTTPDigi::algorithmWord | ( | int | relativeSample = 0 | ) | const |
get the "algorithm-dependent-word" for the given sample
Definition at line 65 of file HcalTTPDigi.cc.
References algoDepend_, presamples_, and samples_.
Referenced by operator<<(), and operator==().
|
inline |
|
inline |
std::vector< bool > HcalTTPDigi::inputPattern | ( | int | relativeSample = 0 | ) | const |
get the input bit pattern for the given sample (relative to the SOI) the vector will be empty if there is no data for the requested sample
Definition at line 45 of file HcalTTPDigi.cc.
References mps_fire::i, presamples_, samples_, and triggerInputs_.
Referenced by operator<<(), and operator==().
|
inline |
Definition at line 39 of file HcalTTPDigi.h.
bool HcalTTPDigi::operator== | ( | const HcalTTPDigi & | digi | ) | const |
Definition at line 73 of file HcalTTPDigi.cc.
References algorithmWord(), mps_fire::i, inputPattern(), presamples(), presamples_, samples_, size(), and triggerOutput().
|
inline |
|
inline |
Definition at line 33 of file HcalTTPDigi.h.
References presamples_.
Referenced by operator<<(), and operator==().
void HcalTTPDigi::setSample | ( | int | relativeSample, |
const uint16_t * | triggerInputs, | ||
const uint32_t | algodep, | ||
const uint8_t | outputTrigger | ||
) |
Definition at line 28 of file HcalTTPDigi.cc.
References algoDepend_, mps_fire::i, presamples_, samples_, triggerInputs_, and triggerOutput_.
Referenced by HcalTTPDigiProducer::produce(), and HcalTTPUnpacker::unpack().
|
inline |
Definition at line 32 of file HcalTTPDigi.h.
References samples_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), operator<<(), and operator==().
uint8_t HcalTTPDigi::triggerOutput | ( | int | relativeSample = 0 | ) | const |
get the output trigger bit set for the given sample (relative to the SOI) the vector will be empty if there is no data for the requested sample
Definition at line 57 of file HcalTTPDigi.cc.
References presamples_, samples_, and triggerOutput_.
Referenced by operator<<(), and operator==().
|
private |
Definition at line 49 of file HcalTTPDigi.h.
Referenced by algorithmWord(), HcalTTPDigi(), and setSample().
|
private |
Definition at line 45 of file HcalTTPDigi.h.
Referenced by algorithm().
|
private |
Definition at line 44 of file HcalTTPDigi.h.
Referenced by fwVersion().
|
private |
Definition at line 42 of file HcalTTPDigi.h.
Referenced by id().
|
private |
Definition at line 46 of file HcalTTPDigi.h.
Referenced by pipelineLength().
|
private |
Definition at line 43 of file HcalTTPDigi.h.
Referenced by algorithmWord(), inputPattern(), operator==(), presamples(), setSample(), and triggerOutput().
|
private |
Definition at line 43 of file HcalTTPDigi.h.
Referenced by algorithmWord(), inputPattern(), operator==(), setSample(), size(), and triggerOutput().
|
private |
Definition at line 48 of file HcalTTPDigi.h.
Referenced by HcalTTPDigi(), inputPattern(), and setSample().
|
private |
Definition at line 50 of file HcalTTPDigi.h.
Referenced by HcalTTPDigi(), setSample(), and triggerOutput().