Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
util.cxx
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file util.cxx
1 // TRENTO: Reduced Thickness Event-by-event Nuclear Topology
2 // Copyright 2015 Jonah E. Bernhard, J. Scott Moreland
3 // MIT License
4 
5 #include "util.h"
6 
7 VarMap make_var_map(std::map<std::string, boost::any>&& args) {
8  VarMap var_map{};
9  for (auto&& a : args)
10  var_map.emplace(a.first, po::variable_value{a.second, false});
11  return var_map;
12 }