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