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 std::map<int, ProcessInfo> processes;
131 for(std::map<int, ProcessInfo>::const_iterator
iter = processes.begin();
132 iter != processes.end(); ++
iter, i++)
139 return ((*
this) == other);
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 isProductEqual(const GenLumiInfoProduct &other) const
virtual bool mergeProduct(const GenLumiInfoProduct &other)
FinalStat selected() const
void addOthers(const ProcessInfo &other)
unsigned int nTotalPos() const
FinalStat accepted() const
std::vector< ProcessInfo > internalProcesses_
const int getHEPIDWTUP() const