CMS 3D CMS Logo

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&);
29  ~BeamSpotAnalyzer() override;
30 
31  private:
32  void beginJob() override ;
33  void analyze(const edm::Event&, const edm::EventSetup&) override;
34  void endJob() override ;
35  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
36  const edm::EventSetup& context) override ;
37  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg,
38  const edm::EventSetup& c) override;
39 
41  int fitNLumi_;
43  // int countEvt_; //counter
44  int countLumi_; //counter
51  std::time_t refBStime[2];
52 
53  bool write2DB_;
56  // double inputBeamWidth_;
57 
59 };
60 
61 #endif
~BeamSpotAnalyzer() override
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override
void endJob() override
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
std::time_t refBStime[2]
void analyze(const edm::Event &, const edm::EventSetup &) override
void beginJob() override
BeamFitter * theBeamFitter
BeamSpotAnalyzer(const edm::ParameterSet &)