Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoVertex
BeamSpotProducer
interface
BeamSpotAnalyzer.h
Go to the documentation of this file.
1
#ifndef BeamSpotProducer_BeamSpotAnalyzer_h
2
#define BeamSpotProducer_BeamSpotAnalyzer_h
3
16
// C++ standard
17
#include <string>
18
// CMS
19
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
20
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
21
#include "
FWCore/Framework/interface/Event.h
"
22
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
23
#include "
RecoVertex/BeamSpotProducer/interface/BeamFitter.h
"
24
25
26
class
BeamSpotAnalyzer
:
public
edm::EDAnalyzer
{
27
public
:
28
explicit
BeamSpotAnalyzer
(
const
edm::ParameterSet
&);
29
~BeamSpotAnalyzer
();
30
31
private
:
32
virtual
void
beginJob
() ;
33
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
34
virtual
void
endJob
() ;
35
virtual
void
beginLuminosityBlock
(
const
edm::LuminosityBlock
& lumiSeg,
36
const
edm::EventSetup
& context) ;
37
virtual
void
endLuminosityBlock
(
const
edm::LuminosityBlock
& lumiSeg,
38
const
edm::EventSetup
&
c
);
39
40
int
ftotalevents
;
41
int
fitNLumi_
;
42
int
resetFitNLumi_
;
43
int
countEvt_
;
//counter
44
int
countLumi_
;
//counter
45
int
Org_resetFitNLumi_
;
46
int
previousLumi_
;
47
int
previousRun_
;
48
int
ftmprun0
,
ftmprun
;
49
int
beginLumiOfBSFit_
;
50
int
endLumiOfBSFit_
;
51
std::time_t
refBStime
[2];
52
53
bool
write2DB_
;
54
bool
runbeamwidthfit_
;
55
bool
runallfitters_
;
56
double
inputBeamWidth_
;
57
58
BeamFitter
*
theBeamFitter
;
59
};
60
61
#endif
BeamSpotAnalyzer::beginLuminosityBlock
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
Definition:
BeamSpotAnalyzer.cc:77
BeamFitter
Definition:
BeamFitter.h:38
BeamSpotAnalyzer::countLumi_
int countLumi_
Definition:
BeamSpotAnalyzer.h:44
BeamSpotAnalyzer
Definition:
BeamSpotAnalyzer.h:26
BeamSpotAnalyzer::endLumiOfBSFit_
int endLumiOfBSFit_
Definition:
BeamSpotAnalyzer.h:50
Event.h
BeamSpotAnalyzer::ftmprun0
int ftmprun0
Definition:
BeamSpotAnalyzer.h:48
BeamSpotAnalyzer::previousRun_
int previousRun_
Definition:
BeamSpotAnalyzer.h:47
edm::LuminosityBlock
Definition:
LuminosityBlock.h:47
BeamSpotAnalyzer::previousLumi_
int previousLumi_
Definition:
BeamSpotAnalyzer.h:46
BeamSpotAnalyzer::inputBeamWidth_
double inputBeamWidth_
Definition:
BeamSpotAnalyzer.h:56
BeamSpotAnalyzer::runbeamwidthfit_
bool runbeamwidthfit_
Definition:
BeamSpotAnalyzer.h:54
Frameworkfwd.h
BeamSpotAnalyzer::countEvt_
int countEvt_
Definition:
BeamSpotAnalyzer.h:43
BeamFitter.h
BeamSpotAnalyzer::fitNLumi_
int fitNLumi_
Definition:
BeamSpotAnalyzer.h:41
BeamSpotAnalyzer::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition:
BeamSpotAnalyzer.cc:60
ParameterSet.h
BeamSpotAnalyzer::beginJob
virtual void beginJob()
Definition:
BeamSpotAnalyzer.cc:71
BeamSpotAnalyzer::beginLumiOfBSFit_
int beginLumiOfBSFit_
Definition:
BeamSpotAnalyzer.h:49
BeamSpotAnalyzer::resetFitNLumi_
int resetFitNLumi_
Definition:
BeamSpotAnalyzer.h:42
BeamSpotAnalyzer::runallfitters_
bool runallfitters_
Definition:
BeamSpotAnalyzer.h:55
BeamSpotAnalyzer::refBStime
std::time_t refBStime[2]
Definition:
BeamSpotAnalyzer.h:51
BeamSpotAnalyzer::write2DB_
bool write2DB_
Definition:
BeamSpotAnalyzer.h:53
BeamSpotAnalyzer::endLuminosityBlock
virtual void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
Definition:
BeamSpotAnalyzer.cc:100
edm::EventSetup
Definition:
EventSetup.h:44
edm::EDAnalyzer
Definition:
EDAnalyzer.h:22
EDAnalyzer.h
BeamSpotAnalyzer::Org_resetFitNLumi_
int Org_resetFitNLumi_
Definition:
BeamSpotAnalyzer.h:45
BeamSpotAnalyzer::endJob
virtual void endJob()
Definition:
BeamSpotAnalyzer.cc:170
trackerHits.c
tuple c
Definition:
trackerHits.py:26
BeamSpotAnalyzer::theBeamFitter
BeamFitter * theBeamFitter
Definition:
BeamSpotAnalyzer.h:58
BeamSpotAnalyzer::ftmprun
int ftmprun
Definition:
BeamSpotAnalyzer.h:48
BeamSpotAnalyzer::BeamSpotAnalyzer
BeamSpotAnalyzer(const edm::ParameterSet &)
Definition:
BeamSpotAnalyzer.cc:28
BeamSpotAnalyzer::ftotalevents
int ftotalevents
Definition:
BeamSpotAnalyzer.h:40
edm::ParameterSet
Definition:
ParameterSet.h:35
BeamSpotAnalyzer::~BeamSpotAnalyzer
~BeamSpotAnalyzer()
Definition:
BeamSpotAnalyzer.cc:53
edm::Event
Definition:
Event.h:62
Generated for CMSSW Reference Manual by
1.8.5