src
Alignment
SurveyAnalysis
src
SurveyInputBase.cc
Go to the documentation of this file.
1
#include "
Alignment/CommonAlignment/interface/Alignable.h
"
2
3
#include "
Alignment/SurveyAnalysis/interface/SurveyInputBase.h
"
4
5
Alignable
*
SurveyInputBase::theDetector
(
nullptr
);
6
7
SurveyInputBase::~SurveyInputBase
() {
8
delete
theDetector
;
9
10
theDetector
=
nullptr
;
11
}
12
13
void
SurveyInputBase::addComponent
(
Alignable
*
comp
) {
14
if
(
nullptr
==
theDetector
)
15
theDetector
=
comp
;
16
else
17
theDetector
->
addComponent
(
comp
);
18
}
SurveyInputBase.h
SurveyInputBase::theDetector
static Alignable * theDetector
Definition:
SurveyInputBase.h:38
Alignable
Definition:
Alignable.h:27
SurveyInputBase::addComponent
static void addComponent(Alignable *)
Definition:
SurveyInputBase.cc:13
AlCaHLTBitMon_QueryRunRegistry.comp
string comp
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:249
Alignable::addComponent
virtual void addComponent(Alignable *)=0
SurveyInputBase::~SurveyInputBase
~SurveyInputBase() override
Definition:
SurveyInputBase.cc:7
Alignable.h
Generated for CMSSW Reference Manual by
1.8.14