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;
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;
std::vector< double > etSumEtThreshold_
std::vector< Node > pnode_
unsigned isoAreaNrTowersEta_
unsigned int nrBitsAddress_
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_
double minPtJetIsolationB_
unsigned isoVetoNrTowersPhi_
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
std::vector< int > etSumEtaMax_
std::vector< double > etSumEtThreshold_
std::vector< unsigned > uparams_
double neighbourThreshold_
std::vector< int > etSumEtaMin_
std::vector< int > iparams_
static constexpr float b2
static constexpr float b1
unsigned isoAreaNrTowersPhi_