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