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 #ifndef CSCOfflineClient_H
21 #define CSCOfflineClient_H
22 
24 #include <iostream>
25 #include <cstring>
26 #include <vector>
27 #include <map>
28 #include <set>
29 
31 // #include <FWCore/Framework/interface/EDAnalyzer.h>
33 
36 
40 
45 
47 #include "CSCDQM_Logger.h"
48 #include "CSCDQM_Configuration.h"
49 #include "CSCDQM_Dispatcher.h"
50 #include "CSCMonitorModule.h"
51 
53 #include "CSCMonitorObject.h"
54 
56 //static const char DIR_EVENTINFO[] = "CSC/EventInfo/";
57 //static const char DIR_DCSINFO[] = "CSC/EventInfo/DCSContents/";
58 //static const char DIR_DAQINFO[] = "CSC/EventInfo/DAQContents/";
59 //static const char DIR_CRTINFO[] = "CSC/EventInfo/CertificationContents/";
60 
70 public:
72  ~CSCOfflineClient() override;
73 
74 private:
77  // DQMStore *dbe;
79  std::vector<std::string> maskedHW;
80 
85 public:
86  bool getCSCDetId(const unsigned int crateId, const unsigned int dmbId, CSCDetId &detId) const override {
87  return false;
88  }
90 
95 protected:
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  void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override; //performed in the endJob
105 };
106 
107 #endif
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
~CSCOfflineClient() override
Destructor.
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.
CSCDQM Framework Global Configuration.
cscdqm::Dispatcher * dispatcher
Global stuff.
bool getCSCDetId(const unsigned int crateId, const unsigned int dmbId, CSCDetId &detId) const override
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