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
:
public
edm::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:57
SurveyInputBase::detector
static Alignable * detector()
Get alignable detector as read from input.
Definition:
SurveyInputBase.h:41
edm::EDAnalyzer
Definition:
EDAnalyzer.h:29
EDAnalyzer.h
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
SurveyInputBase::theFirstEvent
bool theFirstEvent
Definition:
SurveyInputBase.h:35
edm::Event
Definition:
Event.h:71
Generated for CMSSW Reference Manual by
1.8.11