GeoModel description of the LAr Endcap Presampler geometry.
More...
#include <EndcapPresamplerConstruction.h>
GeoModel description of the LAr Endcap Presampler geometry.
Definition at line 24 of file EndcapPresamplerConstruction.h.
◆ EndcapPresamplerConstruction() [1/2]
EndcapPresamplerConstruction::EndcapPresamplerConstruction |
( |
bool |
imb = false | ) |
|
◆ ~EndcapPresamplerConstruction()
EndcapPresamplerConstruction::~EndcapPresamplerConstruction |
( |
| ) |
|
|
virtual |
◆ EndcapPresamplerConstruction() [2/2]
◆ Envelope()
GeoIntrusivePtr< GeoFullPhysVol > EndcapPresamplerConstruction::Envelope |
( |
| ) |
|
Definition at line 53 of file EndcapPresamplerConstruction.cxx.
58 ISvcLocator *svcLocator = Gaudi::svcLocator();
60 if (svcLocator->service(
"DetectorStore",
detStore,
false )==StatusCode::FAILURE) {
61 throw std::runtime_error(
"Error in EndcapCryostatConstruction, cannot access DetectorStore");
65 if (StatusCode::SUCCESS !=
detStore->retrieve(materialManager, std::string(
"MATERIALS")))
return nullptr;
67 const GeoMaterial *
LAr = materialManager->
getMaterial(
"std::LiquidArgon");
69 throw std::runtime_error(
"Error in EndcapCryostatConstruction, std::LiquidArgon is not found.");
77 sc=svcLocator->service(
"RDBAccessSvc",pAccessSvc);
78 if (
sc != StatusCode::SUCCESS) {
79 throw std::runtime_error (
"Cannot locate RDBAccessSvc!!");
83 sc = svcLocator->service (
"GeoModelSvc",geoModel);
84 if (
sc != StatusCode::SUCCESS) {
85 throw std::runtime_error (
"Cannot locate GeoModelSvc!!");
91 std::string detectorKey = LArVersion.empty() ?
AtlasVersion : LArVersion;
92 std::string detectorNode = LArVersion.empty() ?
"ATLAS" :
"LAr";
106 double HalfZ = ((*presamplerPosition)[0]->getDouble(
"TCK")/2.)*
Gaudi::Units::cm;
109 std::string
name =
"LAr::Endcap::Presampler::LiquidArgon";
112 double start_phi = 0.;
119 GeoTubs* endcapPresamplerSolid =
new GeoTubs(
Rmin, Rmax, HalfZ, start_phi, phi_size);
121 const GeoLogVol* endcapPresamplerLog =
new GeoLogVol(
name,endcapPresamplerSolid,
LAr);
◆ operator=()
◆ m_isModule
bool EndcapPresamplerConstruction::m_isModule |
|
private |
◆ m_psPhysical
GeoIntrusivePtr<GeoFullPhysVol> EndcapPresamplerConstruction::m_psPhysical |
|
private |
The documentation for this class was generated from the following files:
virtual IRDBRecordset_ptr getRecordsetPtr(const std::string &node, const std::string &tag, const std::string &tag2node="", const std::string &connName="ATLASDD")=0
Provides access to the Recordset object containing HVS-tagged data.