RecoVertex
BeamSpotProducer
interface
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
18
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
19
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
20
#include "
FWCore/Framework/interface/Event.h
"
21
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
22
#include "
RecoVertex/BeamSpotProducer/interface/BeamFitter.h
"
23
24
class
BeamSpotAnalyzer
:
public
edm::EDAnalyzer
{
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
36
int
ftotalevents
;
37
int
fitNLumi_
;
38
int
resetFitNLumi_
;
39
// int countEvt_; //counter
40
int
countLumi_
;
//counter
41
int
Org_resetFitNLumi_
;
42
int
previousLumi_
;
43
int
previousRun_
;
44
int
ftmprun0
,
ftmprun
;
45
int
beginLumiOfBSFit_
;
46
int
endLumiOfBSFit_
;
47
std::time_t
refBStime
[2];
48
49
bool
write2DB_
;
50
bool
runbeamwidthfit_
;
51
bool
runallfitters_
;
52
// double inputBeamWidth_;
53
54
BeamFitter
*
theBeamFitter
;
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:28
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:41
BeamSpotAnalyzer::ftotalevents
int ftotalevents
Definition:
BeamSpotAnalyzer.h:36
edm::ParameterSet
Definition:
ParameterSet.h:47
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
Generated for CMSSW Reference Manual by
1.8.16