36 gtDigis_ = consumes<L1GlobalTriggerReadoutRecord>(
44 bool accepted =
false;
46 int ievt =
iEvent.id().event();
47 int irun =
iEvent.id().run();
48 int ils =
iEvent.luminosityBlock();
53 iEvent.getByToken(hlTriggerResults_, HLTR);
62 std::cout <<
"HLT_debug: Run " << irun <<
" Ev " << ievt <<
" LB " << ils <<
" BX " <<
bx <<
" Acc: ";
63 const unsigned int n(hlNames_.size());
64 for (
unsigned int i = 0;
i !=
n; ++
i) {
76 iEvent.getByToken(gtDigis_, gtrr_handle);
85 std::cout <<
"PhysDecl_debug: Run " << irun <<
" Event " << ievt <<
" Lumi Block " << ils <<
" Bunch Crossing " 86 <<
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
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
#define DEFINE_FWK_MODULE(type)