32 std::vector<GenLumiInfoProduct::ProcessInfo> lhsVector = lhs.
getProcessInfos();
33 std::vector<GenLumiInfoProduct::ProcessInfo> rhsVector = rhs.
getProcessInfos();
34 std::sort(lhsVector.begin(), lhsVector.end());
35 std::sort(rhsVector.begin(), rhsVector.end());
36 unsigned int lhssize = lhsVector.size();
37 unsigned int rhssize = rhsVector.size();
41 for (
unsigned int i = 0;
i < lhssize;
i++) {
42 if (lhsVector[
i] != rhsVector[
i]) {
48 return (condition || fail);
52 std::vector<GenLumiInfoProduct::ProcessInfo> lhsVector = lhs.
getProcessInfos();
53 std::vector<GenLumiInfoProduct::ProcessInfo> rhsVector = rhs.
getProcessInfos();
54 std::sort(lhsVector.begin(), lhsVector.end());
55 std::sort(rhsVector.begin(), rhsVector.end());
56 unsigned int lhssize = lhsVector.size();
57 unsigned int rhssize = rhsVector.size();
60 unsigned int passCounts = 0;
62 for (
unsigned int i = 0;
i < lhssize;
i++) {
63 if (lhsVector[
i] == rhsVector[
i])
67 return (condition && (passCounts == lhssize));
75 : hepidwtup_(
other.hepidwtup_), internalProcesses_(
other.internalProcesses_) {}
90 for (
unsigned int i = 0;
i <
other.getProcessInfos().size();
i++) {
91 int id =
other.getProcessInfos()[
i].process();
93 if (
x.lheXSec().value() > 0)
94 x.addOthers(
other.getProcessInfos()[
i]);
101 for (std::map<int, ProcessInfo>::const_iterator iter =
processes.begin(); iter !=
processes.end(); ++iter,
i++)
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
constexpr bool operator==(ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
virtual ~GenLumiInfoProduct()
void swap(GenLumiInfoProduct &other)
XSec const & lheXSec() const
virtual bool isProductEqual(const GenLumiInfoProduct &other) const
FinalStat const & acceptedBr() const
FinalStat const & selected() const
const std::vector< ProcessInfo > & getProcessInfos() const
unsigned int nTotalPos() const
FinalStat const & killed() const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
unsigned int nPassNeg() const
FinalStat const & accepted() const
constexpr bool operator!=(ELseverityLevel const &e1, ELseverityLevel const &e2) noexcept
const int getHEPIDWTUP() const
unsigned int nPassPos() const
unsigned int nTotalNeg() const
virtual bool mergeProduct(const GenLumiInfoProduct &other)
FinalStat const & tried() const
std::vector< ProcessInfo > internalProcesses_