#include <RALExperimentalHall.h>
Definition at line 17 of file RALExperimentalHall.h.
◆ RALExperimentalHall() [1/2]
RALExperimentalHall::RALExperimentalHall |
( |
| ) |
|
Definition at line 43 of file RALExperimentalHall.cxx.
47 ISvcLocator* svcLocator = Gaudi::svcLocator();
49 SmartIF<IGeoDbTagSvc> geoDbTagSvc{svcLocator->service(
"GeoDbTagSvc")};
50 if(!geoDbTagSvc.isValid()) {
51 throw std::runtime_error (
"Cannot locate GeoDBTagSvc");
54 SmartIF<IRDBAccessSvc> pAccessSvc{svcLocator->service(geoDbTagSvc->getParamSvcName())};
55 if(!pAccessSvc.isValid()) {
56 throw std::runtime_error (
"Cannot locate " + geoDbTagSvc->getParamSvcName());
61 if(geoDbTagSvc->getSqliteReader()==
nullptr) {
63 SmartIF<IGeoModelSvc> geoModel{svcLocator->service(
"GeoModelSvc")};
64 if(!geoModel.isValid()) {
65 throw std::runtime_error (
"Cannot locate GeoModelSvc");
◆ ~RALExperimentalHall()
RALExperimentalHall::~RALExperimentalHall |
( |
| ) |
|
|
virtual |
◆ RALExperimentalHall() [2/2]
◆ GetInstance()
Definition at line 29 of file VDetectorParameters.cxx.
33 std::cerr <<
"LArGeo::VDetectorParameters::GetInstance was called, but "
34 <<
"the pointer to the detector-parameter access object is 0."
◆ GetValue()
double RALExperimentalHall::GetValue |
( |
const std::string & |
a_name, |
|
|
const int |
i0 = INT_MIN , |
|
|
const int |
i1 = INT_MIN , |
|
|
const int |
i2 = INT_MIN , |
|
|
const int |
i3 = INT_MIN , |
|
|
const int |
i4 = INT_MIN |
|
) |
| const |
|
overridevirtual |
Implements LArGeo::VDetectorParameters.
Definition at line 81 of file RALExperimentalHall.cxx.
89 if ( a_name ==
"LArExpHallOutOfTimeCut" )
return 2.5*
CLHEP::ns;
95 std::string errMessage =
"RALExperimentalHall::GetValue: could not find a match for the key '" + a_name;
96 std::cerr << errMessage << std::endl;
97 throw std::runtime_error (errMessage.c_str());
◆ operator=()
◆ SetInstance()
◆ ATLAS_THREAD_SAFE
◆ m_c
The documentation for this class was generated from the following files: