CMS 3D CMS Logo

RPCBxTest.h
Go to the documentation of this file.
1 #ifndef RPCBxTest_H
2 #define RPCBxTest_H
3 
6 
7 #include <map>
8 #include <memory>
9 #include <string>
10 #include <vector>
11 
12 
13 class RPCBxTest:public RPCClient{
14 public:
15 
17  RPCBxTest(const edm::ParameterSet& ps);
18 
20  virtual ~RPCBxTest();
21 
23  void beginJob(DQMStore *);
24 
25  //Begin Run
26  void beginRun(const edm::Run& r, const edm::EventSetup& c);
27 
28  void getMonitorElements(std::vector<MonitorElement *> & , std::vector<RPCDetId>& );
29 
31  void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
32 
34  void analyze(const edm::Event& iEvent, const edm::EventSetup& c);
35 
37  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
38 
39  virtual void endJob(void);
40 
41  virtual void endRun(const edm::Run& r, const edm::EventSetup& c);
42 
43  private:
44  double distanceMean_;
48  double rmsCut_;
52 
53  std::vector<MonitorElement *> myBXMe_;
54  std::vector<RPCDetId> myDetIds_;
55 
59 
62  MonitorElement * BXMeanBarrel; // ClusterSize in 1 bin, Distribution
63  MonitorElement * BXMeanWheel[5]; // Mean ClusterSize, Roll vs Sector
64  MonitorElement * BXMeanDisk[10]; // Mean ClusterSize, Distribution
65 
69  MonitorElement * BXRmsDisk[10]; // Mean ClusterSize, Roll vs Sector
70  MonitorElement * BXRmsWheel[5]; // Mean ClusterSize, Distribution
71 
72 };
73 
74 #endif
void analyze(const edm::Event &iEvent, const edm::EventSetup &c)
Analyze.
Definition: RPCBxTest.cc:166
MonitorElement * BXRmsEndcapP
Definition: RPCBxTest.h:67
double distanceMean_
Definition: RPCBxTest.h:44
MonitorElement * BXRmsEndcapN
Definition: RPCBxTest.h:66
MonitorElement * BXRmsBarrel
Definition: RPCBxTest.h:68
MonitorElement * BXRmsWheel[5]
Definition: RPCBxTest.h:70
MonitorElement * BXMeanEndcapN
Definition: RPCBxTest.h:60
void beginJob(DQMStore *)
BeginJob.
Definition: RPCBxTest.cc:31
std::vector< RPCDetId > myDetIds_
Definition: RPCBxTest.h:54
void beginRun(const edm::Run &r, const edm::EventSetup &c)
Definition: RPCBxTest.cc:37
MonitorElement * BXEntriesBarrel
Definition: RPCBxTest.h:58
int nLumiSegs_
Definition: RPCBxTest.h:51
MonitorElement * BXMeanDisk[10]
Definition: RPCBxTest.h:64
int prescaleFactor_
Definition: RPCBxTest.h:47
int iEvent
Definition: GenABIO.cc:230
virtual ~RPCBxTest()
Destructor.
Definition: RPCBxTest.cc:29
virtual void endJob(void)
Definition: RPCBxTest.cc:170
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Begin Lumi block.
Definition: RPCBxTest.cc:164
MonitorElement * BXRmsDisk[10]
Definition: RPCBxTest.h:69
virtual void endRun(const edm::Run &r, const edm::EventSetup &c)
Definition: RPCBxTest.cc:176
std::string globalFolder_
Definition: RPCBxTest.h:45
void getMonitorElements(std::vector< MonitorElement * > &, std::vector< RPCDetId > &)
Definition: RPCBxTest.cc:138
DQMStore * dbe_
Definition: RPCBxTest.h:50
int entriesCut_
Definition: RPCBxTest.h:49
RPCBxTest(const edm::ParameterSet &ps)
Constructor.
Definition: RPCBxTest.cc:13
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
End Lumi Block.
Definition: RPCBxTest.cc:168
MonitorElement * BXMeanEndcapP
Definition: RPCBxTest.h:61
int numberOfDisks_
Definition: RPCBxTest.h:46
MonitorElement * BXMeanWheel[5]
Definition: RPCBxTest.h:63
MonitorElement * BXEntriesEndcapN
Definition: RPCBxTest.h:56
MonitorElement * BXEntriesEndcapP
Definition: RPCBxTest.h:57
MonitorElement * BXMeanBarrel
Definition: RPCBxTest.h:62
int numberOfRings_
Definition: RPCBxTest.h:46
std::vector< MonitorElement * > myBXMe_
Definition: RPCBxTest.h:53
double rmsCut_
Definition: RPCBxTest.h:48
Definition: Run.h:42