CMS 3D CMS Logo

Functions
hepmc_rootio Namespace Reference

Functions

void weightcontainer_set_default_names (unsigned int n, std::map< std::string, HepMC::WeightContainer::size_type > &names)
 

Function Documentation

void hepmc_rootio::weightcontainer_set_default_names ( unsigned int  n,
std::map< std::string, HepMC::WeightContainer::size_type > &  names 
)
inline

Definition at line 75 of file classes.h.

References KineDebug3::count(), gen::n, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.

75  {
76  std::ostringstream name;
78  {
79  name.str(std::string());
80  name << count;
81  names[name.str()] = count;
82  }
83  }
uint16_t size_type
const std::string names[nVars_]