ATLAS Offline Software
SiElementPropertiesTable.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6 
7  -------------------
8  ATLAS Collaboration
9  ***************************************************************************/
10 
12 
13 #include "InDetIdentifier/SCT_ID.h"
16 
17 namespace InDet{
18 
21  float epsilonWidth)
22  {
23  size_t maxSCT = idHelper.wafer_hash_max();
24  m_properties.reserve(maxSCT);
25  for (size_t i = 0; i < maxSCT; ++i){
27  const InDetDD::SiDetectorElement* element = elements[hash];
28  if (element != nullptr){
29  m_properties.emplace_back(hash, idHelper,*element,epsilonWidth);
30  }
31  }
32 }
33 //--------------------------------------------------------------------------
34 
35 }
SiElementPropertiesTable.h
SCT_ID.h
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
InDetDD::SiDetectorElementCollection
Definition: SiDetectorElementCollection.h:30
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
lumiFormat.i
int i
Definition: lumiFormat.py:85
SiLocalPosition.h
SCT_ID::wafer_hash_max
size_type wafer_hash_max(void) const
Definition: SCT_ID.cxx:636
InDet::SiElementPropertiesTable::m_properties
std::vector< SiElementProperties > m_properties
Definition: SiElementPropertiesTable.h:46
InDetDD::SiDetectorElement
Definition: SiDetectorElement.h:109
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
SCT_ID
Definition: SCT_ID.h:68
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
InDet::SiElementPropertiesTable::SiElementPropertiesTable
SiElementPropertiesTable(const SCT_ID &idHelper, const InDetDD::SiDetectorElementCollection &elements, float epsilonWidth)
Definition: SiElementPropertiesTable.cxx:23
SiDetectorDesign.h