CMS 3D CMS Logo

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 
32 // #include <FWCore/Framework/interface/EDAnalyzer.h>
34 
38 
42 
47 
49 #include "CSCDQM_Logger.h"
50 #include "CSCDQM_Configuration.h"
51 #include "CSCDQM_Dispatcher.h"
52 #include "CSCMonitorModule.h"
53 
55 #include "CSCMonitorObject.h"
56 
58 //static const char DIR_EVENTINFO[] = "CSC/EventInfo/";
59 //static const char DIR_DCSINFO[] = "CSC/EventInfo/DCSContents/";
60 //static const char DIR_DAQINFO[] = "CSC/EventInfo/DAQContents/";
61 //static const char DIR_CRTINFO[] = "CSC/EventInfo/CertificationContents/";
62 
68 
73  public:
74 
76  virtual ~CSCOfflineClient();
77 
78  private:
79 
82  // DQMStore *dbe;
84  std::vector<std::string> maskedHW;
85 
90  public:
91 
92  bool getCSCDetId(const unsigned int crateId, const unsigned int dmbId, CSCDetId& detId) const override{ return false; }
94 
99  protected:
100 
101  // void beginJob() { }
102  // void beginRun(const edm::Run& r, const edm::EventSetup& c) { }
103  void setup() { }
104  //void analyze(const edm::Event& e, const edm::EventSetup& c) { }
105  // void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& context) { }
106  // void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& iSetup) { }
107  // void endRun(const edm::Run& r, const edm::EventSetup& c);
108  // void endJob() { }
109  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override; //performed in the endJob
110 
111 };
112 
113 #endif
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Monitoring Object interface used to cover Root object and provide common interface to EventProcessor ...
cscdqm::MonitorObject * bookMonitorObject(const cscdqm::HistoBookRequest &p_req) override
Book Monitor Object on Request.
DQMStore::IBooker * ibooker
CSCDQM Framework frontend and Histogram Cache controller.
bool getCSCDetId(const unsigned int crateId, const unsigned int dmbId, CSCDetId &detId) const override
virtual ~CSCOfflineClient()
Destructor.
CSCDQM Framework Global Configuration.
cscdqm::Dispatcher * dispatcher
Global stuff.
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...
std::vector< std::string > maskedHW