CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
gen::WeightsInfo Struct Reference

#include <WeightsInfo.h>

Public Member Functions

 WeightsInfo ()
 
 WeightsInfo (const std::string &s, const double w)
 

Public Attributes

std::string id
 
double wgt
 

Detailed Description

Definition at line 10 of file WeightsInfo.h.

Constructor & Destructor Documentation

◆ WeightsInfo() [1/2]

gen::WeightsInfo::WeightsInfo ( )
inline

Definition at line 11 of file WeightsInfo.h.

11 : id(""), wgt(0.) {}
std::string id
Definition: WeightsInfo.h:13

◆ WeightsInfo() [2/2]

gen::WeightsInfo::WeightsInfo ( const std::string &  s,
const double  w 
)
inline

Definition at line 12 of file WeightsInfo.h.

12 : id(s), wgt(w) {}
T w() const
std::string id
Definition: WeightsInfo.h:13

Member Data Documentation

◆ id

std::string gen::WeightsInfo::id

Definition at line 13 of file WeightsInfo.h.

◆ wgt

double gen::WeightsInfo::wgt

Definition at line 14 of file WeightsInfo.h.