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;
131 bool egp = ((a1.
egp_.lsb_ == a2.
egp_.lsb_) &&
132 (a1.
egp_.seedThreshold_ == a2.
egp_.seedThreshold_) &&
133 (a1.
egp_.neighbourThreshold_== a2.
egp_.neighbourThreshold_) &&
134 (a1.
egp_.hcalThreshold_ == a2.
egp_.hcalThreshold_) &&
135 (a1.
egp_.maxHcalEt_== a2.
egp_.maxHcalEt_) &&
136 (a1.
egp_.maxPtHOverE_== a2.
egp_.maxPtHOverE_) &&
137 (a1.
egp_.minPtJetIsolation_== a2.
egp_.minPtJetIsolation_) &&
138 (a1.
egp_.maxPtJetIsolation_== a2.
egp_.maxPtJetIsolation_) &&
139 (a1.
egp_.isoAreaNrTowersEta_== a2.
egp_.isoAreaNrTowersEta_) &&
140 (a1.
egp_.isoAreaNrTowersPhi_== a2.
egp_.isoAreaNrTowersPhi_) &&
141 (a1.
egp_.isoVetoNrTowersPhi_== a2.
egp_.isoVetoNrTowersPhi_) );
156 std::cout<<
" taup_: "<< taup << std::endl;
158 bool jetp = ((a1.
jetp_.lsb_ == a2.
jetp_.lsb_) &&
159 (a1.
jetp_.seedThreshold_ == a2.
jetp_.seedThreshold_) &&
160 (a1.
jetp_.neighbourThreshold_ == a2.
jetp_.neighbourThreshold_));
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_
unsigned isoAreaNrTowersEta_
bool operator==(const std::vector< int > &a1, const std::vector< int > &a2)
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_
std::vector< int > etSumEtaMax_
std::vector< double > etSumEtThreshold_
std::vector< unsigned > uparams_
double neighbourThreshold_
std::vector< int > etSumEtaMin_
std::vector< int > iparams_
unsigned isoAreaNrTowersPhi_