CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
28 
29  protected:
30 
31  void beginJob (void);
32  void beginRun (const edm::Run& iRun, const edm::EventSetup& iSetup);
33  void analyze (const edm::Event& iEvent, const edm::EventSetup& iSetup);
34  void beginLuminosityBlock(const edm::LuminosityBlock& iLumi, const edm::EventSetup& iSetup);
35  void endLuminosityBlock (const edm::LuminosityBlock& iLumi, const edm::EventSetup& iSetup);
36  void endRun (const edm::Run& iRun, const edm::EventSetup& iSetup);
37  void endJob (const edm::LuminosityBlock& iLumi, const edm::EventSetup& iSetup);
38 
39  private:
40  // x,y,z,sigmax(y,z)... [run,lumi] Histo name
41  typedef std::map<std::string,std::map<std::string,std::map<std::string,MonitorElement*> > > HistosContainer;
42 
43  // x,y,z,sigmax(y,z)... [run,lumi] Histo name
44  typedef std::map<std::string,std::map<std::string,std::map<std::string,int> > > PositionContainer;
45 
46  //Parameters
49 
50  //Service variables
53 
54  //Containers
56  std::vector<std::string> varNamesV_; //x,y,z,sigmax(y,z)
57  std::multimap<std::string,std::string> histoByCategoryNames_; //run, lumi
58  std::map<edm::LuminosityBlockNumber_t,std::vector<double> > valuesMap_;
60 };
61 
62 #endif
63 
PositionContainer positionsMap_
void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup)
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_
int iEvent
Definition: GenABIO.cc:230
virtual void endJob()
Definition: EDAnalyzer.h:73
void endRun(const edm::Run &iRun, const edm::EventSetup &iSetup)
edm::ParameterSet parameters_
AlcaBeamMonitorClient(const edm::ParameterSet &)
std::map< edm::LuminosityBlockNumber_t, std::vector< double > > valuesMap_
std::vector< std::string > varNamesV_
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup)
void beginLuminosityBlock(const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup)
void endLuminosityBlock(const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup)
Definition: Run.h:43