1 #ifndef CombineTools_CopyTools_h
2 #define CombineTools_CopyTools_h
21 template <
typename Function>
40 template <
typename Function>
59 template <
typename Function>
92 template <
typename Function>
115 std::string
const& split1, std::string
const& split2,
116 double val1,
double val2);
void ForEachSyst(Function func)
void ForEachProc(Function func)
void InsertProcess(ch::Process const &proc)
void ForEachObs(Function func)
void InsertSystematic(ch::Systematic const &sys)
void InsertObservation(ch::Observation const &obs)
void SplitSyst(ch::CombineHarvester &cb, std::string const &syst_in, std::string const &split1, std::string const &split2, double val1, double val2)
Replace all instances of an existing systematic with two copies having modified values.
void CloneProcs(ch::CombineHarvester &src, ch::CombineHarvester &dest, Function func)
Duplicate Process objects in one instance, which are then modified by a user-supplied function,...
void CloneProcsAndSysts(ch::CombineHarvester &src, ch::CombineHarvester &dest, Function func)
Duplicate the Process and Systematic objects in one instance, which are then modified by a user-suppl...
void CloneObs(ch::CombineHarvester &src, ch::CombineHarvester &dest, Function func)
Duplicate Observation objects in one instance, which are then modified by a user-supplied function,...
void CloneSysts(ch::CombineHarvester &src, ch::CombineHarvester &dest, Function func)
Duplicate Systematic objects in one instance, which are then modified by a user-supplied function,...