41 edm::LogError(
"L1T|EMTF") <<
"Payload size in 'AMC Data Trailer' is different than expected";
47 edm::LogError(
"L1T|EMTF") <<
"Payload[0] has more than 16 bits in 'AMC Data Trailer'";
51 edm::LogError(
"L1T|EMTF") <<
"Payload[1] has more than 16 bits in 'AMC Data Trailer'";
55 edm::LogError(
"L1T|EMTF") <<
"Payload[2] has more than 16 bits in 'AMC Data Trailer'";
59 edm::LogError(
"L1T|EMTF") <<
"Payload[3] has more than 16 bits in 'AMC Data Trailer'";
63 edm::LogError(
"L1T|EMTF") <<
"Payload[3] has more than 16 bits in 'AMC Data Trailer'";
67 edm::LogError(
"L1T|EMTF") <<
"Payload[3] has more than 16 bits in 'AMC Data Trailer'";
71 edm::LogError(
"L1T|EMTF") <<
"Payload[3] has more than 16 bits in 'AMC Data Trailer'";
75 edm::LogError(
"L1T|EMTF") <<
"Payload[3] has more than 16 bits in 'AMC Data Trailer'";
91 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in TR1a are incorrect";
95 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in TR1b are incorrect";
99 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in TR1c are incorrect";
103 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in TR1d are incorrect";
107 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in TR2a are incorrect";
111 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in TR2b are incorrect";
115 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in TR2c are incorrect";
119 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in TR2d are incorrect";
154 int iOut = res->size() - 1;
160 if ((res->at(iOut)).HasEventTrailer() ==
true) {
161 (res->at(iOut)).add_format_error();
162 edm::LogError(
"L1T|EMTF") <<
"Why is there already an EventTrailer object?";
189 (res->at(iOut)).set_EventTrailer(EventTrailer_);
195 if ((res->at(iOut)).HasMTF7Trailer() ==
true) {
196 (res->at(iOut)).add_format_error();
197 edm::LogError(
"L1T|EMTF") <<
"Why is there already an MTF7Trailer object?";
206 (res->at(iOut)).set_MTF7Trailer(MTF7Trailer_);
212 if ((res->at(iOut)).HasAMC13Trailer() ==
true) {
213 (res->at(iOut)).add_format_error();
214 edm::LogError(
"L1T|EMTF") <<
"Why is there already an AMC13Trailer object?";
230 (res->at(iOut)).set_AMC13Trailer(AMC13Trailer_);
const std::vector< uint32_t > & payload() const
void set_spcsr_scc(int bits)
void set_ddcsr_lf(int bits)
virtual int checkFormat(const Block &block)
std::vector< EMTFDaqOut > EMTFDaqOutCollection
bool unpack(const Block &block, UnpackerCollections *coll) override
void set_sp_ladr(int bits)
void set_sp_padr(int bits)
#define DEFINE_L1T_UNPACKER(type)
uint16_t GetHexBits(uint16_t word, uint16_t lowBit, uint16_t highBit)
void set_sp_ersv(int bits)