Project
Loading...
Searching...
No Matches
o2::detectors::MatrixCache< T > Class Template Reference

MatrixCache is a vector of cached transform matrices (per sensor) for specific Transformation type. More...

#include <DetMatrixCache.h>

Public Member Functions

 MatrixCache ()=default
 
 ~MatrixCache ()=default
 
 MatrixCache (const MatrixCache &src)=delete
 
MatrixCacheoperator= (const MatrixCache &src)=delete
 
void setSize (int s)
 set the size of the cache
 
int getSize () const
 get the size of the cache
 
void setMatrix (const T &mat, int sensID)
 assign matrix to a slot
 
const T & getMatrix (int sensID) const
 
bool isFilled () const
 

Detailed Description

template<typename T = o2::math_utils::Transform3D>
class o2::detectors::MatrixCache< T >

MatrixCache is a vector of cached transform matrices (per sensor) for specific Transformation type.

Definition at line 33 of file DetMatrixCache.h.

Constructor & Destructor Documentation

◆ MatrixCache() [1/2]

template<typename T = o2::math_utils::Transform3D>
o2::detectors::MatrixCache< T >::MatrixCache ( )
default

◆ ~MatrixCache()

template<typename T = o2::math_utils::Transform3D>
o2::detectors::MatrixCache< T >::~MatrixCache ( )
default

◆ MatrixCache() [2/2]

template<typename T = o2::math_utils::Transform3D>
o2::detectors::MatrixCache< T >::MatrixCache ( const MatrixCache< T > &  src)
delete

Member Function Documentation

◆ getMatrix()

template<typename T = o2::math_utils::Transform3D>
const T & o2::detectors::MatrixCache< T >::getMatrix ( int  sensID) const
inline

Definition at line 63 of file DetMatrixCache.h.

◆ getSize()

template<typename T = o2::math_utils::Transform3D>
int o2::detectors::MatrixCache< T >::getSize ( ) const
inline

get the size of the cache

Definition at line 52 of file DetMatrixCache.h.

◆ isFilled()

template<typename T = o2::math_utils::Transform3D>
bool o2::detectors::MatrixCache< T >::isFilled ( ) const
inline

Definition at line 64 of file DetMatrixCache.h.

◆ operator=()

template<typename T = o2::math_utils::Transform3D>
MatrixCache & o2::detectors::MatrixCache< T >::operator= ( const MatrixCache< T > &  src)
delete

◆ setMatrix()

template<typename T = o2::math_utils::Transform3D>
void o2::detectors::MatrixCache< T >::setMatrix ( const T &  mat,
int  sensID 
)
inline

assign matrix to a slot

Definition at line 54 of file DetMatrixCache.h.

◆ setSize()

template<typename T = o2::math_utils::Transform3D>
void o2::detectors::MatrixCache< T >::setSize ( int  s)
inline

set the size of the cache

Definition at line 44 of file DetMatrixCache.h.


The documentation for this class was generated from the following file: