ATLAS Offline Software
Loading...
Searching...
No Matches
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
16
17namespace InDet{
18
21 float epsilonWidth,
22 const bool doEndcapEtaNeighbours)
23 {
24 size_t maxSCT = idHelper.wafer_hash_max();
25 m_properties.reserve(maxSCT);
26 for (size_t i = 0; i < maxSCT; ++i){
27 IdentifierHash hash(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}
This is an Identifier helper class for the SCT subdetector.
This is a "hash" representation of an Identifier.
Class to hold the SiDetectorElement objects to be put in the detector store.
Class to hold geometrical description of a silicon detector element.
SiElementPropertiesTable(const SCT_ID &idHelper, const InDetDD::SiDetectorElementCollection &elements, float epsilonWidth, const bool doEndcapEtaNeighbours=false)
std::vector< SiElementProperties > m_properties
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
size_type wafer_hash_max() const
Definition SCT_ID.cxx:621
Primary Vertex Finder.