Go to the documentation of this file.
31 #include "EventFilter/RctRawToDigi/src/RCTInfo.hh"
32 #include "EventFilter/RctRawToDigi/src/CTP7Format.hh"
34 #include "EventFilter/RctRawToDigi/src/RctDataDecoder.hh"
57 bool decodeLinkID(
const uint32_t inputValue, uint32_t &crateNumber, uint32_t &linkNumber,
bool &even);
static const unsigned MAX_ERR_CODE
void unpack(const FEDRawData &d, edm::Event &e, RctUnpackCollections *const colls)
Unpacks the raw data.
static const unsigned amc13TrailerSize_
void produce(edm::Event &, const edm::EventSetup &) override
static const unsigned ctp7TrailerSize_
L1TriggerErrorCollection * errors_
pointer to error collection
static const unsigned MAX_DATA
The maximum number of blocks we will try to unpack before thinking something is wrong.
static const unsigned MIN_DATA
The minimum number of blocks we will try to unpack before thinking something is wrong (really this sh...
std::vector< L1TriggerError > L1TriggerErrorCollection
bool decodeLinkID(const uint32_t inputValue, uint32_t &crateNumber, uint32_t &linkNumber, bool &even)
edm::InputTag inputLabel_
FED collection label.
unsigned unpackFailures_
To count the total number of RCT unpack failures.
void unpackCTP7(const uint32_t *data, const unsigned block_id, const unsigned size, RctUnpackCollections *const colls)
virtual void endJob()
method called at job end - use to print summary report
std::vector< unsigned > errorCounters_
Counts number of errors for each code (index)
static const unsigned ctp7HeaderSize_
RctRawToDigi(const edm::ParameterSet &)
bool printAll(const unsigned char *data, const unsigned size)
const bool verbose_
If true, then debug print out for each event.
static const unsigned amc13HeaderSize_
static const unsigned sLinkTrailerSize_
char data[epos_bytes_allocation]
static const unsigned sLinkHeaderSize_