-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Milestone
Description
Currently we have a function for each parameter..time to introduce templates
template <type T> T getParameter(const std::string& name) const {
if (programOptions.count(name))
return programOptions["TTbarLikelihoodFile"].as<T>();
else
return boost::any_cast<T>parameters_[name];
}where parameters_ is a map of std::string and boost::any.
or something like that.
Similar with histograms from files which can be one function like
boost::shared_ptr<TH1F> getHistogramFromFile(const std::string& histogram, std::string& file)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels