00001 #ifndef RPCClusterSizeTest_H 00002 #define RPCClusterSizeTest_H 00003 00004 #include "DQM/RPCMonitorClient/interface/RPCClient.h" 00005 #include "DQMServices/Core/interface/DQMStore.h" 00006 00007 #include <map> 00008 #include <memory> 00009 #include <string> 00010 #include <vector> 00011 00012 00013 class RPCClusterSizeTest:public RPCClient{ 00014 public: 00015 00017 RPCClusterSizeTest(const edm::ParameterSet& ps); 00018 00020 virtual ~RPCClusterSizeTest(); 00021 00023 void beginJob(DQMStore *, std::string); 00024 00025 //Begin Run 00026 void endRun(const edm::Run& r, const edm::EventSetup& c ); 00027 00028 00030 void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ; 00031 00033 void analyze(const edm::Event& iEvent, const edm::EventSetup& c); 00034 00036 void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c); 00037 00038 void endJob(void); 00039 00040 void beginRun(const edm::Run& r, const edm::EventSetup& c); 00041 00042 void clientOperation(edm::EventSetup const& c); 00043 00044 void getMonitorElements(std::vector<MonitorElement *> & , std::vector<RPCDetId> &); 00045 00046 private: 00047 00048 std::string globalFolder_; 00049 int numberOfDisks_; 00050 int numberOfRings_; 00051 int prescaleFactor_; 00052 bool testMode_; 00053 DQMStore* dbe_; 00054 bool useRollInfo_; 00055 std::vector<MonitorElement *> myClusterMe_; 00056 std::vector<RPCDetId> myDetIds_; 00057 00058 00059 MonitorElement * CLSWheel[5]; // ClusterSize in 1 bin, Roll vs Sector 00060 MonitorElement * CLSDWheel[5]; // ClusterSize in 1 bin, Distribution 00061 MonitorElement * MEANWheel[5]; // Mean ClusterSize, Roll vs Sector 00062 MonitorElement * MEANDWheel[5]; // Mean ClusterSize, Distribution 00063 00064 MonitorElement * CLSDisk[10]; // ClusterSize in 1 bin, Roll vs Sector 00065 MonitorElement * CLSDDisk[10]; // ClusterSize in 1 bin, Distribution 00066 MonitorElement * MEANDisk[10]; // Mean ClusterSize, Roll vs Sector 00067 MonitorElement * MEANDDisk[10]; // Mean ClusterSize, Distribution 00068 00069 }; 00070 00071 #endif