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
21 //#include "DataFormats/VertexReco/interface/Vertex.h"
22 //#include "DataFormats/VertexReco/interface/VertexFwd.h"
23 
25  public:
27  ~AlcaBeamMonitorClient() override;
28 
29  protected:
30 
31  void beginJob (void) override;
32  void beginRun (const edm::Run& iRun, const edm::EventSetup& iSetup) override;
33  void analyze (const edm::Event& iEvent, const edm::EventSetup& iSetup) override;
34  void endLuminosityBlock (const edm::LuminosityBlock& iLumi, const edm::EventSetup& iSetup) override;
35  void endRun (const edm::Run& iRun, const edm::EventSetup& iSetup) override;
36 
37  private:
38  // x,y,z,sigmax(y,z)... [run,lumi] Histo name
39  typedef std::map<std::string,std::map<std::string,std::map<std::string,MonitorElement*> > > HistosContainer;
40 
41  // x,y,z,sigmax(y,z)... [run,lumi] Histo name
42  typedef std::map<std::string,std::map<std::string,std::map<std::string,int> > > PositionContainer;
43 
44  //Parameters
47 
48  //Service variables
51 
52  //Containers
53  HistosContainer histosMap_;
54  std::vector<std::string> varNamesV_; //x,y,z,sigmax(y,z)
55  std::multimap<std::string,std::string> histoByCategoryNames_; //run, lumi
56  std::map<edm::LuminosityBlockNumber_t,std::vector<double> > valuesMap_;
57  PositionContainer positionsMap_;
58 };
59 
60 #endif
61 
void beginJob(void) override
PositionContainer positionsMap_
void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
std::map< std::string, std::map< std::string, std::map< std::string, int > > > PositionContainer
std::map< std::string, std::map< std::string, std::map< std::string, MonitorElement * > > > HistosContainer
std::multimap< std::string, std::string > histoByCategoryNames_
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
int iEvent
Definition: GenABIO.cc:224
void endRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
edm::ParameterSet parameters_
AlcaBeamMonitorClient(const edm::ParameterSet &)
std::map< edm::LuminosityBlockNumber_t, std::vector< double > > valuesMap_
std::vector< std::string > varNamesV_
void endLuminosityBlock(const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) override
Definition: Run.h:45