10 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"Constructor SUSY_HLT_ElecFakes::SUSY_HLT_ElecFakes " << std::endl;
21 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"Destructor SUSY_HLT_ElecFakes::~SUSY_HLT_ElecFakes " << std::endl;
28 edm::LogError(
"SUSY_HLT_ElecFakes") <<
"Initialization of HLTConfigProvider failed!!";
32 bool pathFound =
false;
34 for (
size_t j = 0; j < allTrigNames.size(); ++j) {
46 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"SUSY_HLT_ElecFakes::beginRun" << std::endl;
50 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"SUSY_HLT_ElecFakes::bookHistograms" << std::endl;
56 edm::LogInfo(
"SUSY_HLT_ElecFakes") <<
"SUSY_HLT_ElecFakes::analyze" << std::endl;
64 edm::LogError(
"SUSY_HLT_ElecFakes") <<
"invalid collection: TriggerResults" 70 if (!triggerSummary.
isValid()) {
71 edm::LogError(
"SUSY_HLT_ElecFakes") <<
"invalid collection: TriggerSummary" 79 if (!(filterIndex >= triggerSummary->
sizeFilters())) {
81 for (
size_t j = 0; j < keys.size(); ++j) {
93 if (!(filterIndex >= triggerSummary->
sizeFilters())) {
95 for (
size_t j = 0; j < keys.size(); ++j) {
105 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
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)
#define DEFINE_FWK_MODULE(type)
void setCurrentFolder(std::string const &fullpath)
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)
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_