MultiTabulatedFunction_ROOT.cc
Go to the documentation of this file.
1 #include <io/MultiTabulatedFunction_ROOT.h>
2 #include <io/TabulatedFunction_ROOT.h>
3 #include <utl/TabulatedFunction.h>
4 #include <utl/MultiTabulatedFunction.h>
5 
6 
8 
9 
10 using namespace io;
11 
12 
14  MultiTabulatedFunction_ROOT(tf.TabulatedFunctionsBegin(), tf.TabulatedFunctionsEnd())
15 { }
16 
17 
21  )
22 {
23  for (auto it = begin; it != end; ++it)
24  fTabFunctions.emplace(it->GetLabel(), it->GetTabulatedFunction());
25 }
26 
27 
28 void
30  const
31 {
32  for (const auto& sf : fTabFunctions) {
34  sf.second >> t;
35  mtf.AddTabulatedFunction(t, sf.first);
36  }
37 }
void operator>>(utl::MultiTabulatedFunction &f) const
ROOT streamer implementation for utl::MultiTabulatedFunction.
std::map< int, TabulatedFunction_ROOT > fTabFunctions
Class to hold collection (x,y) points and provide interpolation between them.
void AddTabulatedFunction(const int label)
boost::transform_iterator< LabeledObjectFunctor, typename MultiObjectContainer::const_iterator, LabeledTabulatedFunction > ConstIterator
Definition: MultiObject.h:81
A collection of TabulatedFunction.

, generated on Tue Sep 26 2023.