Belle II Software
release-05-01-25
FilterParamMap.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2017 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Oliver Frost *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
#pragma once
11
12
// #include <boost/variant/variant_fwd.hpp>
13
14
// #include <map>
15
// #include <vector>
16
#include <string>
17
#include <memory>
18
19
namespace
Belle2
{
24
class
ModuleParamList;
25
namespace
TrackFindingCDC {
27
// using FilterParamVariant = boost::variant<bool, int, double, std::string, std::vector<std::string> >;
28
43
class
FilterParamMap {
44
45
public
:
47
FilterParamMap
();
48
50
~FilterParamMap
();
51
53
void
54
addParameter
(
ModuleParamList
* moduleParamList,
const
std::string& name,
const
std::string& description);
55
57
void
assignTo
(
ModuleParamList
* filterModuleParamList);
58
60
// std::map<std::string, FilterParamVariant> getValues() const;
61
62
private
:
64
class
Impl
;
65
67
std::unique_ptr<Impl>
m_impl
;
68
};
69
}
71
}
Belle2::TrackFindingCDC::FilterParamMap::~FilterParamMap
~FilterParamMap()
Default destructor.
Belle2::TrackFindingCDC::FilterParamMap::assignTo
void assignTo(ModuleParamList *filterModuleParamList)
Unpack the map of parameters and forward them to the concrete filter.
Definition:
FilterParamMap.cc:89
Belle2::TrackFindingCDC::FilterParamMap::Impl
Define the implementation.
Definition:
FilterParamMap.cc:42
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::FilterParamMap::m_impl
std::unique_ptr< Impl > m_impl
Pointer to implementation hiding the details.
Definition:
FilterParamMap.h:72
Belle2::TrackFindingCDC::FilterParamMap::addParameter
void addParameter(ModuleParamList *moduleParamList, const std::string &name, const std::string &description)
Create one parameter in the parameter list for the module with the given name and desciption.
Definition:
FilterParamMap.cc:83
Belle2::TrackFindingCDC::FilterParamMap::FilterParamMap
FilterParamMap()
Default constructor.
Definition:
FilterParamMap.cc:75
Belle2::ModuleParamList
The Module parameter list class.
Definition:
ModuleParamList.h:46
tracking
trackFindingCDC
filters
base
include
FilterParamMap.h
Generated on Fri Nov 5 2021 04:01:54 for Belle II Software by
1.8.17