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

#include <Source.h>

Inheritance diagram for lwtDev::VectorSource:
Collaboration diagram for lwtDev::VectorSource:

Public Member Functions

 VectorSource (std::vector< VectorXd > &&, std::vector< MatrixXd > &&={})
 
virtual VectorXd at (size_t index) const override
 
virtual MatrixXd matrix_at (size_t index) const override
 

Private Attributes

std::vector< VectorXd > m_inputs
 
std::vector< MatrixXd > m_matrix_inputs
 

Detailed Description

Definition at line 25 of file Source.h.

Constructor & Destructor Documentation

◆ VectorSource()

lwtDev::VectorSource::VectorSource ( std::vector< VectorXd > &&  vv,
std::vector< MatrixXd > &&  mm = {} 
)

Definition at line 15 of file Graph.cxx.

16  :
17  m_inputs(std::move(vv)),
18  m_matrix_inputs(std::move(mm))
19  {
20  }

Member Function Documentation

◆ at()

VectorXd lwtDev::VectorSource::at ( size_t  index) const
overridevirtual

Implements lwtDev::ISource.

Definition at line 21 of file Graph.cxx.

21  {
22  if (index >= m_inputs.size()) {
24  "VectorSource: no source vector defined at " + std::to_string(index));
25  }
26  return m_inputs.at(index);
27  }

◆ matrix_at()

MatrixXd lwtDev::VectorSource::matrix_at ( size_t  index) const
overridevirtual

Implements lwtDev::ISource.

Definition at line 28 of file Graph.cxx.

28  {
29  if (index >= m_matrix_inputs.size()) {
31  "VectorSource: no source matrix defined at " + std::to_string(index));
32  }
33  return m_matrix_inputs.at(index);
34  }

Member Data Documentation

◆ m_inputs

std::vector<VectorXd> lwtDev::VectorSource::m_inputs
private

Definition at line 32 of file Source.h.

◆ m_matrix_inputs

std::vector<MatrixXd> lwtDev::VectorSource::m_matrix_inputs
private

Definition at line 33 of file Source.h.


The documentation for this class was generated from the following files:
index
Definition: index.py:1
lwtDev::VectorSource::m_matrix_inputs
std::vector< MatrixXd > m_matrix_inputs
Definition: Source.h:33
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34
lwtDev::NNEvaluationException
Definition: Reconstruction/tauRecTools/tauRecTools/lwtnn/Exceptions.h:27
lwtDev::VectorSource::m_inputs
std::vector< VectorXd > m_inputs
Definition: Source.h:32
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
PlotCalibFromCool.vv
vv
Definition: PlotCalibFromCool.py:716