CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
WeightsInfo.h
Go to the documentation of this file.
1 #ifndef SimDataFormats_GeneratorProducts_WeightsInfo_h
2 #define SimDataFormats_GeneratorProducts_WeightsInfo_h
3 
7 #include <string>
8 
9 namespace gen {
10  struct WeightsInfo {
11  WeightsInfo(): id(""), wgt(0.) {}
13  id(o.id), wgt(o.wgt) {}
14  WeightsInfo(const std::string& s, const double w):
15  id(s),wgt(w) {}
16  std::string id;
17  double wgt;
18  };
19 }
20 
21 #endif // SimDataFormats_GeneratorProducts_WeightsInfo_h
WeightsInfo(const WeightsInfo &o)
Definition: WeightsInfo.h:12
std::string id
Definition: WeightsInfo.h:16
WeightsInfo(const std::string &s, const double w)
Definition: WeightsInfo.h:14
T w() const