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";
89 size_t filterIndex = triggerSummary->filterIndex(
triggerFilter_ );
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;
MonitorElement * h_triggerJetPhi
T getParameter(std::string const &) const
void bookHistos(DQMStore::IBooker &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
const std::vector< std::string > & triggerNames() const
names of trigger paths
void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
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)
virtual ~SUSY_HLT_ElecFakes()
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)
std::vector< size_type > Keys
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
void analyze(edm::Event const &e, edm::EventSetup const &eSetup)
MonitorElement * h_triggerJetPt
MonitorElement * h_triggerElPhi
HLTConfigProvider fHltConfig
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup)
void endLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup)
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
edm::InputTag triggerFilter_