ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_PixelAttachment.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef SCT_GEOMODEL_SCT_PIXELATTACHMENT_H
6#define SCT_GEOMODEL_SCT_PIXELATTACHMENT_H
7
9
10#include <string>
11
12class GeoMaterial;
13
15{
16
17public:
18 SCT_PixelAttachment(const std::string & name,
19 InDetDD::SCT_DetectorManager* detectorManager,
20 SCT_GeometryManager* geometryManager,
21 SCT_MaterialManager* materials);
22
23public:
24 const GeoMaterial * material() const {return m_material;}
25 double innerRadius() const {return m_innerRadius;}
26 double outerRadius() const {return m_outerRadius;}
27 double zMax() const {return m_zMax;}
28 double zMin() const {return m_zMin;}
29
30 double length() const {return m_length;}
31 double radialThickness() const {return m_outerRadius - m_innerRadius;}
32 double zPosition() const {return 0.5*(m_zMin+m_zMax);}
33
34
35private:
36
37 void getParameters();
38 virtual GeoVPhysVol * build();
39
40 const GeoMaterial * m_material = nullptr;
41
42 double m_innerRadius = 0.0;
43 double m_outerRadius = 0.0;
44 double m_zMin = 0.0;
45 double m_zMax = 0.0;
46
47 double m_length = 0.0;
48};
49
50#endif // SCT_GEOMODEL_SCT_PIXELATTACHMENT_H
51
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
virtual GeoVPhysVol * build()
SCT_PixelAttachment(const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials)
const GeoMaterial * material() const
const GeoMaterial * m_material
double radialThickness() const
SCT_SharedComponentFactory(const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials=nullptr)