ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
InDet::SiliconPropertiesVector Class Reference

#include <SiliconPropertiesVector.h>

Collaboration diagram for InDet::SiliconPropertiesVector:

Public Member Functions

 SiliconPropertiesVector ()
 
 ~SiliconPropertiesVector ()
 
void resize (IdentifierHash::value_type size)
 
const InDet::SiliconPropertiesgetSiProperties (const IdentifierHash &elementHash) const
 
void setConditions (const IdentifierHash &elementHash, const double temperature, const double electricField)
 

Private Attributes

std::vector< InDet::SiliconPropertiesm_data
 
InDet::SiliconProperties m_defaultProperties
 

Detailed Description

Definition at line 19 of file SiliconPropertiesVector.h.

Constructor & Destructor Documentation

◆ SiliconPropertiesVector()

InDet::SiliconPropertiesVector::SiliconPropertiesVector ( )

Definition at line 13 of file SiliconPropertiesVector.cxx.

13  :
14  m_data{},
16  {
17  }

◆ ~SiliconPropertiesVector()

InDet::SiliconPropertiesVector::~SiliconPropertiesVector ( )
default

Member Function Documentation

◆ getSiProperties()

const InDet::SiliconProperties & InDet::SiliconPropertiesVector::getSiProperties ( const IdentifierHash elementHash) const

Definition at line 25 of file SiliconPropertiesVector.cxx.

25  {
26  if (m_data.size()<=elementHash) return m_defaultProperties;
27  return m_data[elementHash];
28  }

◆ resize()

void InDet::SiliconPropertiesVector::resize ( IdentifierHash::value_type  size)

Definition at line 21 of file SiliconPropertiesVector.cxx.

21  {
22  m_data.resize(size);
23  }

◆ setConditions()

void InDet::SiliconPropertiesVector::setConditions ( const IdentifierHash elementHash,
const double  temperature,
const double  electricField 
)

Definition at line 30 of file SiliconPropertiesVector.cxx.

30  {
31  if (m_data.size()<elementHash) m_data.resize(elementHash);
32  m_data[elementHash].setConditions(temperature, electricField);
33  }

Member Data Documentation

◆ m_data

std::vector<InDet::SiliconProperties> InDet::SiliconPropertiesVector::m_data
private

Definition at line 31 of file SiliconPropertiesVector.h.

◆ m_defaultProperties

InDet::SiliconProperties InDet::SiliconPropertiesVector::m_defaultProperties
private

Definition at line 32 of file SiliconPropertiesVector.h.


The documentation for this class was generated from the following files:
InDet::SiliconPropertiesVector::m_defaultProperties
InDet::SiliconProperties m_defaultProperties
Definition: SiliconPropertiesVector.h:32
InDet::SiliconPropertiesVector::m_data
std::vector< InDet::SiliconProperties > m_data
Definition: SiliconPropertiesVector.h:31
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39