ATLAS Offline Software
Loading...
Searching...
No Matches
TB2DProfiler< T > Class Template Reference

#include <TB2DProfiler.h>

Collaboration diagram for TB2DProfiler< T >:

Public Types

typedef std::vector< std::vector< T > > matrix_t

Public Member Functions

 TB2DProfiler ()
 TB2DProfiler (size_t xBins, const T &xLow, const T &xHigh, size_t yBins, const T &yLow, const T &yHigh)
 TB2DProfiler (const TB2DProfiler &)=delete
TB2DProfileroperator= (const TB2DProfiler &)=delete
virtual ~TB2DProfiler ()
void addData (const T &xPos, const T &yPos, const T &theData)
void addData (size_t i, size_t j, const T &theData)
bool getAverages (size_t i, size_t j, T &theData) const
bool getAverages (const T &x, const T &y, T &theData) const
bool getStandardDevs (size_t i, size_t j, T &theData) const
bool getStandardDevs (const T &x, const T &y, T &theData) const
bool getErrors (size_t i, size_t j, T &theData) const
bool getErrors (const T &x, const T &y, T &theData) const
bool getBinEntries (size_t i, size_t j, size_t &theEntries) const
bool getBinEntries (const T &x, const T &y, size_t &theEntries) const
size_t getXIndex (const T &x) const
size_t getYIndex (const T &y) const
size_t getNumberOfChannels () const
const TBProfiler< T > & getXBinning () const
const TBProfiler< T > & getYBinning () const

Protected Member Functions

size_t getIndex (const T &x, const T &y) const
size_t getIndex (size_t i, size_t j) const

Protected Attributes

TBProfiler< T > * m_xBinning
TBProfiler< T > * m_yBinning
TBProfiler< T > * m_store
bool m_skipFlag

Detailed Description

template<typename T>
class TB2DProfiler< T >

Definition at line 13 of file TB2DProfiler.h.

Member Typedef Documentation

◆ matrix_t

template<typename T>
typedef std::vector< std::vector<T> > TB2DProfiler< T >::matrix_t

Definition at line 17 of file TB2DProfiler.h.

Constructor & Destructor Documentation

◆ TB2DProfiler() [1/3]

template<typename T>
TB2DProfiler< T >::TB2DProfiler ( )

◆ TB2DProfiler() [2/3]

template<typename T>
TB2DProfiler< T >::TB2DProfiler ( size_t xBins,
const T & xLow,
const T & xHigh,
size_t yBins,
const T & yLow,
const T & yHigh )

◆ TB2DProfiler() [3/3]

template<typename T>
TB2DProfiler< T >::TB2DProfiler ( const TB2DProfiler< T > & )
delete

◆ ~TB2DProfiler()

template<typename T>
virtual TB2DProfiler< T >::~TB2DProfiler ( )
virtual

Member Function Documentation

◆ addData() [1/2]

template<typename T>
void TB2DProfiler< T >::addData ( const T & xPos,
const T & yPos,
const T & theData )

◆ addData() [2/2]

template<typename T>
void TB2DProfiler< T >::addData ( size_t i,
size_t j,
const T & theData )

◆ getAverages() [1/2]

template<typename T>
bool TB2DProfiler< T >::getAverages ( const T & x,
const T & y,
T & theData ) const

◆ getAverages() [2/2]

template<typename T>
bool TB2DProfiler< T >::getAverages ( size_t i,
size_t j,
T & theData ) const

◆ getBinEntries() [1/2]

template<typename T>
bool TB2DProfiler< T >::getBinEntries ( const T & x,
const T & y,
size_t & theEntries ) const

◆ getBinEntries() [2/2]

template<typename T>
bool TB2DProfiler< T >::getBinEntries ( size_t i,
size_t j,
size_t & theEntries ) const

◆ getErrors() [1/2]

template<typename T>
bool TB2DProfiler< T >::getErrors ( const T & x,
const T & y,
T & theData ) const

◆ getErrors() [2/2]

template<typename T>
bool TB2DProfiler< T >::getErrors ( size_t i,
size_t j,
T & theData ) const

◆ getIndex() [1/2]

template<typename T>
size_t TB2DProfiler< T >::getIndex ( const T & x,
const T & y ) const
protected

◆ getIndex() [2/2]

template<typename T>
size_t TB2DProfiler< T >::getIndex ( size_t i,
size_t j ) const
protected

◆ getNumberOfChannels()

template<typename T>
size_t TB2DProfiler< T >::getNumberOfChannels ( ) const

◆ getStandardDevs() [1/2]

template<typename T>
bool TB2DProfiler< T >::getStandardDevs ( const T & x,
const T & y,
T & theData ) const

◆ getStandardDevs() [2/2]

template<typename T>
bool TB2DProfiler< T >::getStandardDevs ( size_t i,
size_t j,
T & theData ) const

◆ getXBinning()

template<typename T>
const TBProfiler< T > & TB2DProfiler< T >::getXBinning ( ) const

◆ getXIndex()

template<typename T>
size_t TB2DProfiler< T >::getXIndex ( const T & x) const

◆ getYBinning()

template<typename T>
const TBProfiler< T > & TB2DProfiler< T >::getYBinning ( ) const

◆ getYIndex()

template<typename T>
size_t TB2DProfiler< T >::getYIndex ( const T & y) const

◆ operator=()

template<typename T>
TB2DProfiler & TB2DProfiler< T >::operator= ( const TB2DProfiler< T > & )
delete

Member Data Documentation

◆ m_skipFlag

template<typename T>
bool TB2DProfiler< T >::m_skipFlag
protected

Definition at line 56 of file TB2DProfiler.h.

◆ m_store

template<typename T>
TBProfiler<T>* TB2DProfiler< T >::m_store
protected

Definition at line 51 of file TB2DProfiler.h.

◆ m_xBinning

template<typename T>
TBProfiler<T>* TB2DProfiler< T >::m_xBinning
protected

Definition at line 49 of file TB2DProfiler.h.

◆ m_yBinning

template<typename T>
TBProfiler<T>* TB2DProfiler< T >::m_yBinning
protected

Definition at line 50 of file TB2DProfiler.h.


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