54 <<
"\n For event L1A: "<<
l1_
55 <<
"\n Expected FED id is: "<<expFedId<<
" while current FED id is: "<<
fedId_
56 <<
"\n => Skipping to next fed block...";
68 <<
"\n Event L1A: "<<
l1_<<
" is empty for fed: "<<
fedId_
69 <<
"\n => Skipping to next fed block...";
79 <<
"\n Event L1A: "<<
l1_<<
" in fed: "<<
fedId_
81 <<
"\n => Skipping to next fed block...";
101 <<
"\n Event L1A: "<<
l1_<<
" in fed: "<<
fedId_
103 <<
"\n => Skipping to next fed block...";
145 for(
int dw = 0; dw<5; dw++ ){
147 for(
int i = 0;
i<14;
i++, channel++){
158 std::vector<short>::iterator it;
179 unsigned int numbChannels(0);
186 <<
"\n Event L1A: "<<
l1_<<
" in fed: "<<
fedId_
187 <<
"\n Event has an unsupported trigger type "<<
triggerType_
188 <<
"\n => Skipping to next fed block...";
202 for(
unsigned int chNumber=1; chNumber<= numbChannels && STATUS!=
STOP_EVENT_UNPACKING; chNumber++, it++ ){
205 const short chStatus(*it);
225 const bool ttProblem = (val == 13) || (val == 14);
228 <<
"Bad channel status: " << chStatus
229 <<
" in the DCC channel: " << chNumber
230 <<
" (LV1 " <<
l1_ <<
" fed " <<
fedId_ <<
")\n"
231 <<
" => DCC channel is not being unpacked";
294 std::vector<short>::iterator it;
295 unsigned int tccChId(0);
int unpack(uint64_t **data, unsigned int *dwToEnd, unsigned int numbFlags=SRP_NUMBFLAGS)
DCCEEEventBlock(DCCDataUnpacker *u, EcalElectronicsMapper *m, bool hU, bool srpU, bool tccU, bool feU, bool memU, bool forceToKeepFRdata)
void unpack(uint64_t *buffer, unsigned int bufferSize, unsigned int expFedId)
int unpack(uint64_t **data, unsigned int *dwToEnd, short tccChId=0)
int unpack(uint64_t **data, unsigned int *dwToEnd, unsigned int expectedTowerID)
unsigned int detailedTriggerType_
unsigned int blockLength_
unsigned int triggerType_
DCCDataUnpacker * unpacker_
unsigned short srFlag(unsigned int feChannel)
uint16_t getCCUValue(const int fed, const int ccu) const
unsigned int orbitCounter_
std::vector< short > feChStatus_
unsigned long long uint64_t
int unpack(uint64_t **data, unsigned int *dwToEnd, bool zs, unsigned int expectedTowerID)
static unsigned int const shift
void addHeaderToCollection()
std::vector< short > tccChStatus_