58 bool operator == (
const std::vector<int>& a1,
const std::vector<int>& a2){
59 if( a1.size() != a2.size() )
return false;
60 for(
unsigned i=0;
i<a1.size();
i++)
61 if( a1[
i] != a2[
i] )
return false;
90 std::cout<<
"a="<<a<<
" d="<<d<<
" m="<<m<<
" mm="<<mm<<
" v="<<v<<std::endl;
91 return a && d && m && mm &&
v;
102 std::cout<<
"t="<<t<<
" v="<<v<<
" l="<<l<<
" d="<<d<<
" u="<<u<<
" i="<<i<<
" s="<<s<<std::endl;
103 return t && v && l && d && u && i &&
s;
106 bool operator == (
const std::vector<l1t::CaloParams::Node>& a1,
const std::vector<l1t::CaloParams::Node>& a2){
107 if( a1.size() != a2.size() )
return false;
108 for(
unsigned i=0;
i<a1.size();
i++){
110 if( !(a1[
i] == a2[
i]) )
return false;
121 std::cout<<
" version_: " << v << std::endl;
124 std::cout<<
" pnode_: " << pn << std::endl;
127 std::cout<<
" towerp_: " << tp << std::endl;
129 std::cout<<
" regionLsb_: "<< rlsb << std::endl;
144 bool taup = ((a1.
taup_.lsb_ == a2.
taup_.lsb_) &&
145 (a1.
taup_.seedThreshold_ == a2.
taup_.seedThreshold_) &&
146 (a1.
taup_.neighbourThreshold_ == a2.
taup_.neighbourThreshold_) &&
147 (a1.
taup_.maxPtTauVeto_ == a2.
taup_.maxPtTauVeto_) &&
148 (a1.
taup_.minPtJetIsolationB_ == a2.
taup_.minPtJetIsolationB_) &&
149 (a1.
taup_.maxJetIsolationB_ == a2.
taup_.maxJetIsolationB_) &&
150 (a1.
taup_.maxJetIsolationA_ == a2.
taup_.maxJetIsolationA_) &&
151 (a1.
taup_.isoEtaMin_ == a2.
taup_.isoEtaMin_) &&
152 (a1.
taup_.isoEtaMax_ == a2.
taup_.isoEtaMax_) &&
153 (a1.
taup_.isoAreaNrTowersEta_== a2.
taup_.isoAreaNrTowersEta_) &&
154 (a1.
taup_.isoAreaNrTowersPhi_== a2.
taup_.isoAreaNrTowersPhi_) &&
155 (a1.
taup_.isoVetoNrTowersPhi_== a2.
taup_.isoVetoNrTowersPhi_));
156 std::cout<<
" taup_: "<< taup << std::endl;
161 std::cout<<
" jetp_: " << jetp << std::endl;
164 std::cout<<
" etSumLsb_: "<< etslsb << std::endl;
166 std::cout<<
" etSumEtaMin_: "<< etsemn << std::endl;
169 std::cout<<
" etSumEtaMax_: "<< etsemx << std::endl;
171 std::cout<<
" etSumEtThreshold_: "<< sett << std::endl;
173 return v && pn && tp && rlsb && egp && taup && jetp && etslsb && etsemn && etsemx && sett;
std::vector< double > etSumEtThreshold_
std::vector< Node > pnode_
double neighbourThreshold_
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_
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
unsigned isoVetoNrTowersPhi_
std::vector< int > etSumEtaMax_
std::vector< double > etSumEtThreshold_
std::vector< unsigned > uparams_
double neighbourThreshold_
std::vector< int > etSumEtaMin_
std::vector< int > iparams_