ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDetDescr
SCT_GeoModel
src
SCT_Sensor.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_SENSOR_H
6
#define SCT_GEOMODEL_SCT_SENSOR_H
7
8
#include "
SCT_ComponentFactory.h
"
9
10
#include <atomic>
11
#include <string>
12
13
class
GeoMaterial;
14
class
GeoVPhysVol;
15
namespace
InDetDD
{
class
SiDetectorDesign
;}
16
17
class
SCT_Sensor
:
public
SCT_UniqueComponentFactory
18
{
19
public
:
20
SCT_Sensor
(
const
std::string & name,
21
InDetDD::SCT_DetectorManager
* detectorManager,
22
SCT_GeometryManager
* geometryManager,
23
SCT_MaterialManager
* materials,
24
GeoModelIO::ReadGeoModel* sqliteReader,
25
std::shared_ptr<std::map<std::string, GeoFullPhysVol*>> mapFPV,
26
std::shared_ptr<std::map<std::string, GeoAlignableTransform*>> mapAX);
27
28
public
:
29
const
GeoMaterial *
material
()
const
{
return
m_material
;}
30
double
thickness
()
const
{
return
m_thickness
;}
31
double
width
()
const
{
return
m_width
;}
32
double
length
()
const
{
return
m_length
;}
33
34
virtual
GeoVPhysVol *
build
(
SCT_Identifier
id
);
35
36
private
:
37
void
getParameters
();
38
virtual
const
GeoLogVol *
preBuild
();
39
void
makeDesign
();
40
41
const
GeoMaterial *
m_material
=
nullptr
;
42
double
m_thickness
= 0.0;
43
double
m_width
= 0.0;
44
double
m_length
= 0.0;
45
46
const
InDetDD::SiDetectorDesign
*
m_design
=
nullptr
;
47
48
mutable
std::atomic_bool
m_noElementWarning
;
49
};
50
51
#endif
// SCT_GEOMODEL_SCT_SENSOR_H
SCT_ComponentFactory.h
InDetDD::SCT_DetectorManager
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated SCT in...
Definition
SCT_DetectorManager.h:50
InDetDD::SiDetectorDesign
Base class for the detector design classes for Pixel and SCT.
Definition
SiDetectorDesign.h:50
SCT_GeometryManager
Definition
SCT_GeometryManager.h:25
SCT_Identifier
Definition
SCT_Identifier.h:12
SCT_MaterialManager
Definition
SCT_MaterialManager.h:21
SCT_Sensor::m_width
double m_width
Definition
SCT_Sensor.h:43
SCT_Sensor::width
double width() const
Definition
SCT_Sensor.h:31
SCT_Sensor::makeDesign
void makeDesign()
Definition
SCT_Sensor.cxx:82
SCT_Sensor::length
double length() const
Definition
SCT_Sensor.h:32
SCT_Sensor::build
virtual GeoVPhysVol * build(SCT_Identifier id)
Definition
SCT_Sensor.cxx:147
SCT_Sensor::material
const GeoMaterial * material() const
Definition
SCT_Sensor.h:29
SCT_Sensor::m_thickness
double m_thickness
Definition
SCT_Sensor.h:42
SCT_Sensor::getParameters
void getParameters()
Definition
SCT_Sensor.cxx:47
SCT_Sensor::m_material
const GeoMaterial * m_material
Definition
SCT_Sensor.h:41
SCT_Sensor::m_design
const InDetDD::SiDetectorDesign * m_design
Definition
SCT_Sensor.h:46
SCT_Sensor::thickness
double thickness() const
Definition
SCT_Sensor.h:30
SCT_Sensor::preBuild
virtual const GeoLogVol * preBuild()
Definition
SCT_Sensor.cxx:64
SCT_Sensor::m_length
double m_length
Definition
SCT_Sensor.h:44
SCT_Sensor::m_noElementWarning
std::atomic_bool m_noElementWarning
Definition
SCT_Sensor.h:48
SCT_Sensor::SCT_Sensor
SCT_Sensor(const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials, GeoModelIO::ReadGeoModel *sqliteReader, std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > mapFPV, std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > mapAX)
Definition
SCT_Sensor.cxx:30
SCT_UniqueComponentFactory::SCT_UniqueComponentFactory
SCT_UniqueComponentFactory(const std::string &name, InDetDD::SCT_DetectorManager *detectorManager, SCT_GeometryManager *geometryManager, SCT_MaterialManager *materials=nullptr, GeoModelIO::ReadGeoModel *sqliteReader=nullptr, std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > mapFPV=nullptr, std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > mapAX=nullptr)
Definition
SCT_ComponentFactory.cxx:34
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
Generated on
for ATLAS Offline Software by
1.17.0