44 :
fedId(conf.getParameter<unsigned
int>(
"fedId")) {
49 <<
"Invalid FED id for TOTEM trigger. Please specify it through the 'fedId' parameter.";
51 produces<TotemTriggerCounters>();
67 unsigned int sizeInWords =
data.size() / 8;
72 event.put(make_unique<TotemTriggerCounters>(totemTriggerCounters));
77 LogError(
"Totem") <<
"Error in TotemTriggerRawToDigi::ProcessLoneGFrame > " 78 <<
"Wrong LoneG frame size: " <<
size <<
" (shall be 20)." << endl;
84 for (
unsigned int i = 0;
i < 5;
i++)
87 for (
unsigned int i = 0;
i < 20;
i++) {
90 buf[row] |= (oBuf[
i] & 0xFFFF) << (
col * 16);
108 printf(
">> RawDataUnpacker::ProcessLoneGFrame > size = %li\n",
size);
T getParameter(std::string const &) const
int ProcessLoneGFrame(uint64_t *oBuf, unsigned long size, TotemTriggerCounters &data)
Process one LoneG frame.
TotemTriggerRawToDigi(const edm::ParameterSet &)
Log< level::Error, false > LogError
unsigned int input_status_bits
#define DEFINE_FWK_MODULE(type)
unsigned long long uint64_t
unsigned int inhibited_triggers_num
char data[epos_bytes_allocation]
void produce(edm::Event &, const edm::EventSetup &) override
~TotemTriggerRawToDigi() override
edm::EDGetTokenT< FEDRawDataCollection > fedDataToken
unsigned char revision_num