Belle II Software  release-05-01-25
AlwaysYesFilter.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010-2011 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Jakob Lettenbichler *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #include "tracking/trackFindingVXD/trackSegmentTools/AlwaysYesFilter.h"
12 
13 #include "tracking/trackFindingVXD/sectorMapTools/SectorFriendship.h"
14 
15 #include <framework/logging/Logger.h>
16 
17 using namespace std;
18 using namespace Belle2;
19 
20 void AlwaysYesFilter::checkSpacePoints(const SectorFriendship* thisFriendship, CompatibilityTable& compatibilityTable)
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 }
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
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::SectorFriendship
SectorFriendship is carrying the link between parent sector and a connected sector (socalled Friendse...
Definition: SectorFriendship.h:47
Belle2::FilterBase::CompatibilityTable
std::vector< std::vector< CompatibilityValue > > CompatibilityTable
is currently a table of CompatibilityValues which allows to check which combination of spacepoints/se...
Definition: FilterBase.h:51