9 edm::LogInfo(
"SUSY_HLT_InclusiveHT") <<
"Constructor SUSY_HLT_InclusiveHT::SUSY_HLT_InclusiveHT " << std::endl;
24 edm::LogInfo(
"SUSY_HLT_InclusiveHT") <<
"Destructor SUSY_HLT_InclusiveHT::~SUSY_HLT_InclusiveHT " << std::endl;
28 edm::LogInfo(
"SUSY_HLT_InclusiveHT") <<
"SUSY_HLT_InclusiveHT::bookHistograms" << std::endl;
34 edm::LogInfo(
"SUSY_HLT_InclusiveHT") <<
"SUSY_HLT_InclusiveHT::analyze" << std::endl;
42 edm::LogError(
"SUSY_HLT_InclusiveHT") <<
"invalid collection: PFMET" 52 edm::LogError(
"SUSY_HLT_InclusiveHT") <<
"invalid collection: PFJets" 59 edm::LogError(
"SUSY_HLT_InclusiveHT") <<
"invalid collection: CaloJets" 68 edm::LogError(
"SUSY_HLT_InclusiveHT") <<
"invalid collection: TriggerResults" 79 edm::LogError(
"SUSY_HLT_InclusiveHT") <<
"invalid collection: TriggerSummary" 89 for (
size_t j = 0;
j <
keys.size(); ++
j) {
97 if (foundObject.
id() == 87) {
101 if (foundObject.
id() == 89) {
107 bool hasFired =
false, hasFiredAuxiliaryForHadronicLeg =
false;
109 unsigned int numTriggers =
trigNames.size();
110 for (
unsigned int hltIndex = 0; hltIndex < numTriggers; ++hltIndex) {
116 hasFiredAuxiliaryForHadronicLeg =
true;
119 if (hasFiredAuxiliaryForHadronicLeg || !
e.isRealData()) {
128 pfHT += i_pfjet->pt();
132 for (reco::CaloJetCollection::const_iterator i_calojet =
caloJetCollection->begin();
142 caloHT += i_calojet->pt();
173 h_pfMet = ibooker_.
book1D(
"pfMet",
"PF Missing E_{T}; GeV", 20, 0.0, 500.0);
175 h_pfHT = ibooker_.
book1D(
"pfHT",
"PF H_{T}; GeV", 30, 0.0, 1500.0);
176 h_caloHT = ibooker_.
book1D(
"caloHT",
"Calo H_{T}; GeV", 30, 0.0, 1500.0);
177 h_pfJetPt = ibooker_.
book1D(
"pfJetPt",
"PFJet P_{T}; GeV", 20, 0.0, 500.0);
180 h_caloJetPt = ibooker_.
book1D(
"caloJetPt",
"CaloJet P_{T}; GeV", 20, 0.0, 500.0);
MonitorElement * h_pfHTTurnOn_num
SUSY_HLT_InclusiveHT(const edm::ParameterSet &ps)
T getParameter(std::string const &) const
std::string triggerPathAuxiliaryForHadronic_
MonitorElement * h_caloHT
virtual void setCurrentFolder(std::string const &fullpath)
~SUSY_HLT_InclusiveHT() override
MonitorElement * h_pfJetEta
MonitorElement * h_pfHTTurnOn_den
Log< level::Error, false > LogError
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
T getUntrackedParameter(std::string const &, T const &) const
Single trigger physics object (e.g., an isolated muon)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
edm::InputTag triggerFilter_
edm::EDGetTokenT< trigger::TriggerEvent > theTrigSummary_
#define DEFINE_FWK_MODULE(type)
MonitorElement * h_pfMetPhi
MonitorElement * h_pfMetTurnOn_num
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
MonitorElement * h_caloJetEta
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
Log< level::Info, false > LogInfo
MonitorElement * h_pfJetPt
static const char *const trigNames[]
MonitorElement * h_triggerMetPt
MonitorElement * h_triggerHT
void bookHistos(DQMStore::IBooker &)
std::vector< size_type > Keys
MonitorElement * h_caloJetPt
MonitorElement * h_pfMetTurnOn_den
MonitorElement * h_caloJetPhi
MonitorElement * h_triggerMetPhi
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * h_pfJetPhi
edm::EDGetTokenT< reco::CaloJetCollection > theCaloJetCollection_
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_