![]() |
ATLAS Offline Software
|
Class containing features of a tau seed. More...
#include <TauFeature.h>
Public Member Functions | |
| TauFeature () | |
| Default constructor. | |
| virtual | ~TauFeature () |
| Destructor. | |
| double | value (const std::string &name, bool &isValid) const |
| returns the value of the feature given by its name | |
| const std::vector< double > & | vecValue (const std::string &name) const |
| returns the value of a vector feature given by its name | |
| bool | addFeature (const std::string &name, const double value) |
| adds a new feature | |
| bool | addVecFeature (const std::string &name, const std::vector< double > &value) |
| adds a new vector feature | |
| int | nValues () const |
| returns the size of the m_featureMap | |
| int | nVecValues () const |
| returns the size of the m_vecFeatureMap | |
| void | add (PanTau::TauFeature *otherFeatures) |
Protected Attributes | |
| FeatureMap | m_featureMap |
| The map containg all features. | |
| VectorFeatureMap | m_vecFeatureMap |
| The map containg all features. | |
Private Types | |
| typedef std::map< std::string, double > | FeatureMap |
| typedef FeatureMap::iterator | FeatureMapIter |
| typedef FeatureMap::const_iterator | FeatureMapConstIter |
| typedef std::map< std::string, const std::vector< double > > | VectorFeatureMap |
| typedef VectorFeatureMap::iterator | VectorFeatureMapIter |
| typedef VectorFeatureMap::const_iterator | VectorFeatureMapConstIter |
Class containing features of a tau seed.
Definition at line 19 of file TauFeature.h.
|
private |
Definition at line 21 of file TauFeature.h.
|
private |
Definition at line 23 of file TauFeature.h.
|
private |
Definition at line 22 of file TauFeature.h.
|
private |
Definition at line 24 of file TauFeature.h.
|
private |
Definition at line 26 of file TauFeature.h.
|
private |
Definition at line 25 of file TauFeature.h.
| PanTau::TauFeature::TauFeature | ( | ) |
Default constructor.
Definition at line 12 of file TauFeature.cxx.
|
virtualdefault |
Destructor.
| void PanTau::TauFeature::add | ( | PanTau::TauFeature * | otherFeatures | ) |
Definition at line 74 of file TauFeature.cxx.
| bool PanTau::TauFeature::addFeature | ( | const std::string & | name, |
| const double | value ) |
adds a new feature
Definition at line 44 of file TauFeature.cxx.
| bool PanTau::TauFeature::addVecFeature | ( | const std::string & | name, |
| const std::vector< double > & | value ) |
adds a new vector feature
Definition at line 57 of file TauFeature.cxx.
| int PanTau::TauFeature::nValues | ( | ) | const |
returns the size of the m_featureMap
Definition at line 64 of file TauFeature.cxx.
| int PanTau::TauFeature::nVecValues | ( | ) | const |
returns the size of the m_vecFeatureMap
Definition at line 69 of file TauFeature.cxx.
| double PanTau::TauFeature::value | ( | const std::string & | name, |
| bool & | isValid ) const |
returns the value of the feature given by its name
Definition at line 23 of file TauFeature.cxx.
| const std::vector< double > & PanTau::TauFeature::vecValue | ( | const std::string & | name | ) | const |
returns the value of a vector feature given by its name
Definition at line 35 of file TauFeature.cxx.
|
protected |
The map containg all features.
Definition at line 61 of file TauFeature.h.
|
protected |
The map containg all features.
Definition at line 63 of file TauFeature.h.