4 for (
int i=0;
i<8;
i++) {
11 unsigned int fwVersion,
int algorithm,
unsigned int lPipe) :
12 identifier_(identifier),
14 presamples_(presamples),
15 fwVersion_(fwVersion),
16 algorithm_(algorithm),
18 for (
int i=0;
i<8;
i++) {
25 const uint16_t* triggerInputs,
26 const uint32_t algodep,
27 const uint8_t outputTrigger) {
30 if (linSample>=0 && linSample<
samples_) {
32 for (
int i=0;
i<4;
i++)
43 std::vector<bool> retval;
45 if (linSample>=0 && linSample<
samples_) {
47 for (
int i=0;
i<72;
i++) {
81 out <<
"HcalTTPDigi " << digi.
id()
82 <<
" with " << digi.
size() <<
" samples, "
85 out <<
"Firmware version " << digi.
fwVersion() <<
" and flavor/algo " << digi.
algorithm() ;
86 out <<
"; pipeline length " << digi.
pipelineLength() << std::endl ;
90 if ( !(
j%16) ) out <<
" " ;
93 if (
i < 0) out <<
" (PRE)" ;
unsigned int pipelineLength() const
uint32_t algorithmWord(int relativeSample=0) const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
bool operator==(const HcalTTPDigi &digi) const
uint8_t triggerOutput(int relativeSample=0) const
void setSample(int relativeSample, const uint16_t *triggerInputs, const uint32_t algodep, const uint8_t outputTrigger)
unsigned int fwVersion() const
std::vector< bool > inputPattern(int relativeSample=0) const
uint8_t triggerOutput_[8]
uint16_t triggerInputs_[5 *8]