Belle II Software development
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
13namespace Belle2 {
18
19 // forward declarations
20
22
40
42
43 public:
44
47
52 void setUseModeFlavorTagger(const std::string& mode) { m_useModeFlavorTagger = mode ;}
53
58 void addMethodMap(const std::string& method);
59
64 std::string getUseModeFlavorTagger() const { return m_useModeFlavorTagger; }
65
70 FlavorTaggerInfoMap* getMethodMap(const std::string& method) const;
71
72 private:
73
75
77 std::map<std::string, FlavorTaggerInfoMap*> m_methodMap;
78
80 // v4: removed unused functions and members
81
82 };
83
85} // end namespace Belle2
86
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.