Alignment
SurveyAnalysis
interface
SurveyInputBase.h
Go to the documentation of this file.
1
#ifndef Alignment_SurveyAnalysis_SurveyInputBase_h
2
#define Alignment_SurveyAnalysis_SurveyInputBase_h
3
13
#include "
FWCore/Framework/interface/one/EDAnalyzer.h
"
14
15
class
Alignable
;
16
17
class
SurveyInputBase
:
public
edm::one::EDAnalyzer
<> {
18
public
:
19
~SurveyInputBase
()
override
;
20
22
void
beginJob
()
override
{
theFirstEvent
=
true
; }
23
25
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
= 0;
26
28
inline
static
Alignable
*
detector
();
29
32
static
void
addComponent
(
Alignable
*);
33
34
protected
:
35
bool
theFirstEvent
;
36
37
private
:
38
static
Alignable
*
theDetector
;
// only one detector
39
};
40
41
Alignable
*
SurveyInputBase::detector
() {
return
theDetector
; }
42
43
#endif
SurveyInputBase::theDetector
static Alignable * theDetector
Definition:
SurveyInputBase.h:38
Alignable
Definition:
Alignable.h:27
SurveyInputBase::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override=0
Do nothing for each event.
SurveyInputBase::addComponent
static void addComponent(Alignable *)
Definition:
SurveyInputBase.cc:13
edm::EventSetup
Definition:
EventSetup.h:56
SurveyInputBase::detector
static Alignable * detector()
Get alignable detector as read from input.
Definition:
SurveyInputBase.h:41
SurveyInputBase::beginJob
void beginJob() override
Read data from input.
Definition:
SurveyInputBase.h:22
SurveyInputBase::~SurveyInputBase
~SurveyInputBase() override
Definition:
SurveyInputBase.cc:7
SurveyInputBase
Definition:
SurveyInputBase.h:17
EDAnalyzer.h
SurveyInputBase::theFirstEvent
bool theFirstEvent
Definition:
SurveyInputBase.h:35
edm::Event
Definition:
Event.h:73
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
Generated for CMSSW Reference Manual by
1.8.14