ATLAS Offline Software
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
}
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:27
InDet
Primary Vertex Finder.
Definition:
VP1ErrorUtils.h:36
SCT_ID::wafer_hash_max
size_type wafer_hash_max() const
Definition:
SCT_ID.cxx:646
lumiFormat.i
int i
Definition:
lumiFormat.py:85
SiLocalPosition.h
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:108
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, const bool doEndcapEtaNeighbours=false)
Definition:
SiElementPropertiesTable.cxx:23
SiDetectorDesign.h
Generated on Mon Sep 1 2025 21:19:06 for ATLAS Offline Software by
1.8.18