CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ,const std::vector<MonitorElement *>& , const std::vector<RPCDetId>&);
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  virtual void endJob(void);
39 
40  virtual void endRun(const edm::Run& r, const edm::EventSetup& c);
41 
42  private:
43  double distanceMean_;
47  double rmsCut_;
51 
52  std::vector<MonitorElement *> myBXMe_;
53  std::vector<RPCDetId> myDetIds_;
54 
58 
61  MonitorElement * BXMeanBarrel; // ClusterSize in 1 bin, Distribution
62  MonitorElement * BXMeanWheel[5]; // Mean ClusterSize, Roll vs Sector
63  MonitorElement * BXMeanDisk[10]; // Mean ClusterSize, Distribution
64 
68  MonitorElement * BXRmsDisk[10]; // Mean ClusterSize, Roll vs Sector
69  MonitorElement * BXRmsWheel[5]; // Mean ClusterSize, Distribution
70 
71 };
72 
73 #endif
void analyze(const edm::Event &iEvent, const edm::EventSetup &c)
Analyze.
Definition: RPCBxTest.cc:164
MonitorElement * BXRmsEndcapP
Definition: RPCBxTest.h:66
double distanceMean_
Definition: RPCBxTest.h:43
MonitorElement * BXRmsEndcapN
Definition: RPCBxTest.h:65
MonitorElement * BXRmsBarrel
Definition: RPCBxTest.h:67
MonitorElement * BXRmsWheel[5]
Definition: RPCBxTest.h:69
MonitorElement * BXMeanEndcapN
Definition: RPCBxTest.h:59
void beginJob(DQMStore *)
BeginJob.
Definition: RPCBxTest.cc:31
std::vector< RPCDetId > myDetIds_
Definition: RPCBxTest.h:53
MonitorElement * BXEntriesBarrel
Definition: RPCBxTest.h:57
int nLumiSegs_
Definition: RPCBxTest.h:50
MonitorElement * BXMeanDisk[10]
Definition: RPCBxTest.h:63
int prescaleFactor_
Definition: RPCBxTest.h:46
int iEvent
Definition: GenABIO.cc:243
virtual ~RPCBxTest()
Destructor.
Definition: RPCBxTest.cc:29
virtual void endJob(void)
Definition: RPCBxTest.cc:168
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Begin Lumi block.
Definition: RPCBxTest.cc:161
MonitorElement * BXRmsDisk[10]
Definition: RPCBxTest.h:68
virtual void endRun(const edm::Run &r, const edm::EventSetup &c)
Definition: RPCBxTest.cc:184
std::string globalFolder_
Definition: RPCBxTest.h:44
DQMStore * dbe_
Definition: RPCBxTest.h:49
int entriesCut_
Definition: RPCBxTest.h:48
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:166
MonitorElement * BXMeanEndcapP
Definition: RPCBxTest.h:60
int numberOfDisks_
Definition: RPCBxTest.h:45
void beginRun(const edm::Run &r, const edm::EventSetup &c, const std::vector< MonitorElement * > &, const std::vector< RPCDetId > &)
Definition: RPCBxTest.cc:37
MonitorElement * BXMeanWheel[5]
Definition: RPCBxTest.h:62
MonitorElement * BXEntriesEndcapN
Definition: RPCBxTest.h:55
MonitorElement * BXEntriesEndcapP
Definition: RPCBxTest.h:56
MonitorElement * BXMeanBarrel
Definition: RPCBxTest.h:61
int numberOfRings_
Definition: RPCBxTest.h:45
std::vector< MonitorElement * > myBXMe_
Definition: RPCBxTest.h:52
double rmsCut_
Definition: RPCBxTest.h:47
Definition: Run.h:41