Belle II Software  release-08-01-10
FlavorTaggerInfo.h
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 #pragma once
10 
11 #include <framework/datastore/RelationsObject.h>
12 #include <analysis/dataobjects/FlavorTaggerInfoMap.h>
13 
14 namespace Belle2 {
20  // forward declarations
21 
22  class FlavorTaggerInfoMap;
23 
43 
44  public:
45 
48 
53  void setUseModeFlavorTagger(const std::string& mode) { m_useModeFlavorTagger = mode ;}
54 
59  void addMethodMap(const std::string& method);
60 
65  std::string getUseModeFlavorTagger() const { return m_useModeFlavorTagger; }
66 
71  FlavorTaggerInfoMap* getMethodMap(const std::string& method) const;
72 
73  private:
74 
75  std::string m_useModeFlavorTagger;
78  std::map<std::string, FlavorTaggerInfoMap*> m_methodMap;
79 
81  // v4: removed unused functions and members
82 
83  };
84 
86 } // end namespace Belle2
87 
This class stores the Flavor Tagger information for a specific method and particle filled in the Flav...
This class stores the relevant information for the TagV vertex fit, extracted mainly from the Flavor ...
std::map< std::string, FlavorTaggerInfoMap * > m_methodMap
Map containing the methods used for the FlavorTagger: "TMVA" or "FANN", and the corresponding map.
std::string getUseModeFlavorTagger() const
usemode of the FlavorTagger
FlavorTaggerInfo()
Default constructor.
void setUseModeFlavorTagger(const std::string &mode)
Saves the usemode of the FlavorTagger.
std::string m_useModeFlavorTagger
Usemode of the FlavorTagger: "Teacher" or "Expert".
FlavorTaggerInfoMap * getMethodMap(const std::string &method) const
method used for the FlavorTagger and corresponding FlavorTaggerInfoMap
void addMethodMap(const std::string &method)
Saves the method and the corresponding FlavorTaggerMap.
Defines interface for accessing relations of objects in StoreArray.
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.