ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonDetDescr
MuonAGDDBase
src
AGDDsTGC.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
7
#include "
MuonAGDDBase/AGDDsTGC.h
"
8
#include "
AGDDModel/AGDDParameterStore.h
"
9
#include "
AGDDKernel/AGDDDetectorStore.h
"
10
#include "
AGDDKernel/AGDDVolume.h
"
11
#include "
AGDDKernel/AGDDBuilder.h
"
12
13
#include "GeoModelKernel/GeoTrd.h"
14
#include "GeoModelKernel/GeoShape.h"
15
#include "GeoModelKernel/GeoLogVol.h"
16
#include "GeoModelKernel/GeoPhysVol.h"
17
#include "GeoModelKernel/GeoFullPhysVol.h"
18
#include "GeoModelKernel/GeoMaterial.h"
19
20
#include "
StoreGate/StoreGateSvc.h
"
21
#include "GaudiKernel/ISvcLocator.h"
22
#include "GaudiKernel/Bootstrap.h"
23
#include "
GeoModelInterfaces/StoredMaterialManager.h
"
24
25
#include "
MuonGeoModel/sTGCComponent.h
"
26
#include "
MuonGeoModel/sTGC.h
"
27
#include "
MuonGeoModel/MYSQL.h
"
28
29
#include <sstream>
30
31
using
MuonGM::MYSQL
;
32
33
34
AGDDsTGC::AGDDsTGC
(
const
std::string& s,
35
AGDDDetectorStore
& ds,
36
AGDDVolumeStore
& vs,
37
AGDDSectionStore
&
ss
)
38
:
sTGCDetectorDescription
(s,ds),
AGDDVolume
(s,vs,
ss
,true)
39
{
40
Register
();
41
}
42
43
void
AGDDsTGC::CreateSolid
(
const
AGDDBuilder
&
/*builder*/
)
44
{
45
46
}
47
48
void
AGDDsTGC::CreateVolume
(
AGDDBuilder
& builder)
49
{
50
51
MuonGM::sTGCComponent
stgc_comp;
52
stgc_comp.
name
=
tech
;
53
stgc_comp.
dx1
=
small_x
();
54
stgc_comp.
dx2
=
large_x
();
55
stgc_comp.
dy
=
y
();
56
stgc_comp.
subType
=
subType
();
57
stgc_comp.
yCutout
=
yCutout
();
58
stgc_comp.
yCutoutCathode
=
yCutoutCathode
();
59
60
MuonGM::sTGC
cham(&stgc_comp);
61
// We have IsSensitiveVolume true, so we want a GeoFulPhysVol here.
62
GeoFullPhysVol *vvv=cham.
build
(builder.GetMaterialManager(), 1);
63
64
CreateSolid
(builder);
65
66
if
(!
GetVolume
())
67
{
68
SetVolume
(vvv);
69
}
70
}
71
AGDDBuilder.h
AGDDDetectorStore.h
AGDDParameterStore.h
AGDDVolume.h
AGDDsTGC.h
ss
static Double_t ss
Definition
LArPhysWaveHECTool.cxx:37
MYSQL.h
StoreGateSvc.h
StoredMaterialManager.h
AGDDBuilder
Definition
AGDDBuilder.h:31
AGDDDetectorStore
Definition
AGDDDetectorStore.h:18
AGDDDetector::tech
std::string tech
Definition
AGDDDetector.h:38
AGDDDetector::small_x
double small_x() const
Definition
AGDDDetector.h:33
AGDDDetector::large_x
double large_x() const
Definition
AGDDDetector.h:34
AGDDDetector::subType
const std::string & subType() const
Definition
AGDDDetector.h:37
AGDDDetector::y
double y() const
Definition
AGDDDetector.h:35
AGDDSectionStore
Definition
AGDDSectionStore.h:15
AGDDVolumeStore
Definition
AGDDVolumeStore.h:15
AGDDVolume::AGDDVolume
AGDDVolume(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss, bool v=false)
Definition
AGDDVolume.cxx:10
AGDDVolume::GetVolume
void * GetVolume()
Definition
AGDDVolume.h:32
AGDDVolume::SetVolume
void SetVolume(void *p)
Definition
AGDDVolume.h:35
AGDDsTGC::AGDDsTGC
AGDDsTGC(const std::string &s, AGDDDetectorStore &ds, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition
AGDDsTGC.cxx:34
AGDDsTGC::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition
AGDDsTGC.cxx:43
AGDDsTGC::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition
AGDDsTGC.cxx:48
MuonGM::Component::dy
double dy
Definition
Component.h:21
MuonGM::Component::dx1
double dx1
Definition
Component.h:19
MuonGM::Component::dx2
double dx2
Definition
Component.h:20
MuonGM::Component::name
std::string name
Definition
Component.h:18
MuonGM::MYSQL
Definition
MYSQL.h:43
MuonGM::sTGCComponent
Definition
sTGCComponent.h:15
MuonGM::sTGCComponent::subType
std::string subType
Definition
sTGCComponent.h:23
MuonGM::sTGCComponent::yCutout
double yCutout
Definition
sTGCComponent.h:21
MuonGM::sTGCComponent::yCutoutCathode
double yCutoutCathode
Definition
sTGCComponent.h:22
MuonGM::sTGC
Definition
sTGC.h:20
MuonGM::sTGC::build
GeoFullPhysVol * build(StoredMaterialManager &matManager, int minimalgeo)
Definition
sTGC.cxx:52
sTGCDetectorDescription::yCutoutCathode
double yCutoutCathode() const
Definition
sTGCDetectorDescription.h:88
sTGCDetectorDescription::Register
void Register()
Definition
sTGCDetectorDescription.cxx:22
sTGCDetectorDescription::yCutout
double yCutout() const
Definition
sTGCDetectorDescription.h:76
sTGCDetectorDescription::sTGCDetectorDescription
sTGCDetectorDescription(const std::string &s, AGDDDetectorStore &ds)
Definition
sTGCDetectorDescription.cxx:14
sTGCComponent.h
sTGC.h
Generated on
for ATLAS Offline Software by
1.17.0