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

#include <TBProfiler.h>

Collaboration diagram for TBProfiler< T >:

Public Member Functions

 TBProfiler ()
 TBProfiler (size_t storeSize)
 TBProfiler (size_t storeSize, const T &lowerLimit, const T &upperLimit)
virtual ~TBProfiler ()
void addData (const T &theChannel, const T &theData)
void addData (const std::vector< T > &theData)
void addData (size_t index, const T &theData)
bool getAverages (std::vector< T > &theAverages) const
bool getAverages (size_t theIndex, T &theAverage) const
bool getStandardDevs (std::vector< T > &theVariances) const
bool getStandardDevs (size_t theIndex, T &theDev) const
bool getErrors (std::vector< T > &theErrors) const
bool getErrors (size_t theIndex, T &theError) const
bool getBinEntries (std::vector< size_t > &theEntries) const
bool getBinEntries (size_t theIndex, size_t &theEntries) const
const std::vector< T > & getSums () const
const std::vector< T > & getSumOfSquares () const
const std::vector< size_t > & getEntries () const
size_t getNumberOfChannels () const
getChannelWidth () const
getMinChannel () const
getMaxChannel () const
size_t getIndex (const T &theChannel) const

Protected Member Functions

bool setupAction (size_t theSize)

Protected Attributes

std::vector< T > m_sum
std::vector< T > m_sumOfSquares
std::vector< size_t > m_entries

Private Attributes

bool m_channelFill
bool m_skipFlag
std::vector< T > m_binLimits
m_deltaBin

Detailed Description

template<typename T>
class TBProfiler< T >

Definition at line 12 of file TBProfiler.h.

Constructor & Destructor Documentation

◆ TBProfiler() [1/3]

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

◆ TBProfiler() [2/3]

template<typename T>
TBProfiler< T >::TBProfiler ( size_t storeSize)

◆ TBProfiler() [3/3]

template<typename T>
TBProfiler< T >::TBProfiler ( size_t storeSize,
const T & lowerLimit,
const T & upperLimit )

◆ ~TBProfiler()

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

Member Function Documentation

◆ addData() [1/3]

template<typename T>
void TBProfiler< T >::addData ( const std::vector< T > & theData)

◆ addData() [2/3]

template<typename T>
void TBProfiler< T >::addData ( const T & theChannel,
const T & theData )

◆ addData() [3/3]

template<typename T>
void TBProfiler< T >::addData ( size_t index,
const T & theData )

◆ getAverages() [1/2]

template<typename T>
bool TBProfiler< T >::getAverages ( size_t theIndex,
T & theAverage ) const

◆ getAverages() [2/2]

template<typename T>
bool TBProfiler< T >::getAverages ( std::vector< T > & theAverages) const

◆ getBinEntries() [1/2]

template<typename T>
bool TBProfiler< T >::getBinEntries ( size_t theIndex,
size_t & theEntries ) const

◆ getBinEntries() [2/2]

template<typename T>
bool TBProfiler< T >::getBinEntries ( std::vector< size_t > & theEntries) const

◆ getChannelWidth()

template<typename T>
T TBProfiler< T >::getChannelWidth ( ) const

◆ getEntries()

template<typename T>
const std::vector< size_t > & TBProfiler< T >::getEntries ( ) const

◆ getErrors() [1/2]

template<typename T>
bool TBProfiler< T >::getErrors ( size_t theIndex,
T & theError ) const

◆ getErrors() [2/2]

template<typename T>
bool TBProfiler< T >::getErrors ( std::vector< T > & theErrors) const

◆ getIndex()

template<typename T>
size_t TBProfiler< T >::getIndex ( const T & theChannel) const

◆ getMaxChannel()

template<typename T>
T TBProfiler< T >::getMaxChannel ( ) const

◆ getMinChannel()

template<typename T>
T TBProfiler< T >::getMinChannel ( ) const

◆ getNumberOfChannels()

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

◆ getStandardDevs() [1/2]

template<typename T>
bool TBProfiler< T >::getStandardDevs ( size_t theIndex,
T & theDev ) const

◆ getStandardDevs() [2/2]

template<typename T>
bool TBProfiler< T >::getStandardDevs ( std::vector< T > & theVariances) const

◆ getSumOfSquares()

template<typename T>
const std::vector< T > & TBProfiler< T >::getSumOfSquares ( ) const

◆ getSums()

template<typename T>
const std::vector< T > & TBProfiler< T >::getSums ( ) const

◆ setupAction()

template<typename T>
bool TBProfiler< T >::setupAction ( size_t theSize)
protected

Member Data Documentation

◆ m_binLimits

template<typename T>
std::vector<T> TBProfiler< T >::m_binLimits
private

Definition at line 58 of file TBProfiler.h.

◆ m_channelFill

template<typename T>
bool TBProfiler< T >::m_channelFill
private

Definition at line 56 of file TBProfiler.h.

◆ m_deltaBin

template<typename T>
T TBProfiler< T >::m_deltaBin
private

Definition at line 59 of file TBProfiler.h.

◆ m_entries

template<typename T>
std::vector<size_t> TBProfiler< T >::m_entries
protected

Definition at line 50 of file TBProfiler.h.

◆ m_skipFlag

template<typename T>
bool TBProfiler< T >::m_skipFlag
private

Definition at line 57 of file TBProfiler.h.

◆ m_sum

template<typename T>
std::vector<T> TBProfiler< T >::m_sum
protected

Definition at line 48 of file TBProfiler.h.

◆ m_sumOfSquares

template<typename T>
std::vector<T> TBProfiler< T >::m_sumOfSquares
protected

Definition at line 49 of file TBProfiler.h.


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