ATLAS Offline Software
SiElementProperties.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  This class contains some element properties that are used in
7 SiSpacePointFormation
8  : ie the wafer widths and wafer neighbours. These are cached during
9  SiSpacePointFormation initialization for the sake of efficiency.
10 
11  ATLAS Collaboration
12  ***************************************************************************/
13 
14 #ifndef SISPACEPOINTFORMATION_SIELEMENTPROPERTIES_H
15 #define SISPACEPOINTFORMATION_SIELEMENTPROPERTIES_H
16 
17 #include <vector>
20 
21 class SCT_ID;
22 
23 namespace InDet {
24 
26 
27 {
28 public:
29 
30  SiElementProperties(const IdentifierHash& idHash,
31  const SCT_ID& idHelper,
32  const InDetDD::SiDetectorElement& element,
33  float epsilonWidth);
34 
36 
37  const std::vector<IdentifierHash>* neighbours (void) const;
38  float halfWidth (void) const;
39 
40 private:
41  std::vector<IdentifierHash> m_neighbours;
42  float m_halfWidth;
43 
44 };
45 
46 
47 
48 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
49 
50 
51 //--------------------------------------------------------------------------
52 inline const std::vector<IdentifierHash>*
54 {
55  return &m_neighbours;
56 }
57 
58 //----------------------------------------------------------------------------
59 inline float
61 {
62  return m_halfWidth;
63 }
64 
65 //----------------------------------------------------------------------------
66 
67 }
68 #endif // SISPACEPOINTFORMATION_SIELEMENTPROPERTIES_H
InDet
DUMMY Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::SiElementProperties
Definition: SiElementProperties.h:27
InDet::SiElementProperties::m_halfWidth
float m_halfWidth
Definition: SiElementProperties.h:42
InDet::SiElementProperties::halfWidth
float halfWidth(void) const
Definition: SiElementProperties.h:60
InDet::SiElementProperties::m_neighbours
std::vector< IdentifierHash > m_neighbours
Definition: SiElementProperties.h:41
InDet::SiElementProperties::SiElementProperties
SiElementProperties(const IdentifierHash &idHash, const SCT_ID &idHelper, const InDetDD::SiDetectorElement &element, float epsilonWidth)
Definition: SiElementProperties.cxx:22
IdentifierHash.h
InDetDD::SiDetectorElement
Definition: SiDetectorElement.h:109
SiDetectorElement.h
SCT_ID
Definition: SCT_ID.h:68
InDet::SiElementProperties::neighbours
const std::vector< IdentifierHash > * neighbours(void) const
Definition: SiElementProperties.h:53
InDet::SiElementProperties::~SiElementProperties
~SiElementProperties()
IdentifierHash
Definition: IdentifierHash.h:38