13 Block(
const std::string& name =
"");
16 void set_entry(
const std::vector<int>& indices,
double value);
17 double get_entry(
const std::vector<int>& indices,
double def_val = 0)
const;
18 void set_name(
const std::string& name);
19 std::string get_name()
const;
20 int get_indices()
const;
24 std::map<std::vector<int>,
double> _entries;
25 unsigned int _indices;
30 Reader(
const std::string& file_name =
"");
32 void read_slha_file(
const std::string& file_name);
33 double get_block_entry(
const std::string& block_name,
const std::vector<int>& indices,
34 double def_val = 0)
const;
35 double get_block_entry(
const std::string& block_name,
int index,
double def_val = 0)
const;
36 void set_block_entry(
const std::string& block_name,
const std::vector<int>& indices,
double value);
37 void set_block_entry(
const std::string& block_name,
int index,
double value);
40 std::map<std::string, Block> _blocks;