Belle II Software  release-05-01-25
filterID.h
1 #include <tracking/dataobjects/FilterID.h>
2 #include <gtest/gtest.h>
3 
4 namespace Belle2 {
13  class FilterIDTest : public ::testing::Test {
14  protected:
15  };
16 
18  TEST_F(FilterIDTest, simpleTest)
19  {
20  // provides a usefull filterType
21  Belle2::FilterID aFilterIDTranslator;
23  EXPECT_EQ(Belle2::FilterID::nameHelixParameterFit, aFilterIDTranslator.getFilterString(aFilterType));
24 
25  EXPECT_EQ(aFilterType, aFilterIDTranslator.getFilterType(Belle2::FilterID::nameHelixParameterFit));
26 
27  }
29 }
Belle2::FilterID::getFilterString
static std::string getFilterString(filterTypes filterType)
converts existing enum value into suitable string with name of filter type.
Definition: FilterID.h:241
Belle2::FilterIDTest
Set up a few arrays and objects in the datastore.
Definition: filterID.h:13
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::FilterID::nameHelixParameterFit
const static std::string nameHelixParameterFit
string name of filter helix Parameter Fit
Definition: FilterID.h:159
Belle2::TEST_F
TEST_F(GlobalLabelTest, LargeNumberOfTimeDependentParameters)
Test large number of time-dep params for registration and retrieval.
Definition: globalLabel.cc:65
Belle2::FilterID::getFilterType
static filterTypes getFilterType(const std::string &filterString)
converts existing string with name of filter type into suitable enum value.
Definition: FilterID.cc:290
Belle2::FilterID
Class to identify a filter type used by sectorFriends.
Definition: FilterID.h:38
Belle2::FilterID::filterTypes
filterTypes
filterTyoes contains enums assigning unique values for each filter type allowing fast filter type rec...
Definition: FilterID.h:41