#include <MiddleBeamConstructionH62004.h>
◆ MiddleBeamConstructionH62004()
LArGeo::MiddleBeamConstructionH62004::MiddleBeamConstructionH62004 |
( |
| ) |
|
◆ ~MiddleBeamConstructionH62004()
LArGeo::MiddleBeamConstructionH62004::~MiddleBeamConstructionH62004 |
( |
| ) |
|
|
virtualdefault |
◆ GetEnvelope()
PVLink LArGeo::MiddleBeamConstructionH62004::GetEnvelope |
( |
| ) |
|
|
virtual |
Definition at line 59 of file MiddleBeamConstructionH62004.cxx.
66 ISvcLocator *svcLocator = Gaudi::svcLocator();
68 if (svcLocator->service(
"MessageSvc",
msgSvc,
true )==StatusCode::FAILURE) {
69 throw std::runtime_error(
"Error in MiddleBeamConstructionH62004, cannot access MessageSvc");
72 MsgStream
log(
msgSvc,
"LArGeo::MiddleBeamConstructionH62004");
73 log << MSG::INFO <<
"+ HELLO from LArGeo::MiddleBeamConstructionH62004 +" <<
endmsg;
77 if (svcLocator->service(
"DetectorStore",
detStore,
false )==StatusCode::FAILURE) {
78 throw std::runtime_error(
"Error in MiddleBeamConstructionH62004, cannot access DetectorStore");
85 if (StatusCode::SUCCESS !=
detStore->retrieve(materialManager, std::string(
"MATERIALS")))
return nullptr;
87 const GeoMaterial *Air = materialManager->
getMaterial(
"std::Air");
88 if (!Air)
throw std::runtime_error(
"Error in MiddleBeamConstructionH62004, std::Air is not found.");
106 std::string baseName =
"LAr::TBH62004";
107 std::string H62004MiddleBeamName = baseName +
"::MiddleBeam";
120 GeoBox* H62004MiddleBeamShape =
new GeoBox( bmtb_x, bmtb_y, bmtb_z );
121 const GeoLogVol* H62004MiddleBeamLogical =
new GeoLogVol( H62004MiddleBeamName, H62004MiddleBeamShape, Air );
127 log << MSG::INFO <<
" Create BPC 1&2 " <<
endmsg;
129 BPCConstruction *BPC =
new BPCConstruction(
true);
130 PVLink BPCPhysical = BPC->GetEnvelope();
131 for(
int i=0;
i<4; ++
i) {
◆ SetManager()
void LArGeo::MiddleBeamConstructionH62004::SetManager |
( |
LArDetDescrManager * |
mgr | ) |
|
|
inline |
◆ m_detectorManager
LArDetDescrManager* LArGeo::MiddleBeamConstructionH62004::m_detectorManager |
|
private |
◆ m_H62004MiddleBeamPhysical
GeoPhysVol* LArGeo::MiddleBeamConstructionH62004::m_H62004MiddleBeamPhysical |
|
private |
The documentation for this class was generated from the following files: