4 for (
int i = 0;
i < 8;
i++) {
7 for (
int j = 0;
j < 5;
j++)
14 : identifier_(identifier),
20 for (
int i = 0;
i < 8;
i++) {
23 for (
int j = 0;
j < 5;
j++)
29 const uint16_t* triggerInputs,
30 const uint32_t algodep,
31 const uint8_t outputTrigger) {
33 if (linSample >= 0 && linSample <
samples_) {
35 for (
int i = 0;
i < 4;
i++)
46 std::vector<bool> retval;
48 if (linSample >= 0 && linSample <
samples_) {
49 for (
int i = 0;
i < 72;
i++) {
51 retval.push_back(
triggerInputs_[linSample * 5 + ioff] & (1 << (
i % 16)));
59 if (linSample >= 0 && linSample <
samples_)
67 if (linSample >= 0 && linSample <
samples_)
89 out <<
"HcalTTPDigi " << digi.
id() <<
" with " << digi.
size() <<
" samples, " << digi.
presamples() <<
" presamples. " 104 for (
int j = 19;
j >= 0;
j--)
108 for (
int j = 3;
j >= 0;
j--)
std::vector< bool > inputPattern(int relativeSample=0) const
unsigned int fwVersion() const
bool operator==(const HcalTTPDigi &digi) const
uint32_t algorithmWord(int relativeSample=0) const
void setSample(int relativeSample, const uint16_t *triggerInputs, const uint32_t algodep, const uint8_t outputTrigger)
std::ostream & operator<<(std::ostream &out, const HcalTTPDigi &digi)
unsigned int pipelineLength() const
uint8_t triggerOutput_[8]
uint8_t triggerOutput(int relativeSample=0) const
uint16_t triggerInputs_[5 *8]