CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlcaBeamMonitor.h
Go to the documentation of this file.
1 #ifndef DQM_BeamMonitor_AlcaBeamMonitor_h
2 #define DQM_BeamMonitor_AlcaBeamMonitor_h
3 
9 // C++
10 #include <map>
11 #include <vector>
12 #include <string>
13 // CMS
24 
25 class BeamFitter;
26 class PVFitter;
27 
29  public:
32 
33  protected:
34 
35  void beginJob (void);
36  void beginRun (const edm::Run& iRun, const edm::EventSetup& iSetup);
37  void analyze (const edm::Event& iEvent, const edm::EventSetup& iSetup);
38  void beginLuminosityBlock(const edm::LuminosityBlock& iLumi, const edm::EventSetup& iSetup);
39  void endLuminosityBlock (const edm::LuminosityBlock& iLumi, const edm::EventSetup& iSetup);
40  void endRun (const edm::Run& iRun, const edm::EventSetup& iSetup);
41  void endJob (const edm::LuminosityBlock& iLumi, const edm::EventSetup& iSetup);
42 
43  private:
44  //Typedefs
45  // BF,BS...
46  typedef std::map<std::string,reco::BeamSpot> BeamSpotContainer;
47  // x,y,z,sigmax(y,z)... [run,lumi] Histo name
48  typedef std::map<std::string,std::map<std::string,std::map<std::string,MonitorElement*> > > HistosContainer;
49  // x,y,z,sigmax(y,z)... [run,lumi] Histo name
50  typedef std::map<std::string,std::map<std::string,std::map<std::string,int> > > PositionContainer;
51 
52  //Parameters
59 
60  //Service variables
65 
66  // MonitorElements:
70 
71  //Containers
75  std::vector<std::string> varNamesV_; //x,y,z,sigmax(y,z)
76  std::multimap<std::string,std::string> histoByCategoryNames_; //run, lumi
77  std::vector<reco::VertexCollection> vertices_;
78 
79 };
80 
81 #endif
82 
83 
84 // Local Variables:
85 // show-trailing-whitespace: t
86 // truncate-lines: t
87 // End:
MonitorElement * hD0Phi0_
edm::EDGetTokenT< reco::TrackCollection > trackLabel_
MonitorElement * hDxyBS_
edm::EDGetTokenT< reco::VertexCollection > primaryVertexLabel_
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup)
PositionContainer positionsMap_
void endRun(const edm::Run &iRun, const edm::EventSetup &iSetup)
edm::InputTag beamSpotLabel_
std::vector< std::string > varNamesV_
int iEvent
Definition: GenABIO.cc:230
AlcaBeamMonitor(const edm::ParameterSet &)
void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup)
edm::EDGetTokenT< reco::BeamSpot > scalerLabel_
std::map< std::string, std::map< std::string, std::map< std::string, int > > > PositionContainer
BeamSpotContainer beamSpotsMap_
BeamFitter * theBeamFitter_
virtual void endJob()
Definition: EDAnalyzer.h:73
std::map< std::string, reco::BeamSpot > BeamSpotContainer
PVFitter * thePVFitter_
std::multimap< std::string, std::string > histoByCategoryNames_
std::map< std::string, std::map< std::string, std::map< std::string, MonitorElement * > > > HistosContainer
void beginLuminosityBlock(const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup)
HistosContainer histosMap_
void endLuminosityBlock(const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup)
std::string monitorName_
edm::ParameterSet parameters_
MonitorElement * theValuesContainer_
Definition: Run.h:43
std::vector< reco::VertexCollection > vertices_