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;
63 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"SUSY_HLT_ElecFakes::analyze" << std::endl;
72 edm::LogError (
"SUSY_HLT_ElecFakes") <<
"invalid collection: TriggerResults" <<
"\n";
78 edm::LogError (
"SUSY_HLT_ElecFakes") <<
"invalid collection: TriggerSummary" <<
"\n";
86 if( !(filterIndex >= triggerSummary->
sizeFilters()) ){
88 for(
size_t j = 0; j < keys.size(); ++j ){
100 if( !(filterIndex >= triggerSummary->
sizeFilters()) ){
102 for(
size_t j = 0; j < keys.size(); ++j ){
117 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 &)
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)
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_