CMS 3D CMS Logo

METplusTrackMonitor.h
Go to the documentation of this file.
1 #ifndef DQMOFFLINE_TRIGGER_METPLUSTRACKMONITOR_H
2 #define DQMOFFLINE_TRIGGER_METPLUSTRACKMONITOR_H
3 
4 #include <string>
5 #include <vector>
6 #include <map>
7 
20 
24 
26 
29 
30 // DataFormats
42 
44 
45 //
46 // class declaration
47 //
48 
50 public:
53 
56  static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
57 
58 protected:
59  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
60  void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override;
61 
62 private:
64  const edm::InputTag &filterTag,
66 
69 
75 
79 
80  std::vector<double> met_variable_binning_;
81  std::vector<double> muonPt_variable_binning_;
82 
88 
90  ObjME metVsLS_;
91  ObjME metPhiME_;
93  ObjME metVsHltMet_;
95 
97  ObjME muonPtVsLS_;
98  ObjME muonEtaME_;
101 
102  std::unique_ptr<GenericTriggerEventFlag> num_genTriggerEventFlag_;
103  std::unique_ptr<GenericTriggerEventFlag> den_genTriggerEventFlag_;
104 
109 
110  unsigned nmuons_;
111  unsigned njets_;
112 
114 
117 };
118 
119 #endif // DQMOFFLINE_TRIGGER_METPLUSTRACKMONITOR_H
edm::EDGetTokenT< reco::PFJetCollection > jetToken_
edm::InputTag hltMetCleanTag_
METplusTrackMonitor(const edm::ParameterSet &)
bool getHLTObj(const edm::Handle< trigger::TriggerEvent > &trigSummary, const edm::InputTag &filterTag, trigger::TriggerObject &obj) const
dqm::reco::MonitorElement MonitorElement
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
edm::InputTag trackLegFilterTag_
dqm::reco::DQMStore DQMStore
std::vector< double > muonPt_variable_binning_
edm::EDGetTokenT< reco::MuonCollection > muonToken_
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
Single trigger physics object (e.g., an isolated muon)
Definition: TriggerObject.h:21
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
int iEvent
Definition: GenABIO.cc:224
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
std::vector< double > met_variable_binning_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
StringCutObjectSelector< reco::CaloMET, true > metSelection_
#define noexcept
StringCutObjectSelector< reco::PFJet, true > jetSelection_
StringCutObjectSelector< reco::Muon, true > muonSelection_
edm::EDGetTokenT< reco::VertexCollection > vtxToken_
StringCutObjectSelector< reco::Vertex, true > vtxSelection_
edm::EDGetTokenT< reco::CaloMETCollection > metToken_
~METplusTrackMonitor()(true) override
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< trigger::TriggerEvent > theTrigSummary_
Definition: Run.h:45