ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
InDetDD::PixelDiodeTree::DiodeParam Struct Reference

Parameters of a diode. More...

#include <PixelDiodeTree.h>

Collaboration diagram for InDetDD::PixelDiodeTree::DiodeParam:

Public Member Functions

unsigned int addDiode (const Vector2D &width, AttributeType attribute=AttributeType{})
 

Public Attributes

std::vector< Vector2Dm_width
 
std::vector< Vector2Dm_invWidth
 
std::vector< AttributeTypem_attribute
 

Detailed Description

Parameters of a diode.

Definition at line 43 of file PixelDiodeTree.h.

Member Function Documentation

◆ addDiode()

unsigned int InDetDD::PixelDiodeTree::DiodeParam::addDiode ( const Vector2D width,
AttributeType  attribute = AttributeType{} 
)
inline

Definition at line 49 of file PixelDiodeTree.h.

49  {}) {
50  assert( m_width.size() == m_invWidth.size());
51  assert( m_width.size() == m_attribute.size());
53  unsigned int idx = m_width.size();
54  m_width.push_back(width);
55  m_invWidth.push_back(Vector2D{static_cast<FloatType>(1.)/width[0], static_cast<FloatType>(1.)/width[1]});
56  m_attribute.push_back(attribute);
57  return idx;
58  }

Member Data Documentation

◆ m_attribute

std::vector<AttributeType> InDetDD::PixelDiodeTree::DiodeParam::m_attribute

Definition at line 46 of file PixelDiodeTree.h.

◆ m_invWidth

std::vector<Vector2D > InDetDD::PixelDiodeTree::DiodeParam::m_invWidth

Definition at line 45 of file PixelDiodeTree.h.

◆ m_width

std::vector<Vector2D > InDetDD::PixelDiodeTree::DiodeParam::m_width

Definition at line 44 of file PixelDiodeTree.h.


The documentation for this struct was generated from the following file:
max
constexpr double max()
Definition: ap_fixedTest.cxx:33
InDetDD::PixelDiodeTree::DiodeParam::m_width
std::vector< Vector2D > m_width
Definition: PixelDiodeTree.h:44
InDetDD::PixelDiodeTree::DiodeParam::m_attribute
std::vector< AttributeType > m_attribute
Definition: PixelDiodeTree.h:46
InDetDD::PixelDiodeTree::DiodeParam::m_invWidth
std::vector< Vector2D > m_invWidth
Definition: PixelDiodeTree.h:45
InDetDD::PixelDiodeTree::FloatType
Amg::Vector2D::Scalar FloatType
Definition: PixelDiodeTree.h:36
InDetDD::PixelDiodeTree::attribute
AttributeType attribute(IndexType idx) const
Get the attribute associated to a sub-matrix.
Definition: PixelDiodeTree.h:328
InDetDD::PixelDiodeTree::Vector2D
Amg::Vector2D Vector2D
Definition: PixelDiodeTree.h:35
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69