CMS 3D CMS Logo

AlcaBeamMonitorClient.h
Go to the documentation of this file.
1 #ifndef DQM_BeamMonitor_AlcaBeamMonitorClient_h
2 #define DQM_BeamMonitor_AlcaBeamMonitorClient_h
3 
9 // C++
10 #include <map>
11 #include <vector>
12 #include <string>
13 // CMS
20 //#include "DataFormats/VertexReco/interface/Vertex.h"
21 //#include "DataFormats/VertexReco/interface/VertexFwd.h"
22 
24 public:
27 
29  ~AlcaBeamMonitorClient() override;
30 
31 protected:
32  void beginJob(void) override;
33  void beginRun(const edm::Run& iRun, const edm::EventSetup& iSetup) override;
34  void analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) override;
35  void endLuminosityBlock(const edm::LuminosityBlock& iLumi, const edm::EventSetup& iSetup) override;
36  void endRun(const edm::Run& iRun, const edm::EventSetup& iSetup) override;
37 
38 private:
39  // x,y,z,sigmax(y,z)... [run,lumi] Histo name
40  typedef std::map<std::string, std::map<std::string, std::map<std::string, MonitorElement*> > > HistosContainer;
41 
42  // x,y,z,sigmax(y,z)... [run,lumi] Histo name
43  typedef std::map<std::string, std::map<std::string, std::map<std::string, int> > > PositionContainer;
44 
45  //Parameters
48 
49  //Service variables
52 
53  //Containers
55  std::vector<std::string> varNamesV_; //x,y,z,sigmax(y,z)
56  std::multimap<std::string, std::string> histoByCategoryNames_; //run, lumi
57  std::map<edm::LuminosityBlockNumber_t, std::vector<double> > valuesMap_;
59 };
60 
61 #endif
AlcaBeamMonitorClient::positionsMap_
PositionContainer positionsMap_
Definition: AlcaBeamMonitorClient.h:58
AlcaBeamMonitorClient::histosMap_
HistosContainer histosMap_
Definition: AlcaBeamMonitorClient.h:54
AlcaBeamMonitorClient::PositionContainer
std::map< std::string, std::map< std::string, std::map< std::string, int > > > PositionContainer
Definition: AlcaBeamMonitorClient.h:43
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
AlcaBeamMonitorClient
Definition: AlcaBeamMonitorClient.h:23
AlcaBeamMonitorClient::~AlcaBeamMonitorClient
~AlcaBeamMonitorClient() override
Definition: AlcaBeamMonitorClient.cc:59
DQMStore.h
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
AlcaBeamMonitorClient::numberOfValuesToSave_
int numberOfValuesToSave_
Definition: AlcaBeamMonitorClient.h:50
EDAnalyzer.h
AlcaBeamMonitorClient::AlcaBeamMonitorClient
AlcaBeamMonitorClient(const edm::ParameterSet &)
Definition: AlcaBeamMonitorClient.cc:23
LuminosityBlockID.h
AlcaBeamMonitorClient::analyze
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: AlcaBeamMonitorClient.cc:70
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
dqm::legacy::DQMStore
Definition: DQMStore.h:727
AlcaBeamMonitorClient::endLuminosityBlock
void endLuminosityBlock(const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) override
Definition: AlcaBeamMonitorClient.cc:73
AlcaBeamMonitorClient::HistosContainer
std::map< std::string, std::map< std::string, std::map< std::string, MonitorElement * > > > HistosContainer
Definition: AlcaBeamMonitorClient.h:40
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
AlcaBeamMonitorClient::varNamesV_
std::vector< std::string > varNamesV_
Definition: AlcaBeamMonitorClient.h:55
AlcaBeamMonitorClient::beginJob
void beginJob(void) override
Definition: AlcaBeamMonitorClient.cc:62
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
AlcaBeamMonitorClient::endRun
void endRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
Definition: AlcaBeamMonitorClient.cc:86
AlcaBeamMonitorClient::monitorName_
std::string monitorName_
Definition: AlcaBeamMonitorClient.h:47
AlcaBeamMonitorClient::parameters_
edm::ParameterSet parameters_
Definition: AlcaBeamMonitorClient.h:46
iEvent
int iEvent
Definition: GenABIO.cc:224
AlcaBeamMonitorClient::histoByCategoryNames_
std::multimap< std::string, std::string > histoByCategoryNames_
Definition: AlcaBeamMonitorClient.h:56
edm::EventSetup
Definition: EventSetup.h:58
Frameworkfwd.h
AlcaBeamMonitorClient::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: AlcaBeamMonitorClient.h:25
AlcaBeamMonitorClient::valuesMap_
std::map< edm::LuminosityBlockNumber_t, std::vector< double > > valuesMap_
Definition: AlcaBeamMonitorClient.h:57
ParameterSet.h
edm::Event
Definition: Event.h:73
AlcaBeamMonitorClient::dbe_
DQMStore * dbe_
Definition: AlcaBeamMonitorClient.h:51
AlcaBeamMonitorClient::beginRun
void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
Definition: AlcaBeamMonitorClient.cc:65
AlcaBeamMonitorClient::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: AlcaBeamMonitorClient.h:26