1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#ifndef __HistoWrapper__
#define __HistoWrapper__
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DQMServices/Core/interface/DQMStore.h"
typedef dqm::legacy::DQMStore DQMStore;
#include "DQMServices/Core/interface/MonitorElement.h"
typedef dqm::legacy::MonitorElement MonitorElement;
enum PL { kEverything, kVital };
class HistoWrapper {
public:
HistoWrapper(const edm::ParameterSet&);
~HistoWrapper();
MonitorElement* book1D(DQMStore::IBooker& iBooker,
TString const& name,
TString const& title,
int const nchX,
double const lowX,
double const highX,
int level = kEverything);
MonitorElement* book2D(DQMStore::IBooker& iBooker,
TString const& name,
TString const& title,
int nchX,
double lowX,
double highX,
int nchY,
double lowY,
double highY,
int level = kEverything);
private:
PL plotlevel;
int cAllHistograms;
int cPlottedHistograms;
};
#endif
|