|
|
Go to the documentation of this file.
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);
static const char *const trigNames[]
MonitorElement * h_recoMet
MonitorElement * h_photonTurnOn_den
std::string triggerPathBase_
MonitorElement * h_metTurnOn_num
virtual void setCurrentFolder(std::string const &fullpath)
T getUntrackedParameter(std::string const &, T const &) const
Log< level::Info, false > LogInfo
edm::EDGetTokenT< reco::PhotonCollection > thePhotonCollection_
#define DEFINE_FWK_MODULE(type)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void bookHistos(DQMStore::IBooker &)
MonitorElement * h_recoPhotonPt
MonitorElement * h_metTurnOn_den
Log< level::Error, false > LogError
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
SUSY_HLT_PhotonMET(const edm::ParameterSet &ps)
T getParameter(std::string const &) const
Abs< T >::type abs(const T &t)
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
MonitorElement * h_photonTurnOn_num
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
~SUSY_HLT_PhotonMET() override
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())