Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:57:24

0001 #include "Alignment/CommonAlignment/interface/Alignable.h"
0002 
0003 #include "Alignment/SurveyAnalysis/interface/SurveyInputBase.h"
0004 
0005 Alignable* SurveyInputBase::theDetector(nullptr);
0006 
0007 SurveyInputBase::~SurveyInputBase() {
0008   delete theDetector;
0009 
0010   theDetector = nullptr;
0011 }
0012 
0013 void SurveyInputBase::addComponent(Alignable* comp) {
0014   if (nullptr == theDetector)
0015     theDetector = comp;
0016   else
0017     theDetector->addComponent(comp);
0018 }