ParameterStorage_ROOT.cc
Go to the documentation of this file.
1 #include <io/ParameterStorage.h>
2 
3 using namespace io;
4 
5 
6 ClassImp(ParameterStorage)
7 
8 
9 void
10 ParameterStorage_ROOT::operator>>(utl::ParameterStorage& h)
11  const
12 {
13  for (const auto& ivl : fParameterMap) {
14  const auto& i = ivl.first;
15  const auto& vl = ivl.second;
16  const auto& v = vl.first;
17  const auto& l = vl.second;
18  h.SetParameter(i, v, l);
19  }
20 
21  for (const auto& ijvl : fParameterCovarianceMap) {
22  const auto& ij = ijvl.first;
23  const auto& i = ij.first;
24  const auto& j = ij.second;
25  const auto& vl = ijvl.second;
26  const auto& v = vl.first;
27  const auto& l = vl.second;
28  h.SetParameterCovariance(i, j, v, l);
29  }
30 }
Persistent ParameterStorage object using ROOT.

, generated on Tue Sep 26 2023.