Belle II Software  release-08-01-10
AlgoritmType.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 #include <tracking/trackFindingVXD/analyzingTools/AlgoritmType.h>
9 
10 using namespace Belle2;
11 
13 std::map<Belle2::AlgoritmType::Type, std::string> Belle2::AlgoritmType::s_fromTypeToString = {
14  {Belle2::AlgoritmType::UnknownType, std::string("UnknownType")},
15  {Belle2::AlgoritmType::AnalyzingAlgorithmBase, std::string("AnalyzingAlgorithmBase")},
16  {Belle2::AlgoritmType::AnalyzingAlgorithmValuePX, std::string("AnalyzingAlgorithmValuePX")},
17  {Belle2::AlgoritmType::AnalyzingAlgorithmValuePY, std::string("AnalyzingAlgorithmValuePY")},
18  {Belle2::AlgoritmType::AnalyzingAlgorithmValuePZ, std::string("AnalyzingAlgorithmValuePZ")},
19  {Belle2::AlgoritmType::AnalyzingAlgorithmValuePT, std::string("AnalyzingAlgorithmValuePT")},
20  {Belle2::AlgoritmType::AnalyzingAlgorithmValueP, std::string("AnalyzingAlgorithmValueP")},
21  {Belle2::AlgoritmType::AnalyzingAlgorithmValuePTheta, std::string("AnalyzingAlgorithmValuePTheta")},
22  {Belle2::AlgoritmType::AnalyzingAlgorithmValuePPhi, std::string("AnalyzingAlgorithmValuePPhi")},
23  {Belle2::AlgoritmType::AnalyzingAlgorithmValueDistSeed2IP, std::string("AnalyzingAlgorithmValueDistSeed2IP")},
24  {Belle2::AlgoritmType::AnalyzingAlgorithmValueDistSeed2IPZ, std::string("AnalyzingAlgorithmValueDistSeed2IPZ")},
25  {Belle2::AlgoritmType::AnalyzingAlgorithmValueDistSeed2IPXY, std::string("AnalyzingAlgorithmValueDistSeed2IPXY")},
26  {Belle2::AlgoritmType::AnalyzingAlgorithmValueQI, std::string("AnalyzingAlgorithmValueQI")},
27  {Belle2::AlgoritmType::AnalyzingAlgorithmResidualPX, std::string("AnalyzingAlgorithmResidualPX")},
28  {Belle2::AlgoritmType::AnalyzingAlgorithmResidualPY, std::string("AnalyzingAlgorithmResidualPY")},
29  {Belle2::AlgoritmType::AnalyzingAlgorithmResidualPZ, std::string("AnalyzingAlgorithmResidualPZ")},
30  {Belle2::AlgoritmType::AnalyzingAlgorithmResidualPT, std::string("AnalyzingAlgorithmResidualPT")},
31  {Belle2::AlgoritmType::AnalyzingAlgorithmResidualP, std::string("AnalyzingAlgorithmResidualP")},
32  {Belle2::AlgoritmType::AnalyzingAlgorithmResidualPTheta, std::string("AnalyzingAlgorithmResidualPTheta")},
33  {Belle2::AlgoritmType::AnalyzingAlgorithmResidualPPhi, std::string("AnalyzingAlgorithmResidualPPhi")},
34  {Belle2::AlgoritmType::AnalyzingAlgorithmResidualPAngle, std::string("AnalyzingAlgorithmResidualPAngle")},
35  {Belle2::AlgoritmType::AnalyzingAlgorithmResidualPTAngle, std::string("AnalyzingAlgorithmResidualPTAngle")},
36  {Belle2::AlgoritmType::AnalyzingAlgorithmResidualPosition, std::string("AnalyzingAlgorithmResidualPosition")},
37  {Belle2::AlgoritmType::AnalyzingAlgorithmResidualPositionXY, std::string("AnalyzingAlgorithmResidualPositionXY")},
38  {Belle2::AlgoritmType::AnalyzingAlgorithmLostUClusters, std::string("AnalyzingAlgorithmLostUClusters")},
39  {Belle2::AlgoritmType::AnalyzingAlgorithmLostVClusters, std::string("AnalyzingAlgorithmLostVClusters")},
40  {Belle2::AlgoritmType::AnalyzingAlgorithmTotalUClusters, std::string("AnalyzingAlgorithmTotalUClusters")},
41  {Belle2::AlgoritmType::AnalyzingAlgorithmTotalVClusters, std::string("AnalyzingAlgorithmTotalVClusters")},
42  {Belle2::AlgoritmType::AnalyzingAlgorithmLostUEDep, std::string("AnalyzingAlgorithmLostUEDep")},
43  {Belle2::AlgoritmType::AnalyzingAlgorithmLostVEDep, std::string("AnalyzingAlgorithmLostVEDep")},
44  {Belle2::AlgoritmType::AnalyzingAlgorithmTotalUEDep, std::string("AnalyzingAlgorithmTotalUEDep")},
45  {Belle2::AlgoritmType::AnalyzingAlgorithmTotalVEDep, std::string("AnalyzingAlgorithmTotalVEDep")},
46  {Belle2::AlgoritmType::NTypes, std::string("NTypes")}
47 };
48 
49 
51 std::map<std::string, Belle2::AlgoritmType::Type> Belle2::AlgoritmType::s_fromStringToType = {
52  {std::string("UnknownType"), Belle2::AlgoritmType::UnknownType},
53  {std::string("AnalyzingAlgorithmBase"), Belle2::AlgoritmType::AnalyzingAlgorithmBase},
54  {std::string("AnalyzingAlgorithmValuePX"), Belle2::AlgoritmType::AnalyzingAlgorithmValuePX},
55  {std::string("AnalyzingAlgorithmValuePY"), Belle2::AlgoritmType::AnalyzingAlgorithmValuePY},
56  {std::string("AnalyzingAlgorithmValuePZ"), Belle2::AlgoritmType::AnalyzingAlgorithmValuePZ},
57  {std::string("AnalyzingAlgorithmValuePT"), Belle2::AlgoritmType::AnalyzingAlgorithmValuePT},
58  {std::string("AnalyzingAlgorithmValueP"), Belle2::AlgoritmType::AnalyzingAlgorithmValueP},
59  {std::string("AnalyzingAlgorithmValuePTheta"), Belle2::AlgoritmType::AnalyzingAlgorithmValuePTheta},
60  {std::string("AnalyzingAlgorithmValuePPhi"), Belle2::AlgoritmType::AnalyzingAlgorithmValuePPhi},
61  {std::string("AnalyzingAlgorithmValueDistSeed2IP"), Belle2::AlgoritmType::AnalyzingAlgorithmValueDistSeed2IP},
62  {std::string("AnalyzingAlgorithmValueDistSeed2IPZ"), Belle2::AlgoritmType::AnalyzingAlgorithmValueDistSeed2IPZ},
63  {std::string("AnalyzingAlgorithmValueDistSeed2IPXY"), Belle2::AlgoritmType::AnalyzingAlgorithmValueDistSeed2IPXY},
64  {std::string("AnalyzingAlgorithmValueQI"), Belle2::AlgoritmType::AnalyzingAlgorithmValueQI},
65  {std::string("AnalyzingAlgorithmResidualPX"), Belle2::AlgoritmType::AnalyzingAlgorithmResidualPX},
66  {std::string("AnalyzingAlgorithmResidualPY"), Belle2::AlgoritmType::AnalyzingAlgorithmResidualPY},
67  {std::string("AnalyzingAlgorithmResidualPZ"), Belle2::AlgoritmType::AnalyzingAlgorithmResidualPZ},
68  {std::string("AnalyzingAlgorithmResidualPT"), Belle2::AlgoritmType::AnalyzingAlgorithmResidualPT},
69  {std::string("AnalyzingAlgorithmResidualP"), Belle2::AlgoritmType::AnalyzingAlgorithmResidualP},
70  {std::string("AnalyzingAlgorithmResidualPTheta"), Belle2::AlgoritmType::AnalyzingAlgorithmResidualPTheta},
71  {std::string("AnalyzingAlgorithmResidualPPhi"), Belle2::AlgoritmType::AnalyzingAlgorithmResidualPPhi},
72  {std::string("AnalyzingAlgorithmResidualPAngle"), Belle2::AlgoritmType::AnalyzingAlgorithmResidualPAngle},
73  {std::string("AnalyzingAlgorithmResidualPTAngle"), Belle2::AlgoritmType::AnalyzingAlgorithmResidualPTAngle},
74  {std::string("AnalyzingAlgorithmResidualPosition"), Belle2::AlgoritmType::AnalyzingAlgorithmResidualPosition},
75  {std::string("AnalyzingAlgorithmResidualPositionXY"), Belle2::AlgoritmType::AnalyzingAlgorithmResidualPositionXY},
76  {std::string("AnalyzingAlgorithmLostUClusters"), Belle2::AlgoritmType::AnalyzingAlgorithmLostUClusters},
77  {std::string("AnalyzingAlgorithmLostVClusters"), Belle2::AlgoritmType::AnalyzingAlgorithmLostVClusters},
78  {std::string("AnalyzingAlgorithmTotalUClusters"), Belle2::AlgoritmType::AnalyzingAlgorithmTotalUClusters},
79  {std::string("AnalyzingAlgorithmTotalVClusters"), Belle2::AlgoritmType::AnalyzingAlgorithmTotalVClusters},
80  {std::string("AnalyzingAlgorithmLostUEDep"), Belle2::AlgoritmType::AnalyzingAlgorithmLostUEDep},
81  {std::string("AnalyzingAlgorithmLostVEDep"), Belle2::AlgoritmType::AnalyzingAlgorithmLostVEDep},
82  {std::string("AnalyzingAlgorithmTotalUEDep"), Belle2::AlgoritmType::AnalyzingAlgorithmTotalUEDep},
83  {std::string("AnalyzingAlgorithmTotalVEDep"), Belle2::AlgoritmType::AnalyzingAlgorithmTotalVEDep},
84  {std::string("NTypes"), Belle2::AlgoritmType::NTypes}
85 };
static std::map< std::string, Type > s_fromStringToType
static map allowing translation from a given name stored as a string to its type
Definition: AlgoritmType.h:130
@ AnalyzingAlgorithmResidualPX
residual type, stores double. defined in ..tracking/trackFindingVXD/analyzingTools/algorithms/Analyzi...
Definition: AlgoritmType.h:46
@ AnalyzingAlgorithmBase
base type, template for all the other analyzing algorithms, contains essential functions for all algo...
Definition: AlgoritmType.h:32
@ AnalyzingAlgorithmLostUEDep
value type hit (with access to clusters via relations), stores vector< double >. defined in ....
Definition: AlgoritmType.h:63
@ AnalyzingAlgorithmLostUClusters
value type hit (with access to clusters via relations), stores int. defined in ..tracking/trackFindin...
Definition: AlgoritmType.h:58
@ AnalyzingAlgorithmValuePX
value type, stores double. defined in ..tracking/trackFindingVXD/analyzingTools/algorithms/AnalyzingA...
Definition: AlgoritmType.h:34
static std::map< Type, std::string > s_fromTypeToString
static map allowing translation from a given type to its name stored as a string
Definition: AlgoritmType.h:127
Abstract base class for different kinds of events.