CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GenRunInfoProduct.cc
Go to the documentation of this file.
1 #include <iostream>
2 #include <algorithm>
3 
5 
7 
8 using namespace edm;
9 using namespace std;
10 
11 GenRunInfoProduct::GenRunInfoProduct() : externalFilterEfficiency_(-1.) {}
12 
14  : internalXSec_(other.internalXSec_),
15  externalXSecLO_(other.externalXSecLO_),
16  externalXSecNLO_(other.externalXSecNLO_),
17  externalFilterEfficiency_(other.externalFilterEfficiency_) {}
18 
22  if (not result) {
23  edm::LogWarning("GenRunInfoProduct|ProductsNotMergeable")
24  << "You are merging runs with different cross-sections and/or "
25  "filter efficiencies (from GenRunInfoProduct)\n"
26  "The resulting cross-section will not be consistent."
27  << std::endl;
28  }
29 
30  return result;
31 }
tuple result
Definition: mps_fire.py:311
double externalFilterEfficiency_
bool isProductEqual(const GenRunInfoProduct &other) const
Log< level::Warning, false > LogWarning