A collection of TimeDistribution<T>,which provides methods to access different sources. More...
#include <MultiTimeDistribution.h>
Public Types | |
typedef boost::transform_iterator < LabeledObjectFunctor, typename MultiObjectContainer::const_iterator, LabeledTimeDistribution< T > > | ConstIterator |
typedef boost::transform_iterator < LabeledObjectFunctor, typename MultiObjectContainer::iterator, LabeledTimeDistribution< T > > | Iterator |
typedef utl::detail::LabeledObjectFunctor < TimeDistribution< T > , LabeledTimeDistribution< T > > | LabeledObjectFunctor |
typedef std::map< int, TimeDistribution< T > * > | MultiObjectContainer |
Public Member Functions | |
void | AddTimeDistribution (const double binSize, const int label) |
void | AddTimeDistribution (const TimeDistribution< T > &td, const int label) |
Iterator | Begin () |
ConstIterator | Begin () const |
void | Clear () |
Iterator | End () |
ConstIterator | End () const |
unsigned int | GetNLabels () const |
TimeDistribution< T > & | GetTimeDistribution (const int label=0) |
Returns the trace for /par source. More... | |
const TimeDistribution< T > & | GetTimeDistribution (const int label=0) const |
bool | HasLabel (const int label) const |
operator bool () const | |
bool | operator!= (const MultiObject &mobj) const |
bool | operator== (const MultiObject &mobj) const |
Protected Member Functions | |
void | AddObject (const TimeDistribution< T > &obj, const int label) |
add with deep copy of the object More... | |
void | AddObject (TimeDistribution< T > *const obj, const int label) |
add that takes the ownership More... | |
TimeDistribution< T > & | GetObject (const int label=0) |
const TimeDistribution< T > & | GetObject (const int label=0) const |
void | RemoveObject (const int label) |
A collection of TimeDistribution<T>,which provides methods to access different sources.
For the FD case examples are:
T | is the type stored in the TimeDistribution (double, int etc) |
Definition at line 54 of file MultiTimeDistribution.h.
|
inherited |
Definition at line 81 of file MultiObject.h.
|
inherited |
Definition at line 78 of file MultiObject.h.
|
inherited |
Definition at line 75 of file MultiObject.h.
|
inherited |
Definition at line 74 of file MultiObject.h.
|
inlineprotectedinherited |
add with deep copy of the object
Definition at line 128 of file MultiObject.h.
Referenced by utl::MultiTimeDistribution< int >::AddTimeDistribution().
|
protectedinherited |
add that takes the ownership
|
inline |
Creates a new TimeDistribution of size /par size and binning /par binsize and assign source /par source
Definition at line 66 of file MultiTimeDistribution.h.
Referenced by io::MultiTimeDistribution_ROOT< T >::operator>>(), and testTimeDistribution::testMultiTimeDistribution().
|
inline |
Copies trace in the internal list and assign source /par source -The original can be deleted
Definition at line 71 of file MultiTimeDistribution.h.
|
inlineinherited |
Definition at line 83 of file MultiObject.h.
|
inlineinherited |
Definition at line 84 of file MultiObject.h.
|
inherited |
|
inlineinherited |
Definition at line 85 of file MultiObject.h.
|
inlineinherited |
Definition at line 86 of file MultiObject.h.
|
inlineinherited |
Definition at line 89 of file MultiObject.h.
|
protectedinherited |
Referenced by utl::MultiTimeDistribution< int >::GetTimeDistribution().
|
protectedinherited |
|
inline |
Returns the trace for /par source.
Definition at line 59 of file MultiTimeDistribution.h.
Referenced by sevt::PMTSimData::GetBaseSignal(), sevt::PMTSimData::GetFADCTrace(), sevt::PMTSimData::GetFADCTraceD(), sevt::PMTSimData::GetFilterSignal(), sevt::PMTSimData::GetPETimeDistribution(), and testTimeDistribution::testMultiTimeDistribution().
|
inline |
Definition at line 61 of file MultiTimeDistribution.h.
|
inlineinherited |
Definition at line 91 of file MultiObject.h.
|
inlineexplicitinherited |
Definition at line 99 of file MultiObject.h.
|
inlineinherited |
Definition at line 96 of file MultiObject.h.
|
inherited |
|
protectedinherited |