ATLAS Offline Software
Loading...
Searching...
No Matches
SiliconPropertiesVector.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6// Source file for class SiliconPropertiesVector for SiPropertiesTool
8
10
11namespace InDet {
12
18
20
24
26 if (m_data.size()<=elementHash) return m_defaultProperties;
27 return m_data[elementHash];
28 }
29
30 void SiliconPropertiesVector::setConditions(const IdentifierHash& elementHash, const double temperature, const double electricField) {
31 if (m_data.size()<elementHash) m_data.resize(elementHash);
32 m_data[elementHash].setConditions(temperature, electricField);
33 }
34
35} // namespace InDet
This is a "hash" representation of an Identifier.
unsigned int value_type
std::vector< InDet::SiliconProperties > m_data
const InDet::SiliconProperties & getSiProperties(const IdentifierHash &elementHash) const
InDet::SiliconProperties m_defaultProperties
void resize(IdentifierHash::value_type size)
void setConditions(const IdentifierHash &elementHash, const double temperature, const double electricField)
Primary Vertex Finder.