|
|
Go to the documentation of this file.
26 : hltPSProvider_(iPSet.getParameter<
edm::
ParameterSet>(
"hltPSProvCfg"), consumesCollector(), *this),
27 hltProcess_(iPSet.getParameter<
std::
string>(
"hltProcess")),
28 hltPath_(iPSet.getParameter<
std::
string>(
"hltPath")) {}
50 std::cout <<
"---------Begin Event--------" << std::endl;
51 std::cout <<
"hltDouble " << hltPSDouble <<
" hltInt " << hltPSInt <<
" hltPSUInt " << hltPSUInt <<
" hltFrac "
52 << hltPSFrac << std::endl;
54 std::cout <<
" l1HLTDouble " << l1HLTPSDouble.first <<
" " << l1HLTPSDouble.second <<
" l1HLTInt " << l1HLTPSInt.first
55 <<
" " << l1HLTPSInt.second <<
" l1HLTFrac " << l1HLTPSFrac.first <<
" " << l1HLTPSFrac.second
56 <<
" l1HLTDoubleFrac " << l1HLTPSDoubleFrac.first <<
" " << l1HLTPSDoubleFrac.second << std::endl;
59 for (
const auto&
entry :
val.first) {
62 out <<
" HLT : " <<
val.second << std::endl;
65 printL1HLTDetail(
"l1HLTDetailDouble ", l1HLTDetailPSDouble,
std::cout);
66 printL1HLTDetail(
"l1HLTDetailInt ", l1HLTDetailPSInt,
std::cout);
67 printL1HLTDetail(
"l1HLTDetailFrac ", l1HLTDetailPSFrac,
std::cout);
68 std::cout <<
"---------End Event--------" << std::endl << std::endl;
void beginRun(edm::Run const &iEvent, edm::EventSetup const &) override
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.
HLTPrescaleExample(edm::ParameterSet const &iPSet)
#define DEFINE_FWK_MODULE(type)
HLTPrescaleProvider hltPSProvider_
void endRun(edm::Run const &iEvent, edm::EventSetup const &) override
std::pair< std::vector< std::pair< std::string, TL1 > >, THLT > prescaleValuesInDetail(const edm::Event &iEvent, const edm::EventSetup &iSetup, const std::string &trigger)
void analyze(edm::Event const &iEvent, edm::EventSetup const &) override
boost::rational< int > FractionalPrescale
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
T prescaleValue(const edm::Event &iEvent, const edm::EventSetup &iSetup, const std::string &trigger)
combining the two methods above