Adding some simple inline functions for better performance and compatibility with HepMC2.
In this MR:
functions like
particles_size()
vertices_size()
particles_in_size()
etc.
Function to return weight index map (const).
std::map<std::string, int> weight_indices() const {
return m_weight_indices;
}
for RunInfo.
Edited by Andrii Verbytskyi