ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecAlgs
SiSpacePointFormation
src
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
11
#include "
SiSpacePointFormation/SiElementPropertiesTable.h
"
12
13
#include "
InDetIdentifier/SCT_ID.h
"
14
#include "
InDetReadoutGeometry/SiDetectorDesign.h
"
15
#include "
ReadoutGeometryBase/SiLocalPosition.h
"
16
17
namespace
InDet
{
18
19
SiElementPropertiesTable::SiElementPropertiesTable
(
const
SCT_ID
& idHelper,
20
const
InDetDD::SiDetectorElementCollection
& elements,
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
}
SCT_ID.h
This is an Identifier helper class for the SCT subdetector.
SiDetectorDesign.h
SiElementPropertiesTable.h
SiLocalPosition.h
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
InDetDD::SiDetectorElementCollection
Class to hold the SiDetectorElement objects to be put in the detector store.
Definition
SiDetectorElementCollection.h:27
InDetDD::SiDetectorElement
Class to hold geometrical description of a silicon detector element.
Definition
SiDetectorElement.h:109
InDet::SiElementPropertiesTable::SiElementPropertiesTable
SiElementPropertiesTable(const SCT_ID &idHelper, const InDetDD::SiDetectorElementCollection &elements, float epsilonWidth, const bool doEndcapEtaNeighbours=false)
Definition
SiElementPropertiesTable.cxx:19
InDet::SiElementPropertiesTable::m_properties
std::vector< SiElementProperties > m_properties
Definition
SiElementPropertiesTable.h:39
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
SCT_ID::wafer_hash_max
size_type wafer_hash_max() const
Definition
SCT_ID.cxx:621
InDet
Primary Vertex Finder.
Definition
VP1ErrorUtils.h:36
Generated on
for ATLAS Offline Software by
1.17.0