Belle II Software  release-05-02-19
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 35 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 20 of file AlwaysYesFilter.cc.

21 {
22  for (auto& aVector : compatibilityTable) {
23  for (auto& aValue : aVector) {
24  B2DEBUG(1000, "there are currently " << thisFriendship->checkCombinationsAlive() << " alive");
25  aValue++;
26  }
27  }
28 }

The documentation for this class was generated from the following files:
Belle2::SectorFriendship::checkCombinationsAlive
unsigned int checkCombinationsAlive() const
iterates through each combination of spacepoints and counts the number of combinations which are stil...
Definition: SectorFriendship.cc:43