27 <<
"\n TCC Block Skipped ...";
39 <<
"\n TCC Block Skipped ...";
55 const uint16_t * tccP_=
reinterpret_cast<const uint16_t *
>(
data_);
60 unsigned int theTT =
i;
64 unsigned int u = (
i-1)%towersInPhi;
66 theTT = ( (
i-1)/towersInPhi )*towersInPhi + u;
70 for(
unsigned int ns = 0; ns<
nTSamples_;ns++,tccP_++){
73 (*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_
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()
unsigned int getActiveSM()