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
CSCMonitorObject.h
DQMEDHarvester.h
CSCDQM_Logger.h
CSCCrateMapRcd.h
CSCDQM_Dispatcher.h
ESHandle.h
CSCOfflineClient::dispatcher
cscdqm::Dispatcher * dispatcher
Definition: CSCOfflineClient.h:76
CSCOfflineClient::getCSCDetId
bool getCSCDetId(const unsigned int crateId, const unsigned int dmbId, CSCDetId &detId) const override
Definition: CSCOfflineClient.h:86
DQMStore.h
CSCOfflineClient::config
cscdqm::Configuration config
Definition: CSCOfflineClient.h:75
CSCOfflineClient
Global stuff.
Definition: CSCOfflineClient.h:65
CSCDetId.h
CSCDQM_Configuration.h
CSCOfflineClient::maskedHW
std::vector< std::string > maskedHW
Definition: CSCOfflineClient.h:79
Service.h
cscdqm::HistoBookRequest
Definition: CSCDQM_MonitorObjectProvider.h:31
CSCOfflineClient::CSCOfflineClient
CSCOfflineClient(const edm::ParameterSet &ps)
Constructor.
Definition: CSCOfflineClient.cc:25
CSCOfflineClient::bookMonitorObject
cscdqm::MonitorObject * bookMonitorObject(const cscdqm::HistoBookRequest &p_req) override
Book Monitor Object on Request.
Definition: CSCOfflineClient.cc:134
edm::ParameterSet
Definition: ParameterSet.h:47
CSCOfflineClient::setup
void setup()
Definition: CSCOfflineClient.h:98
CSCOfflineClient::~CSCOfflineClient
~CSCOfflineClient() override
Destructor.
Definition: CSCOfflineClient.cc:41
CSCDetId
Definition: CSCDetId.h:26
CSCMonitorModule.h
CSCOfflineClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition: CSCOfflineClient.cc:88
cscdqm::Configuration
CSCDQM Framework Global Configuration.
Definition: CSCDQM_Configuration.h:231
DQMEDHarvester
Definition: DQMEDHarvester.py:1
CSCOfflineClient::ibooker
DQMStore::IBooker * ibooker
Definition: CSCOfflineClient.h:78
dqm::implementation::IGetter
Definition: DQMStore.h:484
cscdqm::Dispatcher
CSCDQM Framework frontend and Histogram Cache controller.
Definition: CSCDQM_Dispatcher.h:115
EventSetup.h
cscdqm::MonitorObject
Monitoring Object interface used to cover Root object and provide common interface to EventProcessor ...
Definition: CSCDQM_MonitorObject.h:35
dqm::implementation::IBooker
Definition: DQMStore.h:43
ParameterSet.h
cscdqm::MonitorObjectProvider
Interface for Histogram providing objects. Used by Event Processor to retrieve MonitorObject 's and b...
Definition: CSCDQM_MonitorObjectProvider.h:124
CSCCrateMap.h