37 gtDigis_ = consumes<L1GlobalTriggerReadoutRecord>(
45 bool accepted =
false;
47 int ievt =
iEvent.id().event();
48 int irun =
iEvent.id().run();
49 int ils =
iEvent.luminosityBlock();
54 iEvent.getByToken(hlTriggerResults_, HLTR);
63 std::cout <<
"HLT_debug: Run " << irun <<
" Ev " << ievt <<
" LB " << ils <<
" BX " <<
bx <<
" Acc: ";
64 const unsigned int n(hlNames_.size());
65 for (
unsigned int i = 0;
i !=
n; ++
i) {
77 iEvent.getByToken(gtDigis_, gtrr_handle);
86 std::cout <<
"PhysDecl_debug: Run " << irun <<
" Event " << ievt <<
" Lumi Block " << ils <<
" Bunch Crossing " 87 <<
bx <<
" Accepted " << accepted << std::endl;
bool accept() const
Has at least one path accepted the event?
T getParameter(std::string const &) const
const cms_uint16_t physicsDeclared() const
get/set "physics declared" bit
#define DEFINE_FWK_MODULE(type)
T const * product() const
PhysDecl(const edm::ParameterSet &)
bool filter(edm::Event &, const edm::EventSetup &) override
const L1GtFdlWord gtFdlWord(int bxInEventValue) const
get / set FDL word (record) in the GT readout record
T getUntrackedParameter(std::string const &, T const &) const