CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCOfflineClient.h
Go to the documentation of this file.
1 /*
2  * =====================================================================================
3  *
4  * Filename: CSCOfflineClient.h
5  *
6  * Description: CSC Offline module that preocess merged histograms and
7  * creates/updates fractional and efficiency objects.
8  *
9  * Version: 1.0
10  * Created: 09/20/2009 01:36:45 PM
11  * Revision: none
12  * Compiler: gcc
13  *
14  * Author: Valdas Rapsevicius (VR), valdas.rapsevicius@cern.ch
15  * Company: CERN, CH
16  *
17  * =====================================================================================
18  */
19 
20 
21 #ifndef CSCOfflineClient_H
22 #define CSCOfflineClient_H
23 
25 #include <iostream>
26 #include <cstring>
27 #include <vector>
28 #include <map>
29 #include <set>
30 
39 
44 
46 #include "CSCDQM_Logger.h"
47 #include "CSCDQM_Configuration.h"
48 #include "CSCDQM_Dispatcher.h"
49 #include "CSCMonitorModule.h"
50 
52 #include "CSCMonitorObject.h"
53 
55 //static const char DIR_EVENTINFO[] = "CSC/EventInfo/";
56 //static const char DIR_DCSINFO[] = "CSC/EventInfo/DCSContents/";
57 //static const char DIR_DAQINFO[] = "CSC/EventInfo/DAQContents/";
58 //static const char DIR_CRTINFO[] = "CSC/EventInfo/CertificationContents/";
59 
65 
70  public:
71 
73  virtual ~CSCOfflineClient();
74 
75  private:
76 
80 
85  public:
86 
87  bool getCSCDetId(const unsigned int crateId, const unsigned int dmbId, CSCDetId& detId) const { return false; }
89 
94  protected:
95 
96  void beginJob() { }
97  void beginRun(const edm::Run& r, const edm::EventSetup& c) { }
98  void setup() { }
99  void analyze(const edm::Event& e, const edm::EventSetup& c) { }
100  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& context) { }
101  void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& iSetup) { }
102  void endRun(const edm::Run& r, const edm::EventSetup& c);
103  void endJob() { }
104 
105 };
106 
107 #endif
Monitoring Object interface used to cover Root object and provide common interface to EventProcessor ...
bool getCSCDetId(const unsigned int crateId, const unsigned int dmbId, CSCDetId &detId) const
CSCDQM Framework frontend and Histogram Cache controller.
virtual ~CSCOfflineClient()
Destructor.
void endRun(const edm::Run &r, const edm::EventSetup &c)
CSCDQM Framework Global Configuration.
void analyze(const edm::Event &e, const edm::EventSetup &c)
cscdqm::Dispatcher * dispatcher
Global stuff.
void beginRun(const edm::Run &r, const edm::EventSetup &c)
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup)
cscdqm::Configuration config
CSCOfflineClient(const edm::ParameterSet &ps)
Constructor.
Interface for Histogram providing objects. Used by Event Processor to retrieve MonitorObject &#39;s and b...
cscdqm::MonitorObject * bookMonitorObject(const cscdqm::HistoBookRequest &p_req)
Book Monitor Object on Request.
Definition: Run.h:41
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)