CMS 3D CMS Logo

BeamSpotAnalyzer.h
Go to the documentation of this file.
1 #ifndef BeamSpotProducer_BeamSpotAnalyzer_h
2 #define BeamSpotProducer_BeamSpotAnalyzer_h
3 
15 // C++ standard
16 #include <string>
17 // CMS
23 
25 public:
26  explicit BeamSpotAnalyzer(const edm::ParameterSet&);
27  ~BeamSpotAnalyzer() override;
28 
29 private:
30  void beginJob() override;
31  void analyze(const edm::Event&, const edm::EventSetup&) override;
32  void endJob() override;
33  void beginLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& context) override;
34  void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c) override;
35 
37  int fitNLumi_;
39  // int countEvt_; //counter
40  int countLumi_; //counter
47  std::time_t refBStime[2];
48 
49  bool write2DB_;
52  // double inputBeamWidth_;
53 
55 };
56 
57 #endif
BeamSpotAnalyzer::runbeamwidthfit_
bool runbeamwidthfit_
Definition: BeamSpotAnalyzer.h:50
BeamSpotAnalyzer::ftmprun
int ftmprun
Definition: BeamSpotAnalyzer.h:44
BeamSpotAnalyzer::BeamSpotAnalyzer
BeamSpotAnalyzer(const edm::ParameterSet &)
Definition: BeamSpotAnalyzer.cc:27
BeamSpotAnalyzer::fitNLumi_
int fitNLumi_
Definition: BeamSpotAnalyzer.h:37
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
BeamSpotAnalyzer::write2DB_
bool write2DB_
Definition: BeamSpotAnalyzer.h:49
EDAnalyzer.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
BeamSpotAnalyzer::Org_resetFitNLumi_
int Org_resetFitNLumi_
Definition: BeamSpotAnalyzer.h:41
BeamSpotAnalyzer::theBeamFitter
BeamFitter * theBeamFitter
Definition: BeamSpotAnalyzer.h:54
BeamSpotAnalyzer::~BeamSpotAnalyzer
~BeamSpotAnalyzer() override
Definition: BeamSpotAnalyzer.cc:53
BeamSpotAnalyzer::previousRun_
int previousRun_
Definition: BeamSpotAnalyzer.h:43
BeamFitter
Definition: BeamFitter.h:40
BeamSpotAnalyzer::ftotalevents
int ftotalevents
Definition: BeamSpotAnalyzer.h:36
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
BeamSpotAnalyzer::beginLuminosityBlock
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override
Definition: BeamSpotAnalyzer.cc:64
BeamSpotAnalyzer::endLuminosityBlock
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
Definition: BeamSpotAnalyzer.cc:84
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
BeamSpotAnalyzer::resetFitNLumi_
int resetFitNLumi_
Definition: BeamSpotAnalyzer.h:38
Frameworkfwd.h
BeamSpotAnalyzer::beginJob
void beginJob() override
Definition: BeamSpotAnalyzer.cc:61
BeamSpotAnalyzer::beginLumiOfBSFit_
int beginLumiOfBSFit_
Definition: BeamSpotAnalyzer.h:45
BeamSpotAnalyzer::refBStime
std::time_t refBStime[2]
Definition: BeamSpotAnalyzer.h:47
BeamSpotAnalyzer::countLumi_
int countLumi_
Definition: BeamSpotAnalyzer.h:40
BeamSpotAnalyzer::runallfitters_
bool runallfitters_
Definition: BeamSpotAnalyzer.h:51
BeamSpotAnalyzer::previousLumi_
int previousLumi_
Definition: BeamSpotAnalyzer.h:42
BeamFitter.h
BeamSpotAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: BeamSpotAnalyzer.cc:55
BeamSpotAnalyzer::endLumiOfBSFit_
int endLumiOfBSFit_
Definition: BeamSpotAnalyzer.h:46
BeamSpotAnalyzer::endJob
void endJob() override
Definition: BeamSpotAnalyzer.cc:149
ParameterSet.h
BeamSpotAnalyzer::ftmprun0
int ftmprun0
Definition: BeamSpotAnalyzer.h:44
edm::Event
Definition: Event.h:73
BeamSpotAnalyzer
Definition: BeamSpotAnalyzer.h:24