Main Page
Namespaces
Classes
Package Documentation
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/EDAnalyzer.h
"
14
15
class
Alignable
;
16
17
class
SurveyInputBase
:
18
public
edm::EDAnalyzer
19
{
20
public
:
21
22
~SurveyInputBase
()
override
;
23
25
void
beginJob
()
override
{
theFirstEvent
=
true
; }
26
28
void
analyze
(
29
const
edm::Event
&,
30
const
edm::EventSetup
&
31
)
override
= 0;
32
34
inline
static
Alignable
*
detector
();
35
38
static
void
addComponent
(
39
Alignable
*
40
);
41
42
protected
:
43
44
bool
theFirstEvent
;
45
46
private
:
47
48
static
Alignable
*
theDetector
;
// only one detector
49
};
50
51
Alignable
*
SurveyInputBase::detector
()
52
{
53
return
theDetector
;
54
}
55
56
#endif
SurveyInputBase::theDetector
static Alignable * theDetector
Definition:
SurveyInputBase.h:48
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:14
edm::EventSetup
Definition:
EventSetup.h:48
SurveyInputBase::detector
static Alignable * detector()
Get alignable detector as read from input.
Definition:
SurveyInputBase.h:51
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
EDAnalyzer.h
SurveyInputBase::beginJob
void beginJob() override
Read data from input.
Definition:
SurveyInputBase.h:25
SurveyInputBase::~SurveyInputBase
~SurveyInputBase() override
Definition:
SurveyInputBase.cc:7
SurveyInputBase
Definition:
SurveyInputBase.h:17
SurveyInputBase::theFirstEvent
bool theFirstEvent
Definition:
SurveyInputBase.h:44
edm::Event
Definition:
Event.h:69
Generated for CMSSW Reference Manual by
1.8.11