27 : hltPSProvider_(iPSet.getParameter<
edm::
ParameterSet>(
"hltPSProvCfg"), consumesCollector(), *this),
28 hltProcess_(iPSet.getParameter<
std::
string>(
"hltProcess")),
29 hltPath_(iPSet.getParameter<
std::
string>(
"hltPath")) {}
49 log <<
"---------Begin Event--------\n";
50 log <<
"hltDouble " << hltPSDouble <<
" hltFrac " << hltPSFrac <<
"\n";
51 log <<
" l1HLTDouble " << l1HLTPSDouble.first <<
" " << l1HLTPSDouble.second <<
" l1HLTFrac " << l1HLTPSFrac.first
52 <<
" " << l1HLTPSFrac.second <<
" l1HLTDoubleFrac " << l1HLTPSDoubleFrac.first <<
" " << l1HLTPSDoubleFrac.second
56 for (
const auto&
entry :
val.first) {
59 log <<
" HLT : " <<
val.second <<
"\n";
62 printL1HLTDetail(
"l1HLTDetailDouble ", l1HLTDetailPSDouble);
63 printL1HLTDetail(
"l1HLTDetailFrac ", l1HLTDetailPSFrac);
64 log <<
"---------End Event--------\n\n";
T prescaleValue(const edm::Event &iEvent, const edm::EventSetup &iSetup, const std::string &trigger)
combining the two methods above
std::pair< std::vector< std::pair< std::string, TL1 > >, THLT > prescaleValuesInDetail(const edm::Event &iEvent, const edm::EventSetup &iSetup, const std::string &trigger)
HLTPrescaleExample(edm::ParameterSet const &iPSet)
std::string const hltProcess_
boost::rational< int > FractionalPrescale
HLTPrescaleProvider hltPSProvider_
std::pair< TL1, THLT > prescaleValues(const edm::Event &iEvent, const edm::EventSetup &iSetup, const std::string &trigger)
Combined L1T (pair.first) and HLT (pair.second) prescales per HLT path.
#define DEFINE_FWK_MODULE(type)
std::string const hltPath_
void endRun(edm::Run const &iEvent, edm::EventSetup const &) override
void analyze(edm::Event const &iEvent, edm::EventSetup const &) override
void beginRun(edm::Run const &iEvent, edm::EventSetup const &) override
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)