CMS 3D CMS Logo

AlcaBeamSpotProducer.h
Go to the documentation of this file.
1 #ifndef TkAlCaRecoProducer_AlcaBeamSpotProducer_h
2 #define TkAlCaRecoProducer_AlcaBeamSpotProducer_h
3 
15 // C++ standard
16 #include <string>
17 // CMS
23 
25  : public edm::one::EDProducer<edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks> {
26 public:
27  explicit AlcaBeamSpotProducer(const edm::ParameterSet &);
28  ~AlcaBeamSpotProducer() override;
29 
30 private:
31  void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final;
32  void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final;
33  void endLuminosityBlockProduce(edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup) final;
34  void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) final;
35 
37  int fitNLumi_;
39  int countEvt_; // counter
40  int countLumi_; // counter
44  std::time_t refBStime[2];
45 
46  bool write2DB_;
50 
52 };
53 
54 #endif
int iEvent
Definition: GenABIO.cc:224
AlcaBeamSpotProducer(const edm::ParameterSet &)
void endLuminosityBlockProduce(edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup) final
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) final
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final