35 produces<nanoaod::FlatTable>(
"uHTRTable");
63 std::vector<int>
crate;
64 std::vector<int>
slot;
65 std::vector<uint32_t> evn;
66 std::vector<uint32_t> bcn;
67 std::vector<uint32_t> orn;
78 int namc = hamc13->
NAMC();
79 for (
int iamc = 0; iamc < namc; iamc++) {
81 crate.push_back(uhtr.crateId());
82 slot.push_back(uhtr.slot());
83 evn.push_back(uhtr.l1ANumber());
84 bcn.push_back(uhtr.bunchNumber());
85 orn.push_back(uhtr.orbitNumber());
90 auto uHTRNanoTable = std::make_unique<nanoaod::FlatTable>(
crate.size(),
"uHTR",
false,
false);
91 uHTRNanoTable->addColumn<
int>(
"crate",
crate,
"crate");
92 uHTRNanoTable->addColumn<
int>(
"slot",
slot,
"slot");
93 uHTRNanoTable->addColumn<uint32_t>(
"evn", evn,
"evn");
94 uHTRNanoTable->addColumn<uint32_t>(
"bcn", bcn,
"bcn");
95 uHTRNanoTable->addColumn<uint32_t>(
"orn", orn,
"orn");
96 uHTRNanoTable->addColumn<
int>(
"eventType",
eventType,
"eventType");
edm::EDGetTokenT< FEDRawDataCollection > tokenRaw_
void produce(edm::Event &, edm::EventSetup const &) override
HcalUHTRTableProducer(const edm::ParameterSet &iConfig)
#define DEFINE_FWK_MODULE(type)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
~HcalUHTRTableProducer() override
std::vector< int > fedUnpackList_
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.