CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
12  externalFilterEfficiency_(-1.)
13 {
14 }
15 
17  internalXSec_(other.internalXSec_),
18  externalXSecLO_(other.externalXSecLO_),
19  externalXSecNLO_(other.externalXSecNLO_),
20  externalFilterEfficiency_(other.externalFilterEfficiency_)
21 {
22 }
23 
25 {
26  bool result = externalXSecLO_ == other.externalXSecLO_ &&
29  if( not result) {
30  edm::LogWarning("GenRunInfoProduct|ProductsNotMergeable")
31  << "You are merging runs with different cross-sections and/or "
32  "filter efficiencies (from GenRunInfoProduct)\n"
33  "The resulting cross-section will not be consistent." << std::endl;
34  }
35 
36  return result;
37 }
tuple result
Definition: mps_fire.py:84
double externalFilterEfficiency_
bool isProductEqual(const GenRunInfoProduct &other) const