17 enum { NERRORS, FIFOFULL, TBMMESSAGE, TBMTYPE, TYPE_NERRORS };
41 for (
auto& siPixelRawDataError : *
it) {
42 int fed = siPixelRawDataError.getFedId();
43 int type = siPixelRawDataError.getType();
55 errorWord = siPixelRawDataError.getWord64();
57 errorWord = siPixelRawDataError.getWord32();
65 uint32_t error_data = errorWord & 0xFF;
68 for (uint32_t
i = 0;
i < 8;
i++) {
69 if (error_data & (1 <<
i))
75 uint32_t statemachine_state = errorWord >> 8 & 0xF;
76 const uint32_t tbm_types[16] = {0, 1, 2, 4, 2, 4, 2, 4, 3, 1, 4, 4, 4, 4, 4, 4};
78 histo[TBMTYPE].fill(tbm_types[statemachine_state],
id, &
iEvent, fed, chanNmbr);
80 for (uint32_t
i = 0;
i < 8;
i++) {
81 if (error_data & (1 <<
i))
T getParameter(std::string const &) const
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
static std::string const input
#define DEFINE_FWK_MODULE(type)
constexpr uint32_t LINK_bits
constexpr uint32_t LINK_shift
unsigned long long uint64_t
constexpr uint32_t LINK_mask
void analyze(edm::Event const &e, edm::EventSetup const &) override=0