Belle II Software development
AlwaysYesFilter Class Reference

AlwaysYesFilter is a simple filter saying always yes, which is meant for testing purposes. More...

#include <AlwaysYesFilter.h>

Inheritance diagram for AlwaysYesFilter:
FilterBase

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

virtual void checkSpacePoints (const SectorFriendship *thisFriendship, CompatibilityTable &compatibilityTable)
 constructor
 

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

AlwaysYesFilter is a simple filter saying always yes, which is meant for testing purposes.

Definition at line 25 of file AlwaysYesFilter.h.

Member Typedef Documentation

◆ CompatibilityTable

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

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
inherited

is currently a counter which counts number of passed filterTests

Definition at line 39 of file FilterBase.h.

Member Function Documentation

◆ checkSpacePoints()

void checkSpacePoints ( const SectorFriendship thisFriendship,
CompatibilityTable compatibilityTable 
)
virtual

constructor

called for each compatible sector-sector-combination inhabiting spacePoints

Implements FilterBase.

Definition at line 18 of file AlwaysYesFilter.cc.

19{
20 for (auto& aVector : compatibilityTable) {
21 for (auto& aValue : aVector) {
22 B2DEBUG(29, "there are currently " << thisFriendship->checkCombinationsAlive() << " alive");
23 aValue++;
24 }
25 }
26}
unsigned int checkCombinationsAlive() const
iterates through each combination of spacepoints and counts the number of combinations which are stil...

Member Data Documentation

◆ m_maxCutoff

float m_maxCutoff
protectedinherited

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

Definition at line 58 of file FilterBase.h.

◆ m_minCutoff

float m_minCutoff
protectedinherited

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 files: