er  dev
ERCollimator.cxx
1 #include "ERCollimator.h"
2 #include "TString.h"
3 
5 
6 }
7 
9 
10 }
11 
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)
virtual void ConstructGeometry()
virtual ~ERCollimator()
Definition: ERCollimator.cxx:8