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
AlcaBeamSpotProducer::refBStime
std::time_t refBStime[2]
Definition: AlcaBeamSpotProducer.h:44
AlcaBeamSpotProducer::~AlcaBeamSpotProducer
~AlcaBeamSpotProducer() override
Definition: AlcaBeamSpotProducer.cc:62
EDProducer.h
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
AlcaBeamSpotProducer::beginLumiOfBSFit_
int beginLumiOfBSFit_
Definition: AlcaBeamSpotProducer.h:42
AlcaBeamSpotProducer::theBeamFitter
BeamFitter * theBeamFitter
Definition: AlcaBeamSpotProducer.h:51
AlcaBeamSpotProducer::endLumiOfBSFit_
int endLumiOfBSFit_
Definition: AlcaBeamSpotProducer.h:43
AlcaBeamSpotProducer::countEvt_
int countEvt_
Definition: AlcaBeamSpotProducer.h:39
AlcaBeamSpotProducer::fitNLumi_
int fitNLumi_
Definition: AlcaBeamSpotProducer.h:37
AlcaBeamSpotProducer::resetFitNLumi_
int resetFitNLumi_
Definition: AlcaBeamSpotProducer.h:38
edm::one::EDProducer
Definition: EDProducer.h:30
AlcaBeamSpotProducer::beginLuminosityBlock
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final
Definition: AlcaBeamSpotProducer.cc:72
AlcaBeamSpotProducer::ftotalevents
int ftotalevents
Definition: AlcaBeamSpotProducer.h:36
BeamFitter
Definition: BeamFitter.h:40
AlcaBeamSpotProducer
Definition: AlcaBeamSpotProducer.h:24
AlcaBeamSpotProducer::write2DB_
bool write2DB_
Definition: AlcaBeamSpotProducer.h:46
AlcaBeamSpotProducer::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) final
Definition: AlcaBeamSpotProducer.cc:65
edm::ParameterSet
Definition: ParameterSet.h:36
AlcaBeamSpotProducer::AlcaBeamSpotProducer
AlcaBeamSpotProducer(const edm::ParameterSet &)
Definition: AlcaBeamSpotProducer.cc:34
Event.h
AlcaBeamSpotProducer::countLumi_
int countLumi_
Definition: AlcaBeamSpotProducer.h:40
AlcaBeamSpotProducer::ftmprun0
int ftmprun0
Definition: AlcaBeamSpotProducer.h:41
AlcaBeamSpotProducer::inputBeamWidth_
double inputBeamWidth_
Definition: AlcaBeamSpotProducer.h:49
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::EventSetup
Definition: EventSetup.h:57
AlcaBeamSpotProducer::endLuminosityBlock
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) final
Definition: AlcaBeamSpotProducer.cc:87
Frameworkfwd.h
AlcaBeamSpotProducer::runbeamwidthfit_
bool runbeamwidthfit_
Definition: AlcaBeamSpotProducer.h:47
BeamFitter.h
AlcaBeamSpotProducer::runallfitters_
bool runallfitters_
Definition: AlcaBeamSpotProducer.h:48
ParameterSet.h
AlcaBeamSpotProducer::ftmprun
int ftmprun
Definition: AlcaBeamSpotProducer.h:41
edm::Event
Definition: Event.h:73
AlcaBeamSpotProducer::endLuminosityBlockProduce
void endLuminosityBlockProduce(edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup) final
Definition: AlcaBeamSpotProducer.cc:90