ATLAS Offline Software
AGDDsTGC.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 
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"
24 
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,
36  AGDDVolumeStore& vs,
39 {
40  Register();
41 }
42 
43 void AGDDsTGC::CreateSolid (const AGDDBuilder& /*builder*/)
44 {
45 
46 }
47 
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  GeoPhysVol *vvv=(GeoPhysVol*)cham.build(builder.GetMaterialManager(), 1);
62 
64 
65  if (!GetVolume())
66  {
67  SetVolume(vvv);
68  }
69 }
70 
AGDDDetectorStore.h
checkxAOD.ds
ds
Definition: Tools/PyUtils/bin/checkxAOD.py:257
sTGCComponent.h
MuonGM::sTGC
Definition: sTGC.h:20
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
AGDDsTGC.h
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
AGDDBuilder.h
MuonGM::sTGCComponent::yCutoutCathode
double yCutoutCathode
Definition: sTGCComponent.h:22
AGDDVolumeStore
Definition: AGDDVolumeStore.h:15
AGDDDetector::y
double y() const
Definition: AGDDDetector.h:35
MuonGM::sTGC::build
GeoFullPhysVol * build(StoredMaterialManager &matManager, int minimalgeo)
Definition: sTGC.cxx:52
MuonGM::MYSQL
Definition: MYSQL.h:43
AGDDVolume::GetVolume
void * GetVolume()
Definition: AGDDVolume.h:32
AGDDParameterStore.h
MuonGM::sTGCComponent
Definition: sTGCComponent.h:15
sTGCDetectorDescription::yCutout
double yCutout() const
Definition: sTGCDetectorDescription.h:76
sTGCDetectorDescription
Definition: sTGCDetectorDescription.h:51
AGDDDetector::large_x
double large_x() const
Definition: AGDDDetector.h:34
AGDDSectionStore
Definition: AGDDSectionStore.h:15
AGDDBuilder
Definition: AGDDBuilder.h:31
MuonGM::Component::dy
double dy
Definition: Component.h:21
createSimpleDistributions.builder
builder
Definition: createSimpleDistributions.py:52
sTGCDetectorDescription::Register
void Register()
Definition: sTGCDetectorDescription.cxx:22
MuonGM::sTGCComponent::subType
std::string subType
Definition: sTGCComponent.h:23
AGDDDetector::subType
const std::string & subType() const
Definition: AGDDDetector.h:37
MuonGM::Component::name
std::string name
Definition: Component.h:18
MYSQL.h
sTGCDetectorDescription::yCutoutCathode
double yCutoutCathode() const
Definition: sTGCDetectorDescription.h:88
AGDDsTGC::AGDDsTGC
AGDDsTGC(const std::string &s, AGDDDetectorStore &ds, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition: AGDDsTGC.cxx:34
StoredMaterialManager.h
AGDDDetector::small_x
double small_x() const
Definition: AGDDDetector.h:33
AGDDDetectorStore
Definition: AGDDDetectorStore.h:18
MuonGM::Component::dx2
double dx2
Definition: Component.h:20
AGDDsTGC::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition: AGDDsTGC.cxx:43
MuonGM::sTGCComponent::yCutout
double yCutout
Definition: sTGCComponent.h:21
AGDDVolume
Definition: AGDDVolume.h:16
AGDDVolume.h
AGDDsTGC::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition: AGDDsTGC.cxx:48
sTGC.h
MuonGM::Component::dx1
double dx1
Definition: Component.h:19
StoreGateSvc.h
AGDDDetector::tech
std::string tech
Definition: AGDDDetector.h:38
AGDDVolume::SetVolume
void SetVolume(void *p)
Definition: AGDDVolume.h:35