CMS 3D CMS Logo

DQMCorrelationClient.h
Go to the documentation of this file.
1 #ifndef DQMCORRELATIONCLIENT_H
2 #define DQMCORRELATIONCLIENT_H
3 
4 //Framework
8 
12 
13 //DQM
17 
18 struct MEPSet {
21  bool profileX;
22 };
23 
24 struct OutputMEPSet {
27  bool doXaxis;
28  int nbinsX;
29  double xminX;
30  double xmaxX;
31  bool doYaxis;
32  int nbinsY;
33  double xminY;
34  double xmaxY;
35 };
36 
38 
39  public:
40 
42  ~DQMCorrelationClient() override = default;
43  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
44  static void fillMePSetDescription(edm::ParameterSetDescription & pset);
45  static void fillOutputMePSetDescription(edm::ParameterSetDescription & pset);
46 
47  protected:
48 
49  void beginJob() override;
50  void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const&) override; //performed in the endLumi
51  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override; //performed in the endJob
52 
53  private:
54 
55  static MEPSet getHistoPSet (edm::ParameterSet pset);
56  static OutputMEPSet getOutputHistoPSet(edm::ParameterSet pset);
57 
58  TH1* getTH1(MonitorElement* me, bool profileX);
59  void setAxisTitle(MonitorElement* meX, MonitorElement* meY);
60 
61 //private variables
62 
63  //variables from config file
64  bool me1onX_;
65 
66  // Histograms
68 
72 
73 };
74 
75 
76 #endif // DQMCORRELATIONCLIENT_H
MonitorElement * correlation_
std::string folder
void beginJob()
Definition: Breakpoints.cc:14
std::string folder
std::string name
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)