diff --git a/SimDataFormats/GeneratorProducts/interface/GenFilterInfo.h b/SimDataFormats/GeneratorProducts/interface/GenFilterInfo.h index a197572924b4d..660a4b51824d4 100644 --- a/SimDataFormats/GeneratorProducts/interface/GenFilterInfo.h +++ b/SimDataFormats/GeneratorProducts/interface/GenFilterInfo.h @@ -14,7 +14,6 @@ class GenFilterInfo { GenFilterInfo(); GenFilterInfo(unsigned int, unsigned int); // obsolete, should be avoided for new classes GenFilterInfo(unsigned int, unsigned int, unsigned int, unsigned int, double, double, double, double); - GenFilterInfo(const GenFilterInfo&); virtual ~GenFilterInfo(); // getters diff --git a/SimDataFormats/GeneratorProducts/interface/GenLumiInfoProduct.h b/SimDataFormats/GeneratorProducts/interface/GenLumiInfoProduct.h index f48a377fc0588..f5ea7343a1e9c 100644 --- a/SimDataFormats/GeneratorProducts/interface/GenLumiInfoProduct.h +++ b/SimDataFormats/GeneratorProducts/interface/GenLumiInfoProduct.h @@ -17,7 +17,6 @@ class GenLumiInfoProduct { // constructors, destructors GenLumiInfoProduct(); GenLumiInfoProduct(const int id); - GenLumiInfoProduct(const GenLumiInfoProduct &other); virtual ~GenLumiInfoProduct(); // getters @@ -35,7 +34,6 @@ class GenLumiInfoProduct { public: XSec() : value_(-1.), error_(-1.) {} XSec(double v, double e = -1.) : value_(v), error_(e) {} - XSec(const XSec &other) : value_(other.value_), error_(other.error_) {} double value() const { return value_; } double error() const { return error_; } @@ -57,7 +55,6 @@ class GenLumiInfoProduct { public: FinalStat() : n_(0), sum_(0.0), sum2_(0.0) {} FinalStat(unsigned int n1, double sum1, double sum21) : n_(n1), sum_(sum1), sum2_(sum21) {} - FinalStat(const FinalStat &other) : n_(other.n_), sum_(other.sum_), sum2_(other.sum2_) {} unsigned int n() const { return n_; } double sum() const { return sum_; } diff --git a/SimDataFormats/GeneratorProducts/interface/GenRunInfoProduct.h b/SimDataFormats/GeneratorProducts/interface/GenRunInfoProduct.h index a96e96fa425ab..9bb7eeb2e4632 100644 --- a/SimDataFormats/GeneratorProducts/interface/GenRunInfoProduct.h +++ b/SimDataFormats/GeneratorProducts/interface/GenRunInfoProduct.h @@ -12,7 +12,6 @@ class GenRunInfoProduct { // constructors, destructors GenRunInfoProduct(); - GenRunInfoProduct(const GenRunInfoProduct &other); // getters @@ -33,7 +32,6 @@ class GenRunInfoProduct { public: XSec() : value_(-1.), error_(-1.) {} XSec(double value, double error = -1.) : value_(value), error_(error) {} - XSec(const XSec &other) : value_(other.value_), error_(other.error_) {} double value() const { return value_; } double error() const { return error_; } diff --git a/SimDataFormats/GeneratorProducts/src/GenFilterInfo.cc b/SimDataFormats/GeneratorProducts/src/GenFilterInfo.cc index ba61cc5e0d8de..1b2f3e30a6419 100644 --- a/SimDataFormats/GeneratorProducts/src/GenFilterInfo.cc +++ b/SimDataFormats/GeneratorProducts/src/GenFilterInfo.cc @@ -46,16 +46,6 @@ GenFilterInfo::GenFilterInfo(unsigned int passp, sumTotalWeights_(totalw), sumTotalWeights2_(totalw2) {} -GenFilterInfo::GenFilterInfo(const GenFilterInfo& other) - : numPassPositiveEvents_(other.numPassPositiveEvents_), - numPassNegativeEvents_(other.numPassNegativeEvents_), - numTotalPositiveEvents_(other.numTotalPositiveEvents_), - numTotalNegativeEvents_(other.numTotalNegativeEvents_), - sumPassWeights_(other.sumPassWeights_), - sumPassWeights2_(other.sumPassWeights2_), - sumTotalWeights_(other.sumTotalWeights_), - sumTotalWeights2_(other.sumTotalWeights2_) {} - GenFilterInfo::~GenFilterInfo() {} bool GenFilterInfo::mergeProduct(GenFilterInfo const& other) { diff --git a/SimDataFormats/GeneratorProducts/src/GenLumiInfoProduct.cc b/SimDataFormats/GeneratorProducts/src/GenLumiInfoProduct.cc index 543a7b33d27ad..69b9700aecf92 100644 --- a/SimDataFormats/GeneratorProducts/src/GenLumiInfoProduct.cc +++ b/SimDataFormats/GeneratorProducts/src/GenLumiInfoProduct.cc @@ -71,9 +71,6 @@ GenLumiInfoProduct::GenLumiInfoProduct() : hepidwtup_(-1) { internalProcesses_.c GenLumiInfoProduct::GenLumiInfoProduct(const int id) : hepidwtup_(id) { internalProcesses_.clear(); } -GenLumiInfoProduct::GenLumiInfoProduct(GenLumiInfoProduct const& other) - : hepidwtup_(other.hepidwtup_), internalProcesses_(other.internalProcesses_) {} - GenLumiInfoProduct::~GenLumiInfoProduct() {} bool GenLumiInfoProduct::mergeProduct(GenLumiInfoProduct const& other) { diff --git a/SimDataFormats/GeneratorProducts/src/GenRunInfoProduct.cc b/SimDataFormats/GeneratorProducts/src/GenRunInfoProduct.cc index f675e7f3406bb..bfc45ca649cf2 100644 --- a/SimDataFormats/GeneratorProducts/src/GenRunInfoProduct.cc +++ b/SimDataFormats/GeneratorProducts/src/GenRunInfoProduct.cc @@ -10,12 +10,6 @@ using namespace std; GenRunInfoProduct::GenRunInfoProduct() : externalFilterEfficiency_(-1.) {} -GenRunInfoProduct::GenRunInfoProduct(GenRunInfoProduct const &other) - : internalXSec_(other.internalXSec_), - externalXSecLO_(other.externalXSecLO_), - externalXSecNLO_(other.externalXSecNLO_), - externalFilterEfficiency_(other.externalFilterEfficiency_) {} - bool GenRunInfoProduct::isProductEqual(GenRunInfoProduct const &other) const { bool result = externalXSecLO_ == other.externalXSecLO_ && externalXSecNLO_ == other.externalXSecNLO_ && externalFilterEfficiency_ == other.externalFilterEfficiency_;