A collection of TabulatedFunction. More...
#include <MultiTabulatedFunction.h>
Public Types | |
typedef boost::transform_iterator < LabeledObjectFunctor, typename MultiObjectContainer::const_iterator, LabeledTabulatedFunction > | ConstIterator |
typedef boost::transform_iterator < LabeledObjectFunctor, typename MultiObjectContainer::iterator, LabeledTabulatedFunction > | Iterator |
typedef utl::detail::LabeledObjectFunctor < TabulatedFunction, LabeledTabulatedFunction > | LabeledObjectFunctor |
typedef std::map< int, TabulatedFunction * > | MultiObjectContainer |
Public Member Functions | |
void | AddTabulatedFunction (const int label) |
void | AddTabulatedFunction (const TabulatedFunction &tf, const int label) |
Iterator | Begin () |
ConstIterator | Begin () const |
void | Clear () |
Iterator | End () |
ConstIterator | End () const |
unsigned int | GetNLabels () const |
TabulatedFunction & | GetTabulatedFunction (const int label=0) |
Returns the TabulatedFunction for /par source, throws an exception if na. More... | |
const TabulatedFunction & | GetTabulatedFunction (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 |
Iterator | TabulatedFunctionsBegin () |
ConstIterator | TabulatedFunctionsBegin () const |
Iterator | TabulatedFunctionsEnd () |
ConstIterator | TabulatedFunctionsEnd () const |
Protected Member Functions | |
void | AddObject (const TabulatedFunction &obj, const int label) |
add with deep copy of the object More... | |
void | AddObject (TabulatedFunction *const obj, const int label) |
add that takes the ownership More... | |
TabulatedFunction & | GetObject (const int label=0) |
const TabulatedFunction & | GetObject (const int label=0) const |
void | RemoveObject (const int label) |
A collection of TabulatedFunction.
This class provides methods to access TabulatedFunction objects different sources.
Definition at line 37 of file MultiTabulatedFunction.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 AddTabulatedFunction().
|
protectedinherited |
add that takes the ownership
|
inline |
Creates a new TabulatedFunction and assign source /par source
Definition at line 53 of file MultiTabulatedFunction.h.
References utl::MultiObject< TabulatedFunction, LabeledTabulatedFunction >::AddObject().
Referenced by evt::ShowerSimData::AddCherenkovBeamPhotons(), evt::ShowerSimData::AddCherenkovBeamProductionPhotons(), evt::ShowerSimData::AddCherenkovPhotons(), evt::ShowerSimData::AddFluorescencePhotons(), main(), evt::ShowerSimData::MakeLongitudinalProfile(), io::MultiTabulatedFunction_ROOT::operator>>(), and TestOfflineUtils_ROOT_io::testMultiTabulatedFunction().
|
inline |
Copies the TabulatedFunction in the internal list and assign source /par source -The original can be deleted
Definition at line 58 of file MultiTabulatedFunction.h.
References utl::MultiObject< T, LabeledObjectType >::AddObject().
|
inlineinherited |
Definition at line 83 of file MultiObject.h.
Referenced by TabulatedFunctionsBegin().
|
inlineinherited |
Definition at line 84 of file MultiObject.h.
|
inherited |
|
inlineinherited |
Definition at line 85 of file MultiObject.h.
Referenced by TabulatedFunctionsEnd().
|
inlineinherited |
Definition at line 86 of file MultiObject.h.
|
inlineinherited |
Definition at line 89 of file MultiObject.h.
|
protectedinherited |
|
protectedinherited |
|
inline |
Returns the TabulatedFunction for /par source, throws an exception if na.
Definition at line 42 of file MultiTabulatedFunction.h.
References utl::MultiObject< T, LabeledObjectType >::GetObject().
Referenced by evt::ShowerSimData::GetCherenkovBeamPhotons(), evt::ShowerSimData::GetCherenkovBeamProductionPhotons(), evt::ShowerSimData::GetCherenkovPhotons(), evt::ShowerSimData::GetFluorescencePhotons(), evt::ShowerSimData::GetLongitudinalProfile(), TestOfflineUtils_ROOT_io::IsEqual(), and main().
|
inline |
Definition at line 44 of file MultiTabulatedFunction.h.
References utl::MultiObject< T, LabeledObjectType >::GetObject().
|
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 |
|
inline |
Definition at line 47 of file MultiTabulatedFunction.h.
References utl::MultiObject< TabulatedFunction, LabeledTabulatedFunction >::Begin().
Referenced by evt::ShowerSimData::FirstCherenkovBeamProductionWavelength(), evt::ShowerSimData::FirstCherenkovBeamWavelength(), evt::ShowerSimData::FirstCherenkovWavelength(), evt::ShowerSimData::FirstFluorescenceWavelength(), and TestOfflineUtils_ROOT_io::IsEqual().
|
inline |
Definition at line 48 of file MultiTabulatedFunction.h.
References utl::MultiObject< TabulatedFunction, LabeledTabulatedFunction >::Begin().
|
inline |
Definition at line 49 of file MultiTabulatedFunction.h.
References utl::MultiObject< TabulatedFunction, LabeledTabulatedFunction >::End().
Referenced by TestOfflineUtils_ROOT_io::IsEqual(), evt::ShowerSimData::LastCherenkovBeamProductionWavelength(), evt::ShowerSimData::LastCherenkovBeamWavelength(), evt::ShowerSimData::LastCherenkovWavelength(), and evt::ShowerSimData::LastFluorescenceWavelength().
|
inline |
Definition at line 50 of file MultiTabulatedFunction.h.
References utl::MultiObject< TabulatedFunction, LabeledTabulatedFunction >::End().