Go to the documentation of this file.
21 <<
" while expected is " <<
expTccId_ <<
"\n TCC Block Skipped ...";
32 <<
" is different from expected " <<
expNumbTTs_ <<
"\n TCC Block Skipped ...";
46 const uint16_t* tccP_ = reinterpret_cast<const uint16_t*>(
data_);
49 unsigned int theTT =
i;
52 unsigned int u = (
i - 1) % towersInPhi;
54 theTT = ((
i - 1) / towersInPhi) * towersInPhi + u;
58 for (
unsigned int ns = 0; ns <
nTSamples_; ns++, tccP_++) {
60 (*tps_)->push_back(*
pTP_);
std::pair< unsigned int, unsigned int > unpack(cond::Time_t since)
unsigned int getActiveSM()
static std::atomic< bool > silentMode_
void updateCollectors() override
void setSampleValue(int i, uint16_t value)
EcalTriggerPrimitiveDigi * pTP_
unsigned int getEBTCCBlockLength()
DCCDataUnpacker * unpacker_
unsigned int getActiveDCC()
std::unique_ptr< EcalTrigPrimDigiCollection > * tps_
EcalElectronicsMapper * mapper_
EcalTriggerPrimitiveDigi * getTPPointer(unsigned int tccId, unsigned int tower)
void addTriggerPrimitivesToCollection() override
std::unique_ptr< EcalTrigPrimDigiCollection > * ecalTpsCollection()
unsigned int blockLength_
DCCEBTCCBlock(DCCDataUnpacker *u, EcalElectronicsMapper *m, DCCEventBlock *e, bool unpack)
bool checkTccIdAndNumbTTs() override