ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDetDescr
PixelGeoModel
src
GeoPixelSiCrystal.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 PIXELGEOMODEL_GEOPIXELSICRYSTAL_H
6
#define PIXELGEOMODEL_GEOPIXELSICRYSTAL_H
7
8
#include "Identifier/Identifier.h"
9
#include "
GeoVPixelFactory.h
"
10
11
#include <memory>
12
13
class
GeoLogVol;
14
15
namespace
InDetDD
{
16
class
SiDetectorDesign
;
17
}
18
19
class
GeoPixelSiCrystal
:
public
GeoVPixelFactory
{
20
public
:
21
GeoPixelSiCrystal
(
InDetDD::PixelDetectorManager
* ddmgr,
22
PixelGeometryManager
* mgr,
23
GeoModelIO::ReadGeoModel* sqliteReader,
24
std::shared_ptr<std::map<std::string, GeoFullPhysVol*>> mapFPV,
25
std::shared_ptr<std::map<std::string, GeoAlignableTransform*>> mapAX,
26
bool
isBLayer,
bool
isModule3D=
false
,
bool
even_odd_phi_design=
false
);
27
virtual
GeoVPhysVol*
Build
()
override
;
28
inline
Identifier
getID
() {
return
m_id
;}
29
30
bool
GetModule3DFlag
() {
return
m_isModule3D
; };
31
32
private
:
33
Identifier
m_id
;
34
// Cache for multiple phi designs.
35
// The first element will hold the design for modules with either even or event+odd phi indices.
36
// If there are more than one designs than the second element will hold the design for modules
37
// with odd phi index.
38
unsigned
int
m_nPhiDesigns
=1;
39
std::array<const InDetDD::SiDetectorDesign*,2>
m_design
{
nullptr
,
nullptr
};
40
bool
m_isBLayer
=
false
;
41
bool
m_isModule3D
=
false
;
42
};
43
44
#endif
GeoVPixelFactory.h
GeoPixelSiCrystal::m_nPhiDesigns
unsigned int m_nPhiDesigns
Definition
GeoPixelSiCrystal.h:38
GeoPixelSiCrystal::m_id
Identifier m_id
Definition
GeoPixelSiCrystal.h:33
GeoPixelSiCrystal::getID
Identifier getID()
Definition
GeoPixelSiCrystal.h:28
GeoPixelSiCrystal::GetModule3DFlag
bool GetModule3DFlag()
Definition
GeoPixelSiCrystal.h:30
GeoPixelSiCrystal::m_isBLayer
bool m_isBLayer
Definition
GeoPixelSiCrystal.h:40
GeoPixelSiCrystal::m_design
std::array< const InDetDD::SiDetectorDesign *, 2 > m_design
Definition
GeoPixelSiCrystal.h:39
GeoPixelSiCrystal::Build
virtual GeoVPhysVol * Build() override
Definition
GeoPixelSiCrystal.cxx:179
GeoPixelSiCrystal::m_isModule3D
bool m_isModule3D
Definition
GeoPixelSiCrystal.h:41
GeoPixelSiCrystal::GeoPixelSiCrystal
GeoPixelSiCrystal(InDetDD::PixelDetectorManager *ddmgr, PixelGeometryManager *mgr, GeoModelIO::ReadGeoModel *sqliteReader, std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > mapFPV, std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > mapAX, bool isBLayer, bool isModule3D=false, bool even_odd_phi_design=false)
Definition
GeoPixelSiCrystal.cxx:44
GeoVPixelFactory::GeoVPixelFactory
GeoVPixelFactory(InDetDD::PixelDetectorManager *ddmgr, PixelGeometryManager *mgr, GeoModelIO::ReadGeoModel *sqliteReader, std::shared_ptr< std::map< std::string, GeoFullPhysVol * > > mapFPV, std::shared_ptr< std::map< std::string, GeoAlignableTransform * > > mapAX)
Definition
GeoVPixelFactory.cxx:11
InDetDD::PixelDetectorManager
Dedicated detector manager extending the functionality of the SiDetectorManager with dedicated pixel ...
Definition
PixelDetectorManager.h:47
InDetDD::SiDetectorDesign
Base class for the detector design classes for Pixel and SCT.
Definition
SiDetectorDesign.h:50
PixelGeometryManager
Definition
PixelGeometryManager.h:28
Identifier
Definition
IdentifierFieldParser.cxx:14
InDetDD
Message Stream Member.
Definition
FakeTrackBuilder.h:8
Generated on
for ATLAS Offline Software by
1.17.0