Belle II Software development
AlwaysYesFilter.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#include "tracking/trackFindingVXD/trackSegmentTools/AlwaysYesFilter.h"
10
11#include "tracking/trackFindingVXD/sectorMapTools/SectorFriendship.h"
12
13#include <framework/logging/Logger.h>
14
15using namespace std;
16using namespace Belle2;
17
18void AlwaysYesFilter::checkSpacePoints(const SectorFriendship* thisFriendship, CompatibilityTable& compatibilityTable)
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}
virtual void checkSpacePoints(const SectorFriendship *thisFriendship, CompatibilityTable &compatibilityTable)
constructor
std::vector< std::vector< CompatibilityValue > > CompatibilityTable
is currently a table of CompatibilityValues which allows to check which combination of spacepoints/se...
Definition: FilterBase.h:41
SectorFriendship is carrying the link between parent sector and a connected sector (socalled Friendse...
unsigned int checkCombinationsAlive() const
iterates through each combination of spacepoints and counts the number of combinations which are stil...
Abstract base class for different kinds of events.
STL namespace.