MultiTabulatedFunctionErrors_ROOT.cc
Go to the documentation of this file.
1 #include <io/MultiTabulatedFunctionErrors_ROOT.h>
2 #include <io/TabulatedFunctionErrors_ROOT.h>
3 #include <utl/MultiTabulatedFunctionErrors.h>
4 
5 using namespace io;
6 
7 
9 
10 
11 MultiTabulatedFunctionErrors_ROOT::MultiTabulatedFunctionErrors_ROOT(const utl::MultiTabulatedFunctionErrors& tf) :
12  MultiTabulatedFunctionErrors_ROOT(tf.TabulatedFunctionsErrorsBegin(), tf.TabulatedFunctionsErrorsEnd())
13 { }
14 
15 
19  )
20 {
21  for (auto it = begin; it != end; ++it)
22  fTabFunctions.emplace(it->GetLabel(), it->GetTabulatedFunctionErrors());
23 }
24 
25 
26 void
28  const
29 {
30  for (const auto& st : fTabFunctions) {
32  st.second >> t;
33  mtf.AddTabulatedFunctionErrors(t, st.first);
34  }
35 }
ROOT streamer implementation for utl::MultiTabulatedFunctionErrors.
boost::transform_iterator< LabeledObjectFunctor, typename MultiObjectContainer::const_iterator, LabeledTabulatedFunctionErrors > ConstIterator
Definition: MultiObject.h:81
void operator>>(utl::MultiTabulatedFunctionErrors &f) const
std::map< int, TabulatedFunctionErrors_ROOT > fTabFunctions
A collection of TabulatedFunctionErrors, which provides methods to access different sources...

, generated on Tue Sep 26 2023.