41 edm::LogError(
"L1T|EMTF") <<
"Payload size in 'AMC Data Header' is different than expected";
47 edm::LogError(
"L1T|EMTF") <<
"Payload[0] has more than 16 bits in 'AMC Data Header'";
51 edm::LogError(
"L1T|EMTF") <<
"Payload[1] has more than 16 bits in 'AMC Data Header'";
55 edm::LogError(
"L1T|EMTF") <<
"Payload[2] has more than 16 bits in 'AMC Data Header'";
59 edm::LogError(
"L1T|EMTF") <<
"Payload[3] has more than 16 bits in 'AMC Data Header'";
63 edm::LogError(
"L1T|EMTF") <<
"Payload[4] has more than 16 bits in 'AMC Data Header'";
67 edm::LogError(
"L1T|EMTF") <<
"Payload[5] has more than 16 bits in 'AMC Data Header'";
71 edm::LogError(
"L1T|EMTF") <<
"Payload[6] has more than 16 bits in 'AMC Data Header'";
75 edm::LogError(
"L1T|EMTF") <<
"Payload[7] has more than 16 bits in 'AMC Data Header'";
79 edm::LogError(
"L1T|EMTF") <<
"Payload[8] has more than 16 bits in 'AMC Data Header'";
83 edm::LogError(
"L1T|EMTF") <<
"Payload[9] has more than 16 bits in 'AMC Data Header'";
87 edm::LogError(
"L1T|EMTF") <<
"Payload[10] has more than 16 bits in 'AMC Data Header'";
91 edm::LogError(
"L1T|EMTF") <<
"Payload[11] has more than 16 bits in 'AMC Data Header'";
110 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in HD1a are incorrect";
114 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in HD1b are incorrect";
118 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in HD1c are incorrect";
122 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in HD1d are incorrect";
126 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in HD2a are incorrect";
130 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in HD2b are incorrect";
134 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in HD2c are incorrect";
138 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in HD2d are incorrect";
142 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in HD3a are incorrect";
146 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in HD3b are incorrect";
150 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in HD3c are incorrect";
154 edm::LogError(
"L1T|EMTF") <<
"Format identifier bits in HD3d are incorrect";
195 res->push_back(EMTFDaqOut_);
196 int iOut = res->size() - 1;
202 if ((res->at(iOut)).HasAMC13Header() ==
true) {
203 (res->at(iOut)).add_format_error();
204 edm::LogError(
"L1T|EMTF") <<
"Why is there already an AMC13Header object?";
226 (res->at(iOut)).set_AMC13Header(AMC13Header_);
232 if ((res->at(iOut)).HasMTF7Header() ==
true) {
233 (res->at(iOut)).add_format_error();
234 edm::LogError(
"L1T|EMTF") <<
"Why is there already an MTF7Header object?";
250 (res->at(iOut)).set_MTF7Header(MTF7Header_);
256 if ((res->at(iOut)).HasEventHeader() ==
true) {
257 (res->at(iOut)).add_format_error();
258 edm::LogError(
"L1T|EMTF") <<
"Why is there already an EventHeader object?";
293 (res->at(iOut)).set_EventHeader(EventHeader_);
const std::vector< uint32_t > & payload() const
Log< level::Error, false > LogError
std::vector< EMTFDaqOut > EMTFDaqOutCollection
#define DEFINE_L1T_UNPACKER(type)
uint16_t GetHexBits(uint16_t word, uint16_t lowBit, uint16_t highBit)
void amc(const amc::Header &h)