11 edm::LogInfo(
"SUSY_HLT_MuonFakes") <<
"Constructor SUSY_HLT_MuonFakes::SUSY_HLT_MuonFakes " << std::endl;
22 edm::LogInfo(
"SUSY_HLT_MuonFakes") <<
"Destructor SUSY_HLT_MuonFakes::~SUSY_HLT_MuonFakes " << std::endl;
31 edm::LogError(
"SUSY_HLT_MuonFakes") <<
"Initialization of HLTConfigProvider failed!!";
35 bool pathFound =
false;
37 for(
size_t j = 0;
j <allTrigNames.size(); ++
j) {
44 edm::LogInfo (
"SUSY_HLT_MuonFakes") <<
"Path not found" <<
"\n";
47 edm::LogInfo(
"SUSY_HLT_MuonFakes") <<
"SUSY_HLT_MuonFakes::beginRun" << std::endl;
52 edm::LogInfo(
"SUSY_HLT_MuonFakes") <<
"SUSY_HLT_MuonFakes::bookHistograms" << std::endl;
60 edm::LogInfo(
"SUSY_HLT_MuonFakes") <<
"SUSY_HLT_MuonFakes::beginLuminosityBlock" << std::endl;
66 edm::LogInfo(
"SUSY_HLT_MuonFakes") <<
"SUSY_HLT_MuonFakes::analyze" << std::endl;
75 edm::LogError (
"SUSY_HLT_MuonFakes") <<
"invalid collection: TriggerResults" <<
"\n";
81 edm::LogError (
"SUSY_HLT_MuonFakes") <<
"invalid collection: TriggerSummary" <<
"\n";
87 std::vector<float> ptMuon, etaMuon, phiMuon;
88 size_t filterIndex = triggerSummary->filterIndex(
triggerFilter_ );
90 if( !(filterIndex >= triggerSummary->sizeFilters()) ){
92 for(
size_t j = 0;
j < keys.size(); ++
j ){
94 if(foundObject.
id() == 13){
98 ptMuon.push_back(foundObject.
pt());
99 etaMuon.push_back(foundObject.
eta());
100 phiMuon.push_back(foundObject.
phi());
118 edm::LogInfo(
"SUSY_HLT_MuonFakes") <<
"SUSY_HLT_MuonFakes::endLuminosityBlock" << std::endl;
124 edm::LogInfo(
"SUSY_HLT_MuonFakes") <<
"SUSY_HLT_MuonFakes::endRun" << std::endl;
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
T getParameter(std::string const &) const
virtual ~SUSY_HLT_MuonFakes()
SUSY_HLT_MuonFakes(const edm::ParameterSet &ps)
void bookHistos(DQMStore::IBooker &)
HLTConfigProvider fHltConfig
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
#define DEFINE_FWK_MODULE(type)
const std::vector< std::string > & triggerNames() const
names of trigger paths
void endLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup)
MonitorElement * h_triggerMuEta
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Single trigger physics object (e.g., an isolated muon)
edm::InputTag triggerFilter_
MonitorElement * book1D(Args &&...args)
edm::EDGetTokenT< trigger::TriggerEvent > theTrigSummary_
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
void analyze(edm::Event const &e, edm::EventSetup const &eSetup)
MonitorElement * h_triggerMuPhi
void setCurrentFolder(const std::string &fullpath)
MonitorElement * h_triggerMuPt
std::vector< size_type > Keys
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup)