Base class for any algorithm to be used in TTClusterBuilder. More...
#include <TTClusterAlgorithm.h>
Public Member Functions | |
virtual std::string | AlgorithmName () const |
Algorithm name. More... | |
virtual void | Cluster (std::vector< std::vector< T > > &output, const std::vector< T > &input, bool module) const |
virtual void | Cluster (std::vector< std::vector< T > > &output, const std::vector< T > &input) const |
Basic version common to all the algorithms but official. More... | |
TTClusterAlgorithm (std::string fName) | |
Constructors. More... | |
virtual | ~TTClusterAlgorithm () |
Destructor. More... | |
Protected Attributes | |
std::string | className_ |
Data members. More... | |
Base class for any algorithm to be used in TTClusterBuilder.
After moving from SimDataFormats to DataFormats, the template structure of the class was maintained in order to accomodate any types other than PixelDigis in case there is such a need in the future.
Definition at line 26 of file TTClusterAlgorithm.h.
|
inline |
Constructors.
Definition at line 34 of file TTClusterAlgorithm.h.
References TTClusterAlgorithm< T >::className_, and fileCollector2::fName.
|
inlinevirtual |
|
inlinevirtual |
Algorithm name.
NOTE When calling TTClusterAlgoHandle->Cluster( output, input, module ) in L1TkClusterBuilder, this will go in the following way
Definition at line 62 of file TTClusterAlgorithm.h.
References TTClusterAlgorithm< T >::className_.
|
inlinevirtual |
Clustering operations Overloaded method (***) to preserve the interface of all the algorithms but official
Reimplemented in TTClusterAlgorithm_official< T >.
Definition at line 41 of file TTClusterAlgorithm.h.
References input, and convertSQLitetoXML_cfg::output.
|
inlinevirtual |
Basic version common to all the algorithms but official.
Reimplemented in TTClusterAlgorithm_neighbor< T >.
Definition at line 46 of file TTClusterAlgorithm.h.
References convertSQLitetoXML_cfg::output.
|
protected |
Data members.
Definition at line 29 of file TTClusterAlgorithm.h.
Referenced by TTClusterAlgorithm< T >::AlgorithmName(), and TTClusterAlgorithm< T >::TTClusterAlgorithm().