#include <LArDetectorFactoryH62003.h>
Definition at line 13 of file LArDetectorFactoryH62003.h.
◆ LArDetectorFactoryH62003() [1/2]
LArGeo::LArDetectorFactoryH62003::LArDetectorFactoryH62003 |
( |
| ) |
|
◆ ~LArDetectorFactoryH62003()
LArGeo::LArDetectorFactoryH62003::~LArDetectorFactoryH62003 |
( |
| ) |
|
|
virtualdefault |
◆ LArDetectorFactoryH62003() [2/2]
◆ create()
void LArGeo::LArDetectorFactoryH62003::create |
( |
GeoPhysVol * |
world | ) |
|
|
virtual |
Definition at line 39 of file LArDetectorFactoryH62003.cxx.
42 ISvcLocator *svcLocator = Gaudi::svcLocator();
44 if (svcLocator->service(
"MessageSvc",
msgSvc,
true )==StatusCode::FAILURE) {
45 throw std::runtime_error(
"Error in LAr::DetectorFactor, cannot access MessageSvc");
48 MsgStream
log(
msgSvc,
"LAr::DetectorFactory");
50 log <<
"++++++++++++++++++++++++++++++++++++++++++++++++++++" << std::endl;
51 log <<
"+ +" << std::endl;
52 log <<
"+ HELLO from LAr::DetectorFactory +" << std::endl;
53 log <<
"+ +" << std::endl;
54 log <<
"+++++++++++++++++++++++++++++++++++++++++++++++++++++" << std::endl;
59 if (svcLocator->service(
"DetectorStore",
detStore,
false )==StatusCode::FAILURE) {
60 throw std::runtime_error(
"Error in LArDetectorFactoryH62003, cannot access DetectorStore");
65 LArDetectorConstructionH62003 BeamLineDets;
71 Envelope = BeamLineDets.GetEnvelope();
73 a_container->add(
new GeoNameTag(
"LAr"));
80 std::cout <<
"In the LArDetectorFactory.........." << std::endl;
85 if (StatusCode::SUCCESS!=
detStore->retrieve(fcal1,
"FCAL1_NEG")) {
86 log << MSG::WARNING <<
"No volume created for FCAL 1 Neg" <<
endmsg;
92 if (StatusCode::SUCCESS!=
detStore->retrieve(fcal2,
"FCAL2_NEG")) {
93 log << MSG::WARNING <<
"No volume created for FCAL 2 Neg" <<
endmsg;
99 if (StatusCode::SUCCESS!=
detStore->retrieve(fcal3,
"FCAL3_NEG")) {
100 log << MSG::WARNING <<
"No volume created for FCAL 3 Neg" <<
endmsg;
104 fcalDetectorManager->
addModule(detDescr);
108 detStore->record(fcalDetectorManager,fcalDetectorManager->getName()).ignore();
◆ getDetectorManager()
◆ operator=()
◆ setAxisVisState()
void LArGeo::LArDetectorFactoryH62003::setAxisVisState |
( |
bool |
axis | ) |
|
|
inline |
◆ setFCALVisLimit()
void LArGeo::LArDetectorFactoryH62003::setFCALVisLimit |
( |
int |
maxCell | ) |
|
|
inline |
◆ m_axisVisState
bool LArGeo::LArDetectorFactoryH62003::m_axisVisState |
|
private |
◆ m_detectorManager
◆ m_fcalVisLimit
int LArGeo::LArDetectorFactoryH62003::m_fcalVisLimit |
|
private |
The documentation for this class was generated from the following files: