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 
43 
45 
46 //
47 // class declaration
48 //
49 
51 {
52 public:
53 
56  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
57 
58 protected:
59 
60  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
61  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup) override;
62 
63 private:
64 
65  bool getHLTObj(const edm::Handle<trigger::TriggerEvent> &trigSummary, const edm::InputTag& filterTag, trigger::TriggerObject &obj) const;
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 
120 #endif // DQMOFFLINE_TRIGGER_METPLUSTRACKMONITOR_H
121 
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
#define noexcept
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
edm::InputTag trackLegFilterTag_
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:22
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
int iEvent
Definition: GenABIO.cc:230
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
std::vector< double > met_variable_binning_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
StringCutObjectSelector< reco::CaloMET, true > metSelection_
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:44