Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
virtual
~SurveyInputBase
();
23
25
virtual
void
beginJob
() {
theFirstEvent
=
true
; }
26
28
virtual
void
analyze
(
29
const
edm::Event
&,
30
const
edm::EventSetup
&
31
) = 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:29
SurveyInputBase::addComponent
static void addComponent(Alignable *)
Definition:
SurveyInputBase.cc:14
SurveyInputBase::~SurveyInputBase
virtual ~SurveyInputBase()
Definition:
SurveyInputBase.cc:7
edm::EventSetup
Definition:
EventSetup.h:44
SurveyInputBase::detector
static Alignable * detector()
Get alignable detector as read from input.
Definition:
SurveyInputBase.h:51
edm::EDAnalyzer
Definition:
EDAnalyzer.h:22
EDAnalyzer.h
SurveyInputBase
Definition:
SurveyInputBase.h:17
SurveyInputBase::analyze
virtual void analyze(const edm::Event &, const edm::EventSetup &)=0
Do nothing for each event.
SurveyInputBase::beginJob
virtual void beginJob()
Read data from input.
Definition:
SurveyInputBase.h:25
SurveyInputBase::theFirstEvent
bool theFirstEvent
Definition:
SurveyInputBase.h:44
edm::Event
Definition:
Event.h:62
Generated for CMSSW Reference Manual by
1.8.5