Belle II Software development
FilterBase Class Referenceabstract

FilterBase is the baseClass for filters applied on (chains of) spacepoints. More...

#include <FilterBase.h>

Inheritance diagram for FilterBase:
AlwaysYesFilter

Public Types

typedef unsigned int CompatibilityValue
 is currently a counter which counts number of passed filterTests
 
typedef std::vector< std::vector< CompatibilityValue > > CompatibilityTable
 is currently a table of CompatibilityValues which allows to check which combination of spacepoints/segments are allowed to be combined
 

Public Member Functions

 FilterBase (float minValue=0, float maxValue=0)
 constructor
 
virtual void checkSpacePoints (const SectorFriendship *thisFriendship, CompatibilityTable &compatibilityTable)=0
 called for each compatible sector-sector-combination inhabiting spacePoints
 

Protected Attributes

float m_minCutoff
 if value is lower than cutoff, the value will be neglected
 
float m_maxCutoff
 if value is higher than cutoff, the value will be neglected
 

Detailed Description

FilterBase is the baseClass for filters applied on (chains of) spacepoints.

  • is used as the baseClass for a Strategy-pattern of Filters.
  • these filters use very basic internal filters (like distance3D) to filter spacePoint-combinations

Definition at line 36 of file FilterBase.h.

Member Typedef Documentation

◆ CompatibilityTable

typedef std::vector<std::vector<CompatibilityValue> > CompatibilityTable

is currently a table of CompatibilityValues which allows to check which combination of spacepoints/segments are allowed to be combined

Definition at line 41 of file FilterBase.h.

◆ CompatibilityValue

typedef unsigned int CompatibilityValue

is currently a counter which counts number of passed filterTests

Definition at line 39 of file FilterBase.h.

Constructor & Destructor Documentation

◆ FilterBase()

FilterBase ( float  minValue = 0,
float  maxValue = 0 
)
inline

constructor

Definition at line 44 of file FilterBase.h.

44 :
45 m_minCutoff(minValue),
46 m_maxCutoff(maxValue) {}
float m_maxCutoff
if value is higher than cutoff, the value will be neglected
Definition: FilterBase.h:58
float m_minCutoff
if value is lower than cutoff, the value will be neglected
Definition: FilterBase.h:55

Member Function Documentation

◆ checkSpacePoints()

virtual void checkSpacePoints ( const SectorFriendship thisFriendship,
CompatibilityTable compatibilityTable 
)
pure virtual

called for each compatible sector-sector-combination inhabiting spacePoints

Implemented in AlwaysYesFilter.

Member Data Documentation

◆ m_maxCutoff

float m_maxCutoff
protected

if value is higher than cutoff, the value will be neglected

Definition at line 58 of file FilterBase.h.

◆ m_minCutoff

float m_minCutoff
protected

if value is lower than cutoff, the value will be neglected

Definition at line 55 of file FilterBase.h.


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