CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/SimDataFormats/GeneratorProducts/interface/WeightsInfo.h

Go to the documentation of this file.
00001 #ifndef SimDataFormats_GeneratorProducts_WeightsInfo_h
00002 #define SimDataFormats_GeneratorProducts_WeightsInfo_h
00003 
00007 #include <string>
00008 
00009 namespace gen {
00010         struct WeightsInfo {
00011                 WeightsInfo(): id(""), wgt(0.) {}
00012                 WeightsInfo(const WeightsInfo& o):
00013                   id(o.id), wgt(o.wgt) {}
00014                 WeightsInfo(const std::string& s, const double w): 
00015                   id(s),wgt(w) {}
00016                 std::string     id;
00017                 double          wgt;            
00018         };
00019 }
00020 
00021 #endif // SimDataFormats_GeneratorProducts_WeightsInfo_h