11 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"Constructor SUSY_HLT_ElecFakes::SUSY_HLT_ElecFakes " << std::endl;
23 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"Destructor SUSY_HLT_ElecFakes::~SUSY_HLT_ElecFakes " << std::endl;
32 edm::LogError(
"SUSY_HLT_ElecFakes") <<
"Initialization of HLTConfigProvider failed!!";
36 bool pathFound =
false;
38 for(
size_t j = 0; j <allTrigNames.size(); ++j) {
45 edm::LogInfo (
"SUSY_HLT_ElecFakes") <<
"Path not found" <<
"\n";
49 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"SUSY_HLT_ElecFakes::beginRun" << std::endl;
54 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"SUSY_HLT_ElecFakes::bookHistograms" << std::endl;
62 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"SUSY_HLT_ElecFakes::beginLuminosityBlock" << std::endl;
68 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"SUSY_HLT_ElecFakes::analyze" << std::endl;
77 edm::LogError (
"SUSY_HLT_ElecFakes") <<
"invalid collection: TriggerResults" <<
"\n";
83 edm::LogError (
"SUSY_HLT_ElecFakes") <<
"invalid collection: TriggerSummary" <<
"\n";
91 if( !(filterIndex >= triggerSummary->
sizeFilters()) ){
93 for(
size_t j = 0; j < keys.size(); ++j ){
105 if( !(filterIndex >= triggerSummary->
sizeFilters()) ){
107 for(
size_t j = 0; j < keys.size(); ++j ){
120 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"SUSY_HLT_ElecFakes::endLuminosityBlock" << std::endl;
126 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"SUSY_HLT_ElecFakes::endRun" << std::endl;
void endRun(edm::Run const &run, edm::EventSetup const &eSetup) override
MonitorElement * h_triggerJetPhi
T getParameter(std::string const &) const
void bookHistos(DQMStore::IBooker &)
void endLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup) override
trigger::size_type sizeFilters() const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
const std::vector< std::string > & triggerNames() const
names of trigger paths
const Keys & filterKeys(trigger::size_type index) const
trigger::size_type filterIndex(const edm::InputTag &filterTag) const
find index of filter in data-member vector from filter tag
edm::InputTag triggerJetFilter_
edm::EDGetTokenT< trigger::TriggerEvent > theTrigSummary_
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
MonitorElement * h_triggerJetEta
Single trigger physics object (e.g., an isolated muon)
const TriggerObjectCollection & getObjects() const
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
SUSY_HLT_ElecFakes(const edm::ParameterSet &ps)
MonitorElement * book1D(Args &&...args)
MonitorElement * h_triggerElEta
MonitorElement * h_triggerElPt
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
void setCurrentFolder(const std::string &fullpath)
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup) override
std::vector< size_type > Keys
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
MonitorElement * h_triggerJetPt
~SUSY_HLT_ElecFakes() override
MonitorElement * h_triggerElPhi
HLTConfigProvider fHltConfig
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
edm::InputTag triggerFilter_