Class for storing FFTJet sparse clustering trees. More...
#include <PattRecoTree.h>
Public Types | |
typedef PattRecoNode< Cluster > | Node |
Public Member Functions | |
void | addNode (const Node &node) |
void | addScale (const double s) |
void | clear () |
const std::vector< Node > & | getNodes () const |
const std::vector< ScaleType > & | getScales () const |
bool | isSparse () const |
PattRecoTree () | |
void | reserveNodes (const unsigned n) |
void | reserveScales (const unsigned n) |
void | setSparse (const bool b) |
Private Attributes | |
std::vector< Node > | nodes_ |
std::vector< ScaleType > | scales_ |
bool | sparse_ |
Class for storing FFTJet sparse clustering trees.
This is a pure storage class with limited functionality. Applications should use fftjet::SparseClusteringTree
Definition at line 19 of file PattRecoTree.h.
typedef PattRecoNode<Cluster> reco::PattRecoTree< ScaleType, Cluster >::Node |
Definition at line 22 of file PattRecoTree.h.
reco::PattRecoTree< ScaleType, Cluster >::PattRecoTree | ( | ) | [inline] |
Definition at line 24 of file PattRecoTree.h.
: sparse_(false) {}
void reco::PattRecoTree< ScaleType, Cluster >::addNode | ( | const Node & | node | ) | [inline] |
Definition at line 40 of file PattRecoTree.h.
References reco::PattRecoTree< ScaleType, Cluster >::nodes_.
void reco::PattRecoTree< ScaleType, Cluster >::addScale | ( | const double | s | ) | [inline] |
Definition at line 41 of file PattRecoTree.h.
References reco::PattRecoTree< ScaleType, Cluster >::scales_.
void reco::PattRecoTree< ScaleType, Cluster >::clear | ( | void | ) | [inline] |
Definition at line 35 of file PattRecoTree.h.
References reco::PattRecoTree< ScaleType, Cluster >::nodes_, reco::PattRecoTree< ScaleType, Cluster >::scales_, and reco::PattRecoTree< ScaleType, Cluster >::sparse_.
const std::vector<Node>& reco::PattRecoTree< ScaleType, Cluster >::getNodes | ( | ) | const [inline] |
Definition at line 28 of file PattRecoTree.h.
References reco::PattRecoTree< ScaleType, Cluster >::nodes_.
{return nodes_;}
const std::vector<ScaleType>& reco::PattRecoTree< ScaleType, Cluster >::getScales | ( | ) | const [inline] |
Definition at line 29 of file PattRecoTree.h.
References reco::PattRecoTree< ScaleType, Cluster >::scales_.
{return scales_;}
bool reco::PattRecoTree< ScaleType, Cluster >::isSparse | ( | ) | const [inline] |
Definition at line 27 of file PattRecoTree.h.
References reco::PattRecoTree< ScaleType, Cluster >::sparse_.
{return sparse_;}
void reco::PattRecoTree< ScaleType, Cluster >::reserveNodes | ( | const unsigned | n | ) | [inline] |
Definition at line 38 of file PattRecoTree.h.
References reco::PattRecoTree< ScaleType, Cluster >::nodes_.
void reco::PattRecoTree< ScaleType, Cluster >::reserveScales | ( | const unsigned | n | ) | [inline] |
Definition at line 39 of file PattRecoTree.h.
References reco::PattRecoTree< ScaleType, Cluster >::scales_.
void reco::PattRecoTree< ScaleType, Cluster >::setSparse | ( | const bool | b | ) | [inline] |
Definition at line 33 of file PattRecoTree.h.
References b, and reco::PattRecoTree< ScaleType, Cluster >::sparse_.
std::vector<Node> reco::PattRecoTree< ScaleType, Cluster >::nodes_ [private] |
std::vector<ScaleType> reco::PattRecoTree< ScaleType, Cluster >::scales_ [private] |
bool reco::PattRecoTree< ScaleType, Cluster >::sparse_ [private] |
Definition at line 47 of file PattRecoTree.h.
Referenced by reco::PattRecoTree< ScaleType, Cluster >::clear(), reco::PattRecoTree< ScaleType, Cluster >::isSparse(), and reco::PattRecoTree< ScaleType, Cluster >::setSparse().