|
|
Go to the documentation of this file.
9 edm::LogInfo(
"SUSY_HLT_PhotonHT") <<
"Constructor SUSY_HLT_PhotonHT::SUSY_HLT_PhotonHT " << std::endl;
24 edm::LogInfo(
"SUSY_HLT_PhotonHT") <<
"Destructor SUSY_HLT_PhotonHT::~SUSY_HLT_PhotonHT " << std::endl;
28 edm::LogInfo(
"SUSY_HLT_PhotonHT") <<
"SUSY_HLT_PhotonHT::bookHistograms" << std::endl;
34 edm::LogInfo(
"SUSY_HLT_PhotonHT") <<
"SUSY_HLT_PhotonHT::analyze" << std::endl;
42 edm::LogError(
"SUSY_HLT_PhotonHT") <<
"invalid met collection"
52 edm::LogError(
"SUSY_HLT_PhotonHT") <<
"invalid egamma collection"
61 edm::LogError(
"SUSY_HLT_PhotonHT") <<
"invalid collection: TriggerResults"
72 edm::LogError(
"SUSY_HLT_PhotonHT") <<
"invalid collection: TriggerSummary"
82 if (filterIndexPhoton < triggerSummary->sizeFilters()) {
93 if (filterIndexHt < triggerSummary->sizeFilters()) {
101 bool hasFired =
false, hasFiredAuxiliaryForHadronicLeg =
false;
103 unsigned int numTriggers =
trigNames.size();
104 for (
unsigned int hltIndex = 0; hltIndex < numTriggers; ++hltIndex) {
110 hasFiredAuxiliaryForHadronicLeg =
true;
113 if (hasFiredAuxiliaryForHadronicLeg || !
e.isRealData()) {
135 h_photonPt = ibooker_.
book1D(
"photonPt",
"Photon transverse momentum; p_{T} (GeV)", 20, 0, 500);
136 h_ht = ibooker_.
book1D(
"ht",
"Hadronic activity;H_{T} (GeV)", 20, 0, 2000);
static const char *const trigNames[]
MonitorElement * h_htTurnOn_den
virtual void setCurrentFolder(std::string const &fullpath)
T getUntrackedParameter(std::string const &, T const &) const
edm::InputTag triggerFilterPhoton_
std::string triggerPathAuxiliaryForHadronic_
edm::InputTag triggerFilterHt_
MonitorElement * h_htTurnOn_num
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
#define DEFINE_FWK_MODULE(type)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
std::vector< size_type > Keys
void bookHistos(DQMStore::IBooker &)
edm::EDGetTokenT< reco::PhotonCollection > thePhotonCollection_
~SUSY_HLT_PhotonHT() override
T getParameter(std::string const &) const
MonitorElement * h_photonPt
edm::EDGetTokenT< trigger::TriggerEvent > theTrigSummary_
SUSY_HLT_PhotonHT(const edm::ParameterSet &ps)
MonitorElement * h_photonTurnOn_num
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * h_photonTurnOn_den