#include <AGDDMicromegas.h>
Definition at line 19 of file AGDDMicromegas.h.
◆ AGDDMicromegas()
Definition at line 30 of file AGDDMicromegas.cxx.
35{
37}
AGDDVolume(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss, bool v=false)
MMDetectorDescription(const std::string &s, AGDDDetectorStore &ds)
◆ AddDaughter()
Definition at line 21 of file AGDDVolume.cxx.
22{
24 m_vs.GetVolume(
v->Volume())->AddParent(
this);
25}
std::vector< AGDDPositioner * > m_theDaughters
◆ AddDetectorPosition()
Definition at line 19 of file AGDDDetector.cxx.
20{
22}
std::vector< AGDDDetectorPositioner * > m_detectorPositions
◆ AddParent()
Definition at line 31 of file AGDDVolume.h.
std::vector< AGDDVolume * > m_theParents
◆ CreateSolid()
| void AGDDMicromegas::CreateSolid |
( |
const AGDDBuilder & | builder | ) |
|
|
overridevirtual |
◆ CreateVolume()
| void AGDDMicromegas::CreateVolume |
( |
AGDDBuilder & | builder | ) |
|
|
overridevirtual |
Reimplemented from AGDDVolume.
Definition at line 53 of file AGDDMicromegas.cxx.
54{
55
56
57 MuonGM::MicromegasComponent mm_comp;
63
64 MuonGM::Micromegas cham (&mm_comp);
65
66 GeoFullPhysVol *vvv=cham.build(
builder.GetMaterialManager(), 1);
67
69
71 {
73 }
74}
const std::string & subType() const
virtual void CreateSolid(const AGDDBuilder &builder) override
◆ DetectorID()
| const std::string & AGDDDetector::DetectorID |
( |
| ) |
const |
|
inlineinherited |
◆ DetectorType()
| const std::string & AGDDDetector::DetectorType |
( |
| ) |
const |
|
inlineinherited |
◆ GetColor()
| const std::string & AGDDVolume::GetColor |
( |
| ) |
const |
|
inlineinherited |
◆ GetDaughter()
◆ GetDetectorPositioners()
◆ GetMaterial()
| const std::string & AGDDVolume::GetMaterial |
( |
| ) |
const |
|
inlineinherited |
◆ GetMMMaterial()
| GeoMaterial * AGDDDetector::GetMMMaterial |
( |
std::string | | ) |
|
|
protectedinherited |
◆ GetName() [1/2]
| const std::string & AGDDDetector::GetName |
( |
| ) |
const |
|
inlineinherited |
◆ GetName() [2/2]
| const std::string & AGDDVolume::GetName |
( |
| ) |
const |
|
inlineinherited |
◆ GetReadoutParameters()
◆ GetSolid()
| void * AGDDVolume::GetSolid |
( |
| ) |
|
|
inlineinherited |
◆ GetTechnology()
Definition at line 47 of file MMDetectorDescription.cxx.
48{
49 MuonGM::MM_Technology*
t =
50 dynamic_cast<MuonGM::MM_Technology*
>(
m_ds.GetTechnology(
GetName()));
52}
const std::string & GetName() const
◆ 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 AGDDDetector::large_x |
( |
| ) |
const |
|
inlineinherited |
◆ large_x() [2/2]
| void AGDDDetector::large_x |
( |
double | x | ) |
|
|
inlineinherited |
◆ Length()
| double MMDetectorDescription::Length |
( |
| ) |
const |
|
inlineinherited |
◆ lWidth()
| double MMDetectorDescription::lWidth |
( |
| ) |
const |
|
inlineinherited |
◆ NrOfDaughter()
| int AGDDVolume::NrOfDaughter |
( |
| ) |
const |
|
inlineinherited |
◆ Register()
| void MMDetectorDescription::Register |
( |
| ) |
|
|
inherited |
◆ SetAddressAndPosition()
Definition at line 8 of file AGDDDetector.cxx.
9{
12}
virtual void SetDetectorAddress(AGDDDetectorPositioner *)=0
void AddDetectorPosition(AGDDDetectorPositioner *p)
◆ SetColor()
| void AGDDVolume::SetColor |
( |
const std::string & | c | ) |
|
|
inlineinherited |
◆ SetDetectorAddress()
|
|
protectedvirtualinherited |
Implements AGDDDetector.
Definition at line 27 of file MMDetectorDescription.cxx.
28{
29
30
31 p->ID.detectorType=
"Micromegas";
33 std::stringstream stringone;
35 if (
p->ID.sideIndex<0)
side=
'C';
37 std::string_view subt =
subType();
38 int ml=
myatoi(subt.substr(3,1));
39 if (subt[2]==
'L')
ctype=1;
40 else if (subt[2]==
'S')
ctype=3;
41 int etaIndex=
myatoi(subt.substr(1,1));
42 stringone<<
"sMD"<<
ctype<<
'-'<<etaIndex<<
'-'<<ml<<
"-phi"<<
p->ID.phiIndex+1<<
side<<std::endl;
43
44 p->ID.detectorAddress=stringone.str();
45}
int myatoi(std::string_view str)
◆ SetMaterial()
| void AGDDVolume::SetMaterial |
( |
const std::string & | n | ) |
|
|
inlineinherited |
◆ SetSolid()
| void AGDDVolume::SetSolid |
( |
void * | p | ) |
|
|
inlineinherited |
◆ SetVolume()
| void AGDDVolume::SetVolume |
( |
void * | p | ) |
|
|
inlineinherited |
◆ SetXYZ()
| virtual void AGDDDetector::SetXYZ |
( |
const std::vector< double > & | v | ) |
|
|
inlinevirtualinherited |
◆ small_x() [1/2]
| double AGDDDetector::small_x |
( |
| ) |
const |
|
inlineinherited |
◆ small_x() [2/2]
| void AGDDDetector::small_x |
( |
double | x | ) |
|
|
inlineinherited |
◆ subType() [1/2]
| const std::string & AGDDDetector::subType |
( |
| ) |
const |
|
inlineinherited |
◆ subType() [2/2]
| void AGDDDetector::subType |
( |
const std::string & | s | ) |
|
|
inlineinherited |
◆ sWidth()
| double MMDetectorDescription::sWidth |
( |
| ) |
const |
|
inlineinherited |
◆ Tck()
| double MMDetectorDescription::Tck |
( |
| ) |
const |
|
inlineinherited |
◆ xFrame() [1/2]
| double MMDetectorDescription::xFrame |
( |
| ) |
const |
|
inlineinherited |
◆ xFrame() [2/2]
| void MMDetectorDescription::xFrame |
( |
double | y | ) |
|
|
inlineinherited |
◆ y() [1/2]
| double AGDDDetector::y |
( |
| ) |
const |
|
inlineinherited |
◆ y() [2/2]
| void AGDDDetector::y |
( |
double | yval | ) |
|
|
inlineinherited |
◆ ylFrame() [1/2]
| double MMDetectorDescription::ylFrame |
( |
| ) |
const |
|
inlineinherited |
◆ ylFrame() [2/2]
| void MMDetectorDescription::ylFrame |
( |
double | y | ) |
|
|
inlineinherited |
◆ ysFrame() [1/2]
| double MMDetectorDescription::ysFrame |
( |
| ) |
const |
|
inlineinherited |
◆ ysFrame() [2/2]
| void MMDetectorDescription::ysFrame |
( |
double | y | ) |
|
|
inlineinherited |
◆ z() [1/2]
| double AGDDDetector::z |
( |
| ) |
const |
|
inlineinherited |
◆ z() [2/2]
| void AGDDDetector::z |
( |
double | zval | ) |
|
|
inlineinherited |
◆ m_color
| std::string AGDDVolume::m_color |
|
protectedinherited |
◆ m_detectorID
| std::string AGDDDetector::m_detectorID |
|
protectedinherited |
◆ m_detectorPositions
◆ m_detectorType
| std::string AGDDDetector::m_detectorType |
|
protectedinherited |
◆ m_ds
◆ m_isSensitive
| bool AGDDVolume::m_isSensitive |
|
protectedinherited |
◆ m_large_x
| double AGDDDetector::m_large_x |
|
protectedinherited |
◆ m_material
| std::string AGDDVolume::m_material |
|
protectedinherited |
◆ m_name [1/2]
| std::string AGDDDetector::m_name |
|
protectedinherited |
◆ m_name [2/2]
| std::string AGDDVolume::m_name |
|
protectedinherited |
◆ m_small_x
| double AGDDDetector::m_small_x |
|
protectedinherited |
◆ m_sType
| std::string AGDDDetector::m_sType |
|
protectedinherited |
◆ m_theDaughters
◆ m_theParents
◆ m_theSolid
| void* AGDDVolume::m_theSolid |
|
protectedinherited |
◆ m_theVolume
| void* AGDDVolume::m_theVolume |
|
protectedinherited |
◆ m_vs
◆ m_xFrame
| double MMDetectorDescription::m_xFrame = 0.0 |
|
protectedinherited |
◆ m_y
◆ m_ylFrame
| double MMDetectorDescription::m_ylFrame = 0.0 |
|
protectedinherited |
◆ m_ysFrame
| double MMDetectorDescription::m_ysFrame = 0.0 |
|
protectedinherited |
◆ m_z
◆ roParameters
◆ tech
| std::string AGDDDetector::tech |
|
inherited |
The documentation for this class was generated from the following files: