Belle II Software  release-08-01-10
TrackerAlgorithmBase< ContainerType, ValidatorType > Class Template Reference

base class for TrackerAlgorithms. shall allow a common base for algorithms like the cellular automaton More...

#include <TrackerAlgorithmBase.h>

Inheritance diagram for TrackerAlgorithmBase< ContainerType, ValidatorType >:

Public Member Functions

virtual ValidatorType & getValidator ()
 getter More...
 
virtual std::string printStatistics ()
 returns current logging info of the algorithm (some stuff one wants to log about that algorithm
 
virtual void setValidator (ValidatorType &aValidator)
 setter More...
 
virtual int apply (ContainerType &)
 applies actual algorithm on parameter passed, returns some debuging results
 
virtual unsigned int findSeeds (ContainerType &, bool)
 searches for seeds among the entries of parameter passed (bool sets strictnes for finding seeds), uses m_validator for determining them, returns number of seeds found
 

Protected Attributes

ValidatorType m_validator
 something which checks the quality of the test so far (will be applied by the apply-function
 

Detailed Description

template<class ContainerType, class ValidatorType>
class Belle2::TrackerAlgorithmBase< ContainerType, ValidatorType >

base class for TrackerAlgorithms. shall allow a common base for algorithms like the cellular automaton

Definition at line 20 of file TrackerAlgorithmBase.h.

Member Function Documentation

◆ getValidator()

virtual ValidatorType& getValidator ( )
inlinevirtual

getter

returns the validator of the algorithm

Definition at line 28 of file TrackerAlgorithmBase.h.

◆ setValidator()

virtual void setValidator ( ValidatorType &  aValidator)
inlinevirtual

setter

allows to set some condition for validating the algorithm

Definition at line 35 of file TrackerAlgorithmBase.h.


The documentation for this class was generated from the following file: