#include <AGDDMuonStation.h>
Definition at line 17 of file AGDDMuonStation.h.
◆ AGDDMuonStation()
Definition at line 19 of file AGDDMuonStation.h.
AGDDVolume(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss, bool v=false)
◆ AddDaughter()
Definition at line 21 of file AGDDVolume.cxx.
22{
24 m_vs.GetVolume(
v->Volume())->AddParent(
this);
25}
std::vector< AGDDPositioner * > m_theDaughters
◆ AddParent()
Definition at line 31 of file AGDDVolume.h.
std::vector< AGDDVolume * > m_theParents
◆ CreateSolid()
| void AGDDMuonStation::CreateSolid |
( |
const AGDDBuilder & | builder | ) |
|
|
overridevirtual |
Reimplemented from AGDDVolume.
Definition at line 19 of file AGDDMuonStation.cxx.
20{
21 std::cout<<"this is AGDDMuonStation::CreateSolid()"<<std::endl;
23 if (!p) {
24 std::cout<<" creating solid with dimensions "<<
28 }
29}
static std::map< double, LArWheelSliceSolid * > solid
◆ CreateVolume()
| void AGDDMuonStation::CreateVolume |
( |
AGDDBuilder & | builder | ) |
|
|
overridevirtual |
Reimplemented from AGDDVolume.
Definition at line 31 of file AGDDMuonStation.cxx.
32{
33 std::cout<<"this is AGDDMuonStation::CreateVolume()"<<std::endl;
34 static const GeoMaterial*
const air =
GetMMMaterial(
"std::Air");
35 if (!air) std::cout<<" Air not found!"<<std::endl;
36
38
40 std::cout<<"trying to create logical volume"<<std::endl;
41 const GeoShape* shape=(GeoShape *)
GetSolid();
42 if (!shape) std::cout<<" something wrong, shape is 0"<<std::endl;
43 GeoLogVol *
a=
new GeoLogVol(
GetName(),shape,air);
44 GeoPhysVol *a_phys=
new GeoPhysVol(
a);
46 std::cout<<"done creating volume "<<std::endl;
47 }
48}
virtual void CreateSolid(const AGDDBuilder &builder) override
static const GeoMaterial * GetMMMaterial(const std::string &)
const std::string & GetName() const
◆ GetColor()
| const std::string & AGDDVolume::GetColor |
( |
| ) |
const |
|
inlineinherited |
◆ GetDaughter()
◆ GetMaterial()
| const std::string & AGDDVolume::GetMaterial |
( |
| ) |
const |
|
inlineinherited |
◆ GetMMMaterial()
| const GeoMaterial * AGDDMuonStation::GetMMMaterial |
( |
const std::string & | name | ) |
|
|
staticprivate |
Definition at line 50 of file AGDDMuonStation.cxx.
51{
52 SmartIF<StoreGateSvc> pDetStore{Gaudi::svcLocator()->service("DetectorStore")};
53 if(pDetStore.isValid()) {
54 StoredMaterialManager* theMaterialManager = nullptr;
55 if(pDetStore->retrieve(theMaterialManager, "MATERIALS").isSuccess()) {
57 }
58 }
59 return nullptr;
60}
virtual const GeoMaterial * getMaterial(const std::string &name)=0
◆ GetName()
| const std::string & AGDDVolume::GetName |
( |
| ) |
const |
|
inlineinherited |
◆ GetSolid()
| void * AGDDVolume::GetSolid |
( |
| ) |
|
|
inlineinherited |
◆ GetVolume()
| void * AGDDVolume::GetVolume |
( |
| ) |
|
|
inlineinherited |
◆ HasParent()
| bool AGDDVolume::HasParent |
( |
| ) |
const |
|
inlineinherited |
◆ IsSensitiveVolume() [1/2]
| bool AGDDVolume::IsSensitiveVolume |
( |
| ) |
const |
|
inlineinherited |
◆ IsSensitiveVolume() [2/2]
| void AGDDVolume::IsSensitiveVolume |
( |
bool | v | ) |
|
|
inherited |
◆ large_x() [1/2]
| double AGDDMuonStation::large_x |
( |
| ) |
const |
|
inline |
◆ large_x() [2/2]
| void AGDDMuonStation::large_x |
( |
double | x | ) |
|
|
inline |
◆ NrOfDaughter()
| int AGDDVolume::NrOfDaughter |
( |
| ) |
const |
|
inlineinherited |
◆ SetColor()
| void AGDDVolume::SetColor |
( |
const std::string & | c | ) |
|
|
inlineinherited |
◆ SetMaterial()
| void AGDDVolume::SetMaterial |
( |
const std::string & | n | ) |
|
|
inlineinherited |
◆ SetSolid()
| void AGDDVolume::SetSolid |
( |
void * | p | ) |
|
|
inlineinherited |
◆ SetVolume()
| void AGDDVolume::SetVolume |
( |
void * | p | ) |
|
|
inlineinherited |
◆ SetXYZ()
| void AGDDMuonStation::SetXYZ |
( |
const std::vector< double > & | v | ) |
|
|
inline |
◆ small_x() [1/2]
| double AGDDMuonStation::small_x |
( |
| ) |
const |
|
inline |
◆ small_x() [2/2]
| void AGDDMuonStation::small_x |
( |
double | x | ) |
|
|
inline |
◆ y() [1/2]
| double AGDDMuonStation::y |
( |
| ) |
const |
|
inline |
◆ y() [2/2]
| void AGDDMuonStation::y |
( |
double | yval | ) |
|
|
inline |
◆ z() [1/2]
| double AGDDMuonStation::z |
( |
| ) |
const |
|
inline |
◆ z() [2/2]
| void AGDDMuonStation::z |
( |
double | zval | ) |
|
|
inline |
◆ m_color
| std::string AGDDVolume::m_color |
|
protectedinherited |
◆ m_isSensitive
| bool AGDDVolume::m_isSensitive |
|
protectedinherited |
◆ m_large_x
| double AGDDMuonStation::m_large_x {0.} |
|
private |
◆ m_material
| std::string AGDDVolume::m_material |
|
protectedinherited |
◆ m_name
| std::string AGDDVolume::m_name |
|
protectedinherited |
◆ m_small_x
| double AGDDMuonStation::m_small_x {0.} |
|
private |
◆ m_theDaughters
◆ m_theParents
◆ m_theSolid
| void* AGDDVolume::m_theSolid |
|
protectedinherited |
◆ m_theVolume
| void* AGDDVolume::m_theVolume |
|
protectedinherited |
◆ m_vs
◆ m_y
| double AGDDMuonStation::m_y {0.} |
|
private |
◆ m_z
| double AGDDMuonStation::m_z {0.} |
|
private |
The documentation for this class was generated from the following files: