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++)
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]))
115 std::cout <<
" version_: " << v << std::endl;
118 std::cout <<
" pnode_: " << pn << std::endl;
121 std::cout <<
" towerp_: " << tp << std::endl;
123 std::cout <<
" regionLsb_: " << rlsb << std::endl;
134 std::cout <<
" egp_: " << egp << std::endl;
138 (a1.
taup_.neighbourThreshold_ == a2.
taup_.neighbourThreshold_) &&
139 (a1.
taup_.maxPtTauVeto_ == a2.
taup_.maxPtTauVeto_) &&
140 (a1.
taup_.minPtJetIsolationB_ == a2.
taup_.minPtJetIsolationB_) &&
141 (a1.
taup_.maxJetIsolationB_ == a2.
taup_.maxJetIsolationB_) &&
142 (a1.
taup_.maxJetIsolationA_ == a2.
taup_.maxJetIsolationA_) && (a1.
taup_.isoEtaMin_ == a2.
taup_.isoEtaMin_) &&
143 (a1.
taup_.isoEtaMax_ == a2.
taup_.isoEtaMax_) && (a1.
taup_.isoAreaNrTowersEta_ == a2.
taup_.isoAreaNrTowersEta_) &&
144 (a1.
taup_.isoAreaNrTowersPhi_ == a2.
taup_.isoAreaNrTowersPhi_) &&
145 (a1.
taup_.isoVetoNrTowersPhi_ == a2.
taup_.isoVetoNrTowersPhi_));
146 std::cout <<
" taup_: " << taup << std::endl;
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;
std::vector< double > etSumEtThreshold_
std::vector< Node > pnode_
double neighbourThreshold_
bool operator==(const std::vector< int > &a1, const std::vector< int > &a2)
unsigned int nrBitsAddress_
unsigned isoAreaNrTowersPhi_
std::vector< double > dparams_
std::vector< int > etSumEtaMin_
std::vector< Node > pnode_
std::vector< std::string > sparams_
CaloParams_PUBLIC(const l1t::CaloParams &p)
unsigned int addressMask_
std::vector< int > etSumEtaMax_
unsigned isoAreaNrTowersEta_
unsigned isoVetoNrTowersPhi_
std::vector< int > etSumEtaMax_
std::vector< double > etSumEtThreshold_
std::vector< unsigned > uparams_
double neighbourThreshold_
std::vector< int > etSumEtaMin_
std::vector< int > iparams_