er
dev
Main Page
Related Pages
Classes
Files
File List
passive
ERCollimator.cxx
1
#include "ERCollimator.h"
2
#include "TString.h"
3
4
ERCollimator::ERCollimator
(){
5
6
}
7
8
ERCollimator::~ERCollimator
(){
9
10
}
11
12
void
ERCollimator::ConstructGeometry
(){
13
TString fileName = GetGeometryFileName();
14
if
(fileName.EndsWith(
".root"
)) {
15
std::cout <<
"Constructing Target geometry from ROOT file "
<< fileName.Data() << std::endl;
16
ConstructRootGeometry();
17
}
else
{
18
std::cerr <<
"Target geometry file name is not set"
<< std::endl;
19
exit(1);
20
}
21
}
22
23
ClassImp(
ERCollimator
)
ERCollimator::ConstructGeometry
virtual void ConstructGeometry()
Definition:
ERCollimator.cxx:12
ERCollimator::~ERCollimator
virtual ~ERCollimator()
Definition:
ERCollimator.cxx:8
ERCollimator
Definition:
ERCollimator.h:7
ERCollimator::ERCollimator
ERCollimator()
Definition:
ERCollimator.cxx:4
Generated on Tue Dec 7 2021 13:58:46 for er by
1.8.11