ATLAS Offline Software
CylinderVolumeBoundaryAccessors.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // CylinderVolumeBoundaryAccessors.h, (c) ATLAS Detector software
8 
9 #ifndef TRKVOLUMES_CYLINDERVOLUMEBOUNDARYACCESSORS_H
10 #define TRKVOLUMES_CYLINDERVOLUMEBOUNDARYACCESSORS_H
11 
13 
14 namespace Trk {
15 
22 
23 };
24 
27 
40 
41 };
42 
47 
52 
63  public:
66 
69 
72 
75 
78  SectoralCylinderAccessorType scat) const;
79 
83 
84  private:
85  std::array<ThreeObjectsAccessor, 4> m_cylinderAccessors{};
86  std::array<FourObjectsAccessor, 12> m_tubeAccessors;
87  std::array<FiveObjectsAccessor, 1> m_sectoralCylinderAccessors{};
88  std::array<SixObjectsAccessor, 1> m_sectoralTubeAccessors{};
89 };
90 
91 inline const ThreeObjectsAccessor&
93  CylinderAccessorType cat) const {
94  return m_cylinderAccessors[cat];
95 }
96 
98  TubeAccessorType tat) const {
99  return m_tubeAccessors[tat];
100 }
101 
102 inline const FiveObjectsAccessor&
104  SectoralCylinderAccessorType scat) const {
105  return m_sectoralCylinderAccessors[scat];
106 }
107 
108 inline const SixObjectsAccessor&
112 }
113 
114 } // namespace Trk
115 
116 #endif
Trk::SectoralTubeAccessorType
SectoralTubeAccessorType
Definition: CylinderVolumeBoundaryAccessors.h:51
Trk::TubeRdecreaseZdecrease
@ TubeRdecreaseZdecrease
Accessor type [ 3,0,1,2 ].
Definition: CylinderVolumeBoundaryAccessors.h:33
Trk::TubeOutsideRmaxRincrease
@ TubeOutsideRmaxRincrease
Accessor type [ 2,1,0,3 ] - inverse case.
Definition: CylinderVolumeBoundaryAccessors.h:37
Trk::CylinderVolumeBoundaryAccessors::CylinderVolumeBoundaryAccessors
CylinderVolumeBoundaryAccessors()
Default Constructor.
Definition: CylinderVolumeBoundaryAccessors.cxx:14
Trk::FourObjectsAccessor
std::pair< std::array< ObjectAccessor::value_type, 4 >, bool > FourObjectsAccessor
Definition: ObjectsAccessor.h:15
Trk::CylinderVolumeBoundaryAccessors::tubeAccessor
const FourObjectsAccessor & tubeAccessor(TubeAccessorType tat) const
Return the accessor for the tube case.
Definition: CylinderVolumeBoundaryAccessors.h:97
Trk::CylinderVolumeBoundaryAccessors::m_sectoralTubeAccessors
std::array< SixObjectsAccessor, 1 > m_sectoralTubeAccessors
Definition: CylinderVolumeBoundaryAccessors.h:88
Trk::TubeZdecreaseRdecrease
@ TubeZdecreaseRdecrease
Accessor type [ 0,3,1,2 ].
Definition: CylinderVolumeBoundaryAccessors.h:35
Trk::TubeAccessorType
TubeAccessorType
Definition: CylinderVolumeBoundaryAccessors.h:26
ObjectsAccessor.h
Trk::FiveObjectsAccessor
std::array< ObjectAccessor::value_type, 5 > FiveObjectsAccessor
Definition: ObjectsAccessor.h:16
Trk::TubeOutsideZmaxZincrease
@ TubeOutsideZmaxZincrease
Accessor type [ 1,3,2,0 ] - inverse case.
Definition: CylinderVolumeBoundaryAccessors.h:39
Trk::ThreeObjectsAccessor
std::array< ObjectAccessor::value_type, 3 > ThreeObjectsAccessor
Definition: ObjectsAccessor.h:13
Trk::CylinderVolumeBoundaryAccessors::m_tubeAccessors
std::array< FourObjectsAccessor, 12 > m_tubeAccessors
Definition: CylinderVolumeBoundaryAccessors.h:86
Trk::TubeRincreaseZdecrease
@ TubeRincreaseZdecrease
Accessor type [ 2,0,1,3 ].
Definition: CylinderVolumeBoundaryAccessors.h:29
Trk::CylinderVolumeBoundaryAccessors
Definition: CylinderVolumeBoundaryAccessors.h:62
Trk::StandardSectoralCylinder
@ StandardSectoralCylinder
Definition: CylinderVolumeBoundaryAccessors.h:46
Trk::CylinderVolumeBoundaryAccessors::m_cylinderAccessors
std::array< ThreeObjectsAccessor, 4 > m_cylinderAccessors
Definition: CylinderVolumeBoundaryAccessors.h:85
Trk::CylinderVolumeBoundaryAccessors::cylinderAccessor
const ThreeObjectsAccessor & cylinderAccessor(CylinderAccessorType cat) const
Return the accessor for the cylindrical case.
Definition: CylinderVolumeBoundaryAccessors.h:92
Trk::TubeZdecreaseRincrease
@ TubeZdecreaseRincrease
Accessor type [ 0,2,1,3 ].
Definition: CylinderVolumeBoundaryAccessors.h:31
Trk::CylinderZdecrease
@ CylinderZdecrease
Cylinder hit, the neg.
Definition: CylinderVolumeBoundaryAccessors.h:19
Trk::CylinderAccessorType
CylinderAccessorType
Definition: CylinderVolumeBoundaryAccessors.h:17
Trk::TubeRdecreaseZincrease
@ TubeRdecreaseZincrease
Accessor type [ 3,1,0,2 ].
Definition: CylinderVolumeBoundaryAccessors.h:32
beamspotman.stat
stat
Definition: beamspotman.py:266
Trk::CylinderNegativeFace
@ CylinderNegativeFace
Neg.
Definition: CylinderVolumeBoundaryAccessors.h:21
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::StandardSectoralTube
@ StandardSectoralTube
Definition: CylinderVolumeBoundaryAccessors.h:51
Trk::CylinderVolumeBoundaryAccessors::~CylinderVolumeBoundaryAccessors
~CylinderVolumeBoundaryAccessors()=default
Default Constructor.
Trk::SixObjectsAccessor
std::array< ObjectAccessor::value_type, 6 > SixObjectsAccessor
Definition: ObjectsAccessor.h:17
Trk::TubeRincreaseZincrease
@ TubeRincreaseZincrease
Accessor type [ 2,1,0,3 ].
Definition: CylinderVolumeBoundaryAccessors.h:28
Trk::CylinderVolumeBoundaryAccessors::m_sectoralCylinderAccessors
std::array< FiveObjectsAccessor, 1 > m_sectoralCylinderAccessors
Definition: CylinderVolumeBoundaryAccessors.h:87
Trk::CylinderVolumeBoundaryAccessors::sectoralTubeAccessor
const SixObjectsAccessor & sectoralTubeAccessor(SectoralTubeAccessorType stat) const
Return the accessor for the sectoral tube case.
Definition: CylinderVolumeBoundaryAccessors.h:109
Trk::TubeZincreaseRdecrease
@ TubeZincreaseRdecrease
Accessor type [ 1,3,0,2 ].
Definition: CylinderVolumeBoundaryAccessors.h:34
Trk::CylinderVolumeBoundaryAccessors::sectoralCylinderAccessor
const FiveObjectsAccessor & sectoralCylinderAccessor(SectoralCylinderAccessorType scat) const
Return the accessor for the sectoral cylinciracl case.
Definition: CylinderVolumeBoundaryAccessors.h:103
Trk::CylinderPositiveFace
@ CylinderPositiveFace
Pos.
Definition: CylinderVolumeBoundaryAccessors.h:20
Trk::SectoralCylinderAccessorType
SectoralCylinderAccessorType
Definition: CylinderVolumeBoundaryAccessors.h:46
Trk::CylinderZincrease
@ CylinderZincrease
Cylinder hit, then pos.
Definition: CylinderVolumeBoundaryAccessors.h:18
Trk::TubeOutsideRminRdecrease
@ TubeOutsideRminRdecrease
Accessor type [ 3,1,0,2] - inverse case.
Definition: CylinderVolumeBoundaryAccessors.h:36
Trk::TubeOutsideZminZdecrease
@ TubeOutsideZminZdecrease
Accessor type [ 0,3,2,1 ] - inverse case.
Definition: CylinderVolumeBoundaryAccessors.h:38
Trk::TubeZincreaseRincrease
@ TubeZincreaseRincrease
Accessor type [ 1,2,0,3 ].
Definition: CylinderVolumeBoundaryAccessors.h:30