Belle II Software  release-08-01-10
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:
Collaboration diagram for 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

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

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 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...

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