Line Code
1 2 3 4 5 6 7 8 9 10 11 12
#include "CondFormats/ESObjects/interface/ESWeight.h"

ESWeight::ESWeight() { wgt_ = 0.0; }

ESWeight::ESWeight(const double& awgt) { wgt_ = awgt; }

ESWeight::ESWeight(const ESWeight& awgt) { wgt_ = awgt.wgt_; }

ESWeight& ESWeight::operator=(const ESWeight& rhs) {
  wgt_ = rhs.wgt_;
  return *this;
}