35 std::vector<GenLumiInfoProduct::ProcessInfo> lhsVector = lhs.
getProcessInfos();
36 std::vector<GenLumiInfoProduct::ProcessInfo> rhsVector = rhs.
getProcessInfos();
37 std::sort(lhsVector.begin(),lhsVector.end());
38 std::sort(rhsVector.begin(),rhsVector.end());
39 unsigned int lhssize=lhsVector.size();
40 unsigned int rhssize=rhsVector.size();
46 for(
unsigned int i=0;
i<lhssize;
i++){
47 if(lhsVector[
i] != rhsVector[
i])
56 return (condition || fail);
63 std::vector<GenLumiInfoProduct::ProcessInfo> lhsVector = lhs.
getProcessInfos();
64 std::vector<GenLumiInfoProduct::ProcessInfo> rhsVector = rhs.
getProcessInfos();
65 std::sort(lhsVector.begin(),lhsVector.end());
66 std::sort(rhsVector.begin(),rhsVector.end());
67 unsigned int lhssize=lhsVector.size();
68 unsigned int rhssize=rhsVector.size();
72 unsigned int passCounts=-999;
75 for(
unsigned int i=0;
i<lhssize;
i++){
76 if(lhsVector[
i] == rhsVector[
i])
80 return (condition && (passCounts==lhssize));
99 hepidwtup_(other.hepidwtup_),
100 internalProcesses_(other.internalProcesses_)
110 if ( (*
this) != other)
114 <<
"You are merging runs with different cross-sections"
115 "The resulting cross-section will not be consistent." << std::endl;
130 return ((*
this) == other);
140 (lhssize == rhssize));
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
const std::vector< ProcessInfo > & getProcessInfos() const
unsigned int nTotalNeg() const
virtual ~GenLumiInfoProduct()
unsigned int nPassPos() const
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &)
unsigned int nPassNeg() const
FinalStat acceptedBr() const
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &)
virtual bool samePhysics(const GenLumiInfoProduct &other) const
virtual bool isProductEqual(const GenLumiInfoProduct &other) const
virtual bool mergeProduct(const GenLumiInfoProduct &other)
FinalStat selected() const
unsigned int nTotalPos() const
FinalStat accepted() const
std::vector< ProcessInfo > internalProcesses_
const int getHEPIDWTUP() const