Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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  const bool doEncapEtaNeighbours=false);
35 
37 
38  const std::vector<IdentifierHash>* neighbours (void) const;
39  float halfWidth (void) const;
40 
41 private:
42  std::vector<IdentifierHash> m_neighbours;
43  float m_halfWidth;
44 
45 };
46 
47 
48 
49 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>>
50 
51 
52 //--------------------------------------------------------------------------
53 inline const std::vector<IdentifierHash>*
55 {
56  return &m_neighbours;
57 }
58 
59 //----------------------------------------------------------------------------
60 inline float
62 {
63  return m_halfWidth;
64 }
65 
66 //----------------------------------------------------------------------------
67 
68 }
69 #endif // SISPACEPOINTFORMATION_SIELEMENTPROPERTIES_H
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::SiElementProperties
Definition: SiElementProperties.h:27
InDet::SiElementProperties::m_halfWidth
float m_halfWidth
Definition: SiElementProperties.h:43
InDet::SiElementProperties::halfWidth
float halfWidth(void) const
Definition: SiElementProperties.h:61
InDet::SiElementProperties::m_neighbours
std::vector< IdentifierHash > m_neighbours
Definition: SiElementProperties.h:42
InDet::SiElementProperties::SiElementProperties
SiElementProperties(const IdentifierHash &idHash, const SCT_ID &idHelper, const InDetDD::SiDetectorElement &element, float epsilonWidth, const bool doEncapEtaNeighbours=false)
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:54
InDet::SiElementProperties::~SiElementProperties
~SiElementProperties()
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25