CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCClusterSizeTest.h
Go to the documentation of this file.
1 #ifndef RPCClusterSizeTest_H
2 #define RPCClusterSizeTest_H
3 
6 
7 #include <map>
8 #include <memory>
9 #include <string>
10 #include <vector>
11 
12 
14  public:
15 
18 
20  virtual ~RPCClusterSizeTest();
21 
23  void beginJob(DQMStore *, std::string);
24 
25  //Begin Run
26  void endRun(const edm::Run& r, const edm::EventSetup& c );
27 
28 
30  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
31 
33  void analyze(const edm::Event& iEvent, const edm::EventSetup& c);
34 
36  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
37 
38  void endJob(void);
39 
40  void beginRun(const edm::Run& r, const edm::EventSetup& c);
41 
42  void clientOperation(edm::EventSetup const& c);
43 
44  void getMonitorElements(std::vector<MonitorElement *> & , std::vector<RPCDetId> &);
45 
46  private:
47 
52  bool testMode_;
55  std::vector<MonitorElement *> myClusterMe_;
56  std::vector<RPCDetId> myDetIds_;
57  enum MEArraySizes {
58  kWheels = 5,
59  kDisks = 10
60  };
61 
62  MonitorElement * CLSWheel[kWheels]; // ClusterSize in 1 bin, Roll vs Sector
63  MonitorElement * CLSDWheel[kWheels]; // ClusterSize in 1 bin, Distribution
64  MonitorElement * MEANWheel[kWheels]; // Mean ClusterSize, Roll vs Sector
65  MonitorElement * MEANDWheel[kWheels]; // Mean ClusterSize, Distribution
66 
67  MonitorElement * CLSDisk[kDisks]; // ClusterSize in 1 bin, Roll vs Sector
68  MonitorElement * CLSDDisk[kDisks]; // ClusterSize in 1 bin, Distribution
69  MonitorElement * MEANDisk[kDisks]; // Mean ClusterSize, Roll vs Sector
70  MonitorElement * MEANDDisk[kDisks]; // Mean ClusterSize, Distribution
71 
72  void resetMEArrays(void);
73 };
74 
75 #endif
void clientOperation(edm::EventSetup const &c)
MonitorElement * MEANWheel[kWheels]
void beginRun(const edm::Run &r, const edm::EventSetup &c)
MonitorElement * MEANDWheel[kWheels]
MonitorElement * CLSDisk[kDisks]
MonitorElement * CLSDWheel[kWheels]
int iEvent
Definition: GenABIO.cc:243
void getMonitorElements(std::vector< MonitorElement * > &, std::vector< RPCDetId > &)
MonitorElement * MEANDisk[kDisks]
MonitorElement * MEANDDisk[kDisks]
std::vector< MonitorElement * > myClusterMe_
void endRun(const edm::Run &r, const edm::EventSetup &c)
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Begin Lumi block.
void analyze(const edm::Event &iEvent, const edm::EventSetup &c)
Analyze.
RPCClusterSizeTest(const edm::ParameterSet &ps)
Constructor.
std::vector< RPCDetId > myDetIds_
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
End Lumi Block.
MonitorElement * CLSDDisk[kDisks]
void beginJob(DQMStore *, std::string)
BeginJob.
MonitorElement * CLSWheel[kWheels]
Definition: Run.h:41
virtual ~RPCClusterSizeTest()
Destructor.