#include <RALExperimentalHall.h>
Definition at line 20 of file RALExperimentalHall.h.
◆ RALExperimentalHall() [1/2]
LArGeo::RALExperimentalHall::RALExperimentalHall |
( |
| ) |
|
Definition at line 43 of file RALExperimentalHall.cxx.
47 ISvcLocator* svcLocator = Gaudi::svcLocator();
50 StatusCode sc = svcLocator->service(
"GeoDbTagSvc",geoDbTagSvc);
51 if (
sc != StatusCode::SUCCESS) {
52 throw std::runtime_error (
"Cannot locate GeoDBTagSvc");
56 sc = svcLocator->service(geoDbTagSvc->getParamSvcName(),pAccessSvc);
57 if (
sc != StatusCode::SUCCESS) {
58 throw std::runtime_error (
"Cannot locate " + geoDbTagSvc->getParamSvcName());
63 if(geoDbTagSvc->getSqliteReader()==
nullptr) {
66 sc = svcLocator->service (
"GeoModelSvc",geoModel);
67 if (
sc != StatusCode::SUCCESS) {
68 throw std::runtime_error (
"Cannot locate GeoModelSvc");
◆ ~RALExperimentalHall()
LArGeo::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 LArGeo::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 84 of file RALExperimentalHall.cxx.
92 if ( a_name ==
"LArExpHallOutOfTimeCut" )
return 2.5*
CLHEP::ns;
98 std::string errMessage =
"RALExperimentalHall::GetValue: could not find a match for the key '" + a_name;
99 std::cerr << errMessage << std::endl;
100 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: