5#ifndef PANTAUALGS_TAUFEATURE_H
6#define PANTAUALGS_TAUFEATURE_H
36 double value(
const std::string& name,
bool&
isValid)
const;
39 const std::vector<double>&
vecValue(
const std::string& name)
const;
47 const std::vector<double>&
value);
bool isValid(const T &p)
Av: we implement here an ATLAS-sepcific convention: all particles which are 99xxxxx are fine.
Class containing features of a tau seed.
int nValues() const
returns the size of the m_featureMap
std::map< std::string, double > FeatureMap
FeatureMap m_featureMap
The map containg all features.
VectorFeatureMap m_vecFeatureMap
The map containg all features.
int nVecValues() const
returns the size of the m_vecFeatureMap
FeatureMap::iterator FeatureMapIter
VectorFeatureMap::iterator VectorFeatureMapIter
bool addFeature(const std::string &name, const double value)
adds a new feature
FeatureMap::const_iterator FeatureMapConstIter
VectorFeatureMap::const_iterator VectorFeatureMapConstIter
bool addVecFeature(const std::string &name, const std::vector< double > &value)
adds a new vector feature
TauFeature()
Default constructor.
double value(const std::string &name, bool &isValid) const
returns the value of the feature given by its name
void add(PanTau::TauFeature *otherFeatures)
const std::vector< double > & vecValue(const std::string &name) const
returns the value of a vector feature given by its name
std::map< std::string, const std::vector< double > > VectorFeatureMap
virtual ~TauFeature()
Destructor.