9 edm::LogInfo(
"SUSY_HLT_PhotonMET") <<
"Constructor SUSY_HLT_PhotonMET::SUSY_HLT_PhotonMET " << std::endl;
21 edm::LogInfo(
"SUSY_HLT_PhotonMET") <<
"Destructor SUSY_HLT_PhotonMET::~SUSY_HLT_PhotonMET " << std::endl;
25 edm::LogInfo(
"SUSY_HLT_PhotonMET") <<
"SUSY_HLT_PhotonMET::bookHistograms" << std::endl;
31 edm::LogInfo(
"SUSY_HLT_PhotonMET") <<
"SUSY_HLT_PhotonMET::analyze" << std::endl;
39 edm::LogError(
"SUSY_HLT_PhotonMET") <<
"invalid met collection" 49 edm::LogError(
"SUSY_HLT_PhotonMET") <<
"invalid egamma collection" 58 edm::LogError(
"SUSY_HLT_PhotonMET") <<
"invalid collection: TriggerResults" 74 bool hasFired =
false, hasFiredBaseTrigger =
false;
76 unsigned int const numTriggers =
trigNames.size();
77 for (
unsigned int hltIndex = 0; hltIndex < numTriggers; ++hltIndex) {
83 hasFiredBaseTrigger =
true;
86 if (hasFiredBaseTrigger || !
e.isRealData()) {
107 h_recoPhotonPt = ibooker_.
book1D(
"recoPhotonPt",
"reco Photon transverse momentum; p_{T} (GeV)", 20, 0, 1000);
108 h_recoMet = ibooker_.
book1D(
"recoMet",
"reco Missing transverse energy;E_{T}^{miss} (GeV)", 20, 0, 1000);
MonitorElement * h_recoMet
MonitorElement * h_metTurnOn_den
T getParameter(std::string const &) const
MonitorElement * h_recoPhotonPt
MonitorElement * h_metTurnOn_num
virtual void setCurrentFolder(std::string const &fullpath)
~SUSY_HLT_PhotonMET() override
Log< level::Error, false > LogError
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * h_photonTurnOn_den
edm::EDGetTokenT< reco::PhotonCollection > thePhotonCollection_
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
Abs< T >::type abs(const T &t)
#define DEFINE_FWK_MODULE(type)
Log< level::Info, false > LogInfo
static const char *const trigNames[]
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * h_photonTurnOn_num
std::string triggerPathBase_
SUSY_HLT_PhotonMET(const edm::ParameterSet &ps)
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
void bookHistos(DQMStore::IBooker &)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())