CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlcaBeamSpotProducer.h
Go to the documentation of this file.
1 #ifndef TkAlCaRecoProducer_AlcaBeamSpotProducer_h
2 #define TkAlCaRecoProducer_AlcaBeamSpotProducer_h
3 
16 // C++ standard
17 #include <string>
18 // CMS
24 
25 
26 class AlcaBeamSpotProducer : public edm::one::EDProducer<edm::EndLuminosityBlockProducer,
27  edm::one::WatchLuminosityBlocks> {
28  public:
29  explicit AlcaBeamSpotProducer(const edm::ParameterSet&);
31 
32  private:
33  virtual void beginLuminosityBlock (edm::LuminosityBlock const& lumiSeg, const edm::EventSetup& iSetup) override final;
34  virtual void endLuminosityBlock (edm::LuminosityBlock const& lumiSeg, const edm::EventSetup& iSetup) override final;
35  virtual void endLuminosityBlockProduce(edm::LuminosityBlock& lumiSeg, const edm::EventSetup& iSetup) override final;
36  virtual void produce (edm::Event& iEvent, const edm::EventSetup& iSetup) override final;
37 
39  int fitNLumi_;
41  int countEvt_; //counter
42  int countLumi_; //counter
46  std::time_t refBStime[2];
47 
48  bool write2DB_;
52 
54 };
55 
56 #endif
virtual void endLuminosityBlockProduce(edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup) overridefinal
virtual void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) overridefinal
int iEvent
Definition: GenABIO.cc:230
AlcaBeamSpotProducer(const edm::ParameterSet &)
virtual void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) overridefinal
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) overridefinal