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_);
bool checkTccIdAndNumbTTs() override
unsigned int getActiveDCC()
unsigned int getEBTCCBlockLength()
void addTriggerPrimitivesToCollection() override
std::unique_ptr< EcalTrigPrimDigiCollection > * tps_
DCCEBTCCBlock(DCCDataUnpacker *u, EcalElectronicsMapper *m, DCCEventBlock *e, bool unpack)
static std::atomic< bool > silentMode_
std::pair< unsigned int, unsigned int > unpack(cond::Time_t since)
unsigned int blockLength_
EcalTriggerPrimitiveDigi * pTP_
void setSampleValue(int i, uint16_t value)
void updateCollectors() override
DCCDataUnpacker * unpacker_
EcalTriggerPrimitiveDigi * getTPPointer(unsigned int tccId, unsigned int tower)
EcalElectronicsMapper * mapper_
std::unique_ptr< EcalTrigPrimDigiCollection > * ecalTpsCollection()
Log< level::Warning, false > LogWarning
unsigned int getActiveSM()