CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BeamSpotAnalyzer.h
Go to the documentation of this file.
1 #ifndef BeamSpotProducer_BeamSpotAnalyzer_h
2 #define BeamSpotProducer_BeamSpotAnalyzer_h
3 
16 // C++ standard
17 #include <string>
18 // CMS
24 
25 
27  public:
28  explicit BeamSpotAnalyzer(const edm::ParameterSet&);
30 
31  private:
32  virtual void beginJob() ;
33  virtual void analyze(const edm::Event&, const edm::EventSetup&);
34  virtual void endJob() ;
35  virtual void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
36  const edm::EventSetup& context) ;
37  virtual void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
38  const edm::EventSetup& c);
39 
41  int fitNLumi_;
43  int countEvt_; //counter
44  int countLumi_; //counter
51  std::time_t refBStime[2];
52 
53  bool write2DB_;
57 
59 };
60 
61 #endif
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
virtual void beginJob()
std::time_t refBStime[2]
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
virtual void endJob()
BeamFitter * theBeamFitter
BeamSpotAnalyzer(const edm::ParameterSet &)