|
|
Go to the documentation of this file.
9 edm::LogInfo(
"SUSY_HLT_MuonFakes") <<
"Constructor SUSY_HLT_MuonFakes::SUSY_HLT_MuonFakes " << std::endl;
19 edm::LogInfo(
"SUSY_HLT_MuonFakes") <<
"Destructor SUSY_HLT_MuonFakes::~SUSY_HLT_MuonFakes " << std::endl;
26 edm::LogError(
"SUSY_HLT_MuonFakes") <<
"Initialization of HLTConfigProvider failed!!";
30 bool pathFound =
false;
32 for (
size_t j = 0;
j < allTrigNames.size(); ++
j) {
43 edm::LogInfo(
"SUSY_HLT_MuonFakes") <<
"SUSY_HLT_MuonFakes::beginRun" << std::endl;
47 edm::LogInfo(
"SUSY_HLT_MuonFakes") <<
"SUSY_HLT_MuonFakes::bookHistograms" << std::endl;
53 edm::LogInfo(
"SUSY_HLT_MuonFakes") <<
"SUSY_HLT_MuonFakes::analyze" << std::endl;
61 edm::LogError(
"SUSY_HLT_MuonFakes") <<
"invalid collection: TriggerResults"
68 edm::LogError(
"SUSY_HLT_MuonFakes") <<
"invalid collection: TriggerSummary"
74 std::vector<float> ptMuon, etaMuon, phiMuon;
79 for (
size_t j = 0;
j <
keys.size(); ++
j) {
81 if (foundObject.
id() == 13) {
85 ptMuon.push_back(foundObject.
pt());
86 etaMuon.push_back(foundObject.
eta());
87 phiMuon.push_back(foundObject.
phi());
MonitorElement * h_triggerMuEta
MonitorElement * h_triggerMuPhi
virtual void setCurrentFolder(std::string const &fullpath)
Log< level::Info, false > LogInfo
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
~SUSY_HLT_MuonFakes() override
SUSY_HLT_MuonFakes(const edm::ParameterSet &ps)
#define DEFINE_FWK_MODULE(type)
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
void bookHistos(DQMStore::IBooker &)
Single trigger physics object (e.g., an isolated muon)
HLTConfigProvider fHltConfig
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
std::vector< size_type > Keys
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Log< level::Error, false > LogError
edm::EDGetTokenT< trigger::TriggerEvent > theTrigSummary_
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
T getParameter(std::string const &) const
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
const std::vector< std::string > & triggerNames() const
names of trigger paths
edm::InputTag triggerFilter_
MonitorElement * h_triggerMuPt
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())