CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/Calibration/TkAlCaRecoProducers/interface/AlcaBeamSpotProducer.h

Go to the documentation of this file.
00001 #ifndef TkAlCaRecoProducer_AlcaBeamSpotProducer_h
00002 #define TkAlCaRecoProducer_AlcaBeamSpotProducer_h
00003 
00017 // C++ standard
00018 #include <string>
00019 // CMS
00020 #include "FWCore/Framework/interface/Frameworkfwd.h"
00021 #include "FWCore/Framework/interface/EDProducer.h"
00022 #include "FWCore/Framework/interface/Event.h"
00023 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00024 #include "RecoVertex/BeamSpotProducer/interface/BeamFitter.h"
00025 
00026 
00027 class AlcaBeamSpotProducer : public edm::EDProducer {
00028  public:
00029   explicit AlcaBeamSpotProducer(const edm::ParameterSet&);
00030   ~AlcaBeamSpotProducer();
00031 
00032  private:
00033   virtual void beginLuminosityBlock(edm::LuminosityBlock& lumiSeg, const edm::EventSetup& iSetup);
00034   virtual void endLuminosityBlock  (edm::LuminosityBlock& lumiSeg, const edm::EventSetup& iSetup);
00035   virtual void produce             (edm::Event& iEvent, const edm::EventSetup& iSetup);
00036   
00037   int ftotalevents;
00038   int fitNLumi_;
00039   int resetFitNLumi_;
00040   int countEvt_;       //counter
00041   int countLumi_;      //counter
00042   int ftmprun0, ftmprun;
00043   int beginLumiOfBSFit_;
00044   int endLumiOfBSFit_;
00045   std::time_t refBStime[2];
00046 
00047   bool write2DB_;
00048   bool runbeamwidthfit_;
00049   bool runallfitters_;
00050   double inputBeamWidth_;
00051 
00052   BeamFitter * theBeamFitter;
00053 };
00054 
00055 #endif