Belle II Software light-2505-deimos
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
14namespace Belle2 {
19
20 // forward declarations
21
23
41
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
76
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...
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.
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Abstract base class for different kinds of events.