58 bool operator==(
const std::vector<int>& a1,
const std::vector<int>&
a2) {
59 if (a1.size() !=
a2.size())
61 for (
unsigned i = 0;
i < a1.size();
i++)
75 const LUT_PUBLIC& a1 = reinterpret_cast<const LUT_PUBLIC&>(
b1);
83 std::cout <<
"a=" <<
a <<
" d=" <<
d <<
" m=" <<
m <<
" mm=" << mm <<
" v=" <<
v << std::endl;
84 return a &&
d &&
m && mm &&
v;
95 std::cout <<
"t=" <<
t <<
" v=" <<
v <<
" l=" <<
l <<
" d=" <<
d <<
" u=" << u <<
" i=" <<
i <<
" s=" <<
s
97 return t &&
v &&
l &&
d && u &&
i &&
s;
100 bool operator==(
const std::vector<l1t::CaloParams::Node>& a1,
const std::vector<l1t::CaloParams::Node>&
a2) {
101 if (a1.size() !=
a2.size())
103 for (
unsigned i = 0;
i < a1.size();
i++) {
104 if (!(a1[
i] ==
a2[
i]))
117 bool pn = (a1.
pnode_[1] ==
a2.pnode_[1]);
118 std::cout <<
" pnode_: " << pn << std::endl;
123 std::cout <<
" regionLsb_: " << rlsb << std::endl;
126 ((a1.
egp_.lsb_ ==
a2.egp_.lsb_) && (a1.
egp_.seedThreshold_ ==
a2.egp_.seedThreshold_) &&
127 (a1.
egp_.neighbourThreshold_ ==
a2.egp_.neighbourThreshold_) &&
128 (a1.
egp_.hcalThreshold_ ==
a2.egp_.hcalThreshold_) && (a1.
egp_.maxHcalEt_ ==
a2.egp_.maxHcalEt_) &&
129 (a1.
egp_.maxPtHOverE_ ==
a2.egp_.maxPtHOverE_) && (a1.
egp_.minPtJetIsolation_ ==
a2.egp_.minPtJetIsolation_) &&
130 (a1.
egp_.maxPtJetIsolation_ ==
a2.egp_.maxPtJetIsolation_) &&
131 (a1.
egp_.isoAreaNrTowersEta_ ==
a2.egp_.isoAreaNrTowersEta_) &&
132 (a1.
egp_.isoAreaNrTowersPhi_ ==
a2.egp_.isoAreaNrTowersPhi_) &&
133 (a1.
egp_.isoVetoNrTowersPhi_ ==
a2.egp_.isoVetoNrTowersPhi_));
134 std::cout <<
" egp_: " << egp << std::endl;
146 std::cout <<
" taup_: " << taup << std::endl;
148 bool jetp = ((a1.
jetp_.lsb_ ==
a2.jetp_.lsb_) && (a1.
jetp_.seedThreshold_ ==
a2.jetp_.seedThreshold_) &&
149 (a1.
jetp_.neighbourThreshold_ ==
a2.jetp_.neighbourThreshold_));
150 std::cout <<
" jetp_: " << jetp << std::endl;
153 std::cout <<
" etSumLsb_: " << etslsb << std::endl;
155 std::cout <<
" etSumEtaMin_: " << etsemn << std::endl;
158 std::cout <<
" etSumEtaMax_: " << etsemx << std::endl;
160 std::cout <<
" etSumEtThreshold_: " << sett << std::endl;
162 return v && pn &&
tp && rlsb && egp && taup && jetp && etslsb && etsemn && etsemx && sett;