54 using LogfileParameters = std::map<std::pair<size_t, std::string>, std::shared_ptr<const XMLInstrumentParameter>>;
58 void add(
size_t const componentIndex, std::shared_ptr<Parameter>
const ¶meter);
63 bool addFittingParameter(
size_t const componentIndex, std::shared_ptr<Parameter>
const ¶meter,
64 std::string
const &fittingFunction);
70 void insert(
size_t const componentIndex, std::shared_ptr<Parameter>
const ¶meter);
73 bool contains(
size_t const componentIndex, std::string
const &
name, std::string
const &type =
"")
const;
76 std::shared_ptr<Parameter> get(
size_t const componentIndex, std::string
const &
name,
77 std::string
const &type =
"")
const;
80 std::shared_ptr<Parameter> getByType(
size_t const componentIndex, std::string
const &type)
const;
83 std::shared_ptr<Parameter> getRecursive(
ComponentInfo const &componentInfo,
size_t const componentIndex,
84 std::string
const &
name, std::string
const &type =
"")
const;
87 std::shared_ptr<Parameter> getRecursiveByType(
ComponentInfo const &componentInfo,
size_t const componentIndex,
88 std::string
const &type)
const;
92 std::shared_ptr<Parameter> getRecursiveFittingParameter(
ComponentInfo const &componentInfo,
93 size_t const componentIndex, std::string
const &
name,
94 std::string
const &fittingFunction)
const;
98 std::set<std::string> names(
size_t const componentIndex)
const;
105 void clearParametersByName(std::string
const &
name);
108 void clearParametersByName(
size_t const componentIndex, std::string
const &
name);
115 void addLogfileParameter(
size_t const componentIndex, std::string
const &cacheKey,
116 std::shared_ptr<const XMLInstrumentParameter>
const ¶meter);
126 size_t getMemorySize()
const;
130 auto begin()
const {
return m_store.begin(); }
131 auto end()
const {
return m_store.end(); }
134 std::map<size_t, ComponentParameters>
m_store;
std::map< std::pair< size_t, std::string >, std::shared_ptr< const XMLInstrumentParameter > > LogfileParameters
Parameters whose values are taken from the sample logs when ExperimentInfo::populateInstrumentParamet...