CMS 3D CMS Logo

DiDispStaMuonMonitor.h
Go to the documentation of this file.
1 #ifndef DQMOFFLINE_TRIGGER_DIDISPSTAMUONMONITOR_H
2 #define DQMOFFLINE_TRIGGER_DIDISPSTAMUONMONITOR_H
3 
4 
5 #include <string>
6 #include <vector>
7 #include <map>
8 
21 
25 
28 
29 //DataFormats
32 
34 
35 
36 //
37 // class declaration
38 //
39 
41 {
42 public:
44  ~DiDispStaMuonMonitor() override;
45  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
48 
49  struct DiDispStaMuonME {
52  };
53 
54 protected:
55 
56  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
57  void bookME(DQMStore::IBooker &, DiDispStaMuonME& me, const std::string& histname, const std::string& histtitle, int nbins, double xmin, double xmax);
58  void bookME(DQMStore::IBooker &, DiDispStaMuonME& me, const std::string& histname, const std::string& histtitle, const std::vector<double>& binningX);
59  void bookME(DQMStore::IBooker &, DiDispStaMuonME& me, const std::string& histname, const std::string& histtitle, int nbinsX, double xmin, double xmax, double ymin, double ymax, bool bookDen);
60  void bookME(DQMStore::IBooker &, DiDispStaMuonME& me, const std::string& histname, const std::string& histtitle, int nbinsX, double xmin, double xmax, int nbinsY, double ymin, double ymax);
61  void bookME(DQMStore::IBooker &, DiDispStaMuonME& me, const std::string& histname, const std::string& histtitle, const std::vector<double>& binningX, const std::vector<double>& binningY);
62  void setTitle(DiDispStaMuonME& me, const std::string& titleX, const std::string& titleY, bool bookDen);
63 
64  void analyze(edm::Event const& iEvent, edm::EventSetup const& iSetup) override;
65 
66 private:
67  struct MEbinning {
68  unsigned int nbins;
69  double xmin;
70  double xmax;
71  };
72 
73  static MEbinning getHistoPSet (const edm::ParameterSet & pset);
74  static MEbinning getHistoLSPSet (const edm::ParameterSet & pset);
75 
78 
80 
81  std::vector<double> muonPt_variable_binning_;
87 
100 
101  std::unique_ptr<GenericTriggerEventFlag> num_genTriggerEventFlag_;
102  std::unique_ptr<GenericTriggerEventFlag> den_genTriggerEventFlag_;
103 
107  unsigned int nmuons_;
108 
109 };
110 
111 #endif //DQMOFFLINE_TRIGGER_DIDISPSTAMUONMONITOR_H
DiDispStaMuonME subMuonPtME_
~DiDispStaMuonMonitor() override
void setTitle(DiDispStaMuonME &me, const std::string &titleX, const std::string &titleY, bool bookDen)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
DiDispStaMuonME subMuonEtaME_
std::vector< double > muonPt_variable_binning_
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
DiDispStaMuonME muonPtNoDxyCutME_
static MEbinning getHistoLSPSet(const edm::ParameterSet &pset)
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
DiDispStaMuonME muonPhiME_
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
StringCutObjectSelector< reco::Track, true > muonSelectionGeneral_
int iEvent
Definition: GenABIO.cc:230
DiDispStaMuonME subMuonDxyME_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
void bookME(DQMStore::IBooker &, DiDispStaMuonME &me, const std::string &histname, const std::string &histtitle, int nbins, double xmin, double xmax)
DiDispStaMuonMonitor(const edm::ParameterSet &)
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
StringCutObjectSelector< reco::Track, true > muonSelectionPt_
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
DiDispStaMuonME muonEtaME_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
DiDispStaMuonME muonPtVsLS_
DiDispStaMuonME subMuonPtME_variableBinning_
edm::EDGetTokenT< reco::TrackCollection > muonToken_
DiDispStaMuonME muonDxyME_
DiDispStaMuonME subMuonPhiME_
StringCutObjectSelector< reco::Track, true > muonSelectionDxy_
Definition: Run.h:44
DiDispStaMuonME muonPtME_variableBinning_