Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
InDet::SiElementPropertiesTable Class Referencefinal

#include <SiElementPropertiesTable.h>

Collaboration diagram for InDet::SiElementPropertiesTable:

Public Member Functions

 SiElementPropertiesTable (const SCT_ID &idHelper, const InDetDD::SiDetectorElementCollection &elements, float epsilonWidth, const bool doEndcapEtaNeighbours=false)
 
 ~SiElementPropertiesTable ()=default
 
const std::vector< IdentifierHash > * neighbours (const IdentifierHash &waferID) const
 
float halfWidth (IdentifierHash hashID) const
 

Private Attributes

std::vector< SiElementPropertiesm_properties
 

Detailed Description

Definition at line 29 of file SiElementPropertiesTable.h.

Constructor & Destructor Documentation

◆ SiElementPropertiesTable()

InDet::SiElementPropertiesTable::SiElementPropertiesTable ( const SCT_ID idHelper,
const InDetDD::SiDetectorElementCollection elements,
float  epsilonWidth,
const bool  doEndcapEtaNeighbours = false 
)

Definition at line 23 of file SiElementPropertiesTable.cxx.

23  {
24  size_t maxSCT = idHelper.wafer_hash_max();
25  m_properties.reserve(maxSCT);
26  for (size_t i = 0; i < maxSCT; ++i){
28  const InDetDD::SiDetectorElement* element = elements[hash];
29  if (element != nullptr){
30  m_properties.emplace_back(hash, idHelper,*element,epsilonWidth,doEndcapEtaNeighbours);
31  }
32  }
33 }
34 //--------------------------------------------------------------------------
35 
36 }

◆ ~SiElementPropertiesTable()

InDet::SiElementPropertiesTable::~SiElementPropertiesTable ( )
default

Member Function Documentation

◆ halfWidth()

float InDet::SiElementPropertiesTable::halfWidth ( IdentifierHash  hashID) const
inline

Definition at line 55 of file SiElementPropertiesTable.h.

◆ neighbours()

const std::vector< IdentifierHash > * InDet::SiElementPropertiesTable::neighbours ( const IdentifierHash waferID) const
inline

Definition at line 49 of file SiElementPropertiesTable.h.

52 {

Member Data Documentation

◆ m_properties

std::vector<SiElementProperties> InDet::SiElementPropertiesTable::m_properties
private

Definition at line 47 of file SiElementPropertiesTable.h.


The documentation for this class was generated from the following files:
lumiFormat.i
int i
Definition: lumiFormat.py:85
SCT_ID::wafer_hash_max
size_type wafer_hash_max(void) const
Definition: SCT_ID.cxx:645
InDet::SiElementPropertiesTable::m_properties
std::vector< SiElementProperties > m_properties
Definition: SiElementPropertiesTable.h:47
InDetDD::SiDetectorElement
Definition: SiDetectorElement.h:109
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
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