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
17
// C++ standard
18
#include <string>
19
// CMS
20
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
21
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
22
#include "
FWCore/Framework/interface/Event.h
"
23
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
24
#include "
RecoVertex/BeamSpotProducer/interface/BeamFitter.h
"
25
26
27
class
BeamSpotAnalyzer
:
public
edm::EDAnalyzer
{
28
public
:
29
explicit
BeamSpotAnalyzer
(
const
edm::ParameterSet
&);
30
~BeamSpotAnalyzer
();
31
32
private
:
33
virtual
void
beginJob
() ;
34
virtual
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&);
35
virtual
void
endJob
() ;
36
virtual
void
beginLuminosityBlock
(
const
edm::LuminosityBlock
& lumiSeg,
37
const
edm::EventSetup
& context) ;
38
virtual
void
endLuminosityBlock
(
const
edm::LuminosityBlock
& lumiSeg,
39
const
edm::EventSetup
&
c
);
40
41
int
ftotalevents
;
42
int
fitNLumi_
;
43
int
resetFitNLumi_
;
44
int
countEvt_
;
//counter
45
int
countLumi_
;
//counter
46
int
Org_resetFitNLumi_
;
47
int
previousLumi_
;
48
int
previousRun_
;
49
int
ftmprun0
,
ftmprun
;
50
int
beginLumiOfBSFit_
;
51
int
endLumiOfBSFit_
;
52
std::time_t
refBStime
[2];
53
54
bool
write2DB_
;
55
bool
runbeamwidthfit_
;
56
bool
runallfitters_
;
57
double
inputBeamWidth_
;
58
59
BeamFitter
*
theBeamFitter
;
60
};
61
62
#endif
BeamSpotAnalyzer::beginLuminosityBlock
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context)
Definition:
BeamSpotAnalyzer.cc:77
BeamFitter
Definition:
BeamFitter.h:33
BeamSpotAnalyzer::countLumi_
int countLumi_
Definition:
BeamSpotAnalyzer.h:45
BeamSpotAnalyzer
Definition:
BeamSpotAnalyzer.h:27
BeamSpotAnalyzer::endLumiOfBSFit_
int endLumiOfBSFit_
Definition:
BeamSpotAnalyzer.h:51
Event.h
BeamSpotAnalyzer::ftmprun0
int ftmprun0
Definition:
BeamSpotAnalyzer.h:49
BeamSpotAnalyzer::previousRun_
int previousRun_
Definition:
BeamSpotAnalyzer.h:48
edm::LuminosityBlock
Definition:
LuminosityBlock.h:37
BeamSpotAnalyzer::previousLumi_
int previousLumi_
Definition:
BeamSpotAnalyzer.h:47
BeamSpotAnalyzer::inputBeamWidth_
double inputBeamWidth_
Definition:
BeamSpotAnalyzer.h:57
BeamSpotAnalyzer::runbeamwidthfit_
bool runbeamwidthfit_
Definition:
BeamSpotAnalyzer.h:55
Frameworkfwd.h
BeamSpotAnalyzer::countEvt_
int countEvt_
Definition:
BeamSpotAnalyzer.h:44
BeamFitter.h
BeamSpotAnalyzer::fitNLumi_
int fitNLumi_
Definition:
BeamSpotAnalyzer.h:42
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:50
BeamSpotAnalyzer::resetFitNLumi_
int resetFitNLumi_
Definition:
BeamSpotAnalyzer.h:43
BeamSpotAnalyzer::runallfitters_
bool runallfitters_
Definition:
BeamSpotAnalyzer.h:56
BeamSpotAnalyzer::refBStime
std::time_t refBStime[2]
Definition:
BeamSpotAnalyzer.h:52
BeamSpotAnalyzer::write2DB_
bool write2DB_
Definition:
BeamSpotAnalyzer.h:54
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:14
EDAnalyzer.h
BeamSpotAnalyzer::Org_resetFitNLumi_
int Org_resetFitNLumi_
Definition:
BeamSpotAnalyzer.h:46
BeamSpotAnalyzer::endJob
virtual void endJob()
Definition:
BeamSpotAnalyzer.cc:170
trackerHits.c
tuple c
Definition:
trackerHits.py:26
BeamSpotAnalyzer::theBeamFitter
BeamFitter * theBeamFitter
Definition:
BeamSpotAnalyzer.h:59
BeamSpotAnalyzer::ftmprun
int ftmprun
Definition:
BeamSpotAnalyzer.h:49
BeamSpotAnalyzer::BeamSpotAnalyzer
BeamSpotAnalyzer(const edm::ParameterSet &)
Definition:
BeamSpotAnalyzer.cc:28
BeamSpotAnalyzer::ftotalevents
int ftotalevents
Definition:
BeamSpotAnalyzer.h:41
edm::ParameterSet
Definition:
ParameterSet.h:35
BeamSpotAnalyzer::~BeamSpotAnalyzer
~BeamSpotAnalyzer()
Definition:
BeamSpotAnalyzer.cc:53
edm::Event
Definition:
Event.h:50
Generated for CMSSW Reference Manual by
1.8.5