We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
parameters_
std::string
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)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently we have a function for each parameter..time to introduce templates
where
parameters_
is a map ofstd::string
andboost::any
.or something like that.
Similar with histograms from files which can be one function like
The text was updated successfully, but these errors were encountered: