|
|
Go to the documentation of this file.
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);
void bookHistos(DQMStore::IBooker &)
static const char *const trigNames[]
void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override
virtual void setCurrentFolder(std::string const &fullpath)
edm::EDGetTokenT< reco::CaloJetCollection > theCaloJetCollection_
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< trigger::TriggerEvent > theTrigSummary_
edm::InputTag triggerFilter_
Log< level::Info, false > LogInfo
edm::EDGetTokenT< edm::TriggerResults > triggerResults_
MonitorElement * h_pfMetPhi
MonitorElement * h_caloJetPt
#define DEFINE_FWK_MODULE(type)
SUSY_HLT_InclusiveHT(const edm::ParameterSet &ps)
MonitorElement * h_pfMetTurnOn_den
MonitorElement * h_triggerMetPt
~SUSY_HLT_InclusiveHT() override
std::string triggerPathAuxiliaryForHadronic_
Single trigger physics object (e.g., an isolated muon)
MonitorElement * h_caloJetPhi
MonitorElement * h_pfJetPhi
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
MonitorElement * h_pfHTTurnOn_den
MonitorElement * h_triggerMetPhi
std::vector< size_type > Keys
Log< level::Error, false > LogError
edm::EDGetTokenT< reco::PFMETCollection > thePfMETCollection_
MonitorElement * h_pfHTTurnOn_num
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
T getParameter(std::string const &) const
MonitorElement * h_caloHT
MonitorElement * h_pfMetTurnOn_num
MonitorElement * h_pfJetPt
MonitorElement * h_triggerHT
MonitorElement * h_caloJetEta
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
edm::EDGetTokenT< reco::PFJetCollection > thePfJetCollection_
MonitorElement * h_pfJetEta