CMS 3D CMS Logo

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.) {}
12  WeightsInfo(const std::string& s, const double w) : id(s), wgt(w) {}
14  double wgt;
15  };
16 } // namespace gen
17 
18 #endif // SimDataFormats_GeneratorProducts_WeightsInfo_h
T w() const
std::string id
Definition: WeightsInfo.h:13
WeightsInfo(const std::string &s, const double w)
Definition: WeightsInfo.h:12