File indexing completed on 2023-03-17 11:24:01
0001 #ifndef SimDataFormats_GeneratorProducts_WeightsInfo_h
0002 #define SimDataFormats_GeneratorProducts_WeightsInfo_h
0003
0004
0005
0006
0007 #include <string>
0008
0009 namespace gen {
0010 struct WeightsInfo {
0011 WeightsInfo() : id(""), wgt(0.) {}
0012 WeightsInfo(const WeightsInfo& o) : id(o.id), wgt(o.wgt) {}
0013 WeightsInfo(const std::string& s, const double w) : id(s), wgt(w) {}
0014 std::string id;
0015 double wgt;
0016 };
0017 }
0018
0019 #endif