68 cout <<
"AssLUTPath: " << ptr1->AssLUTPath() << endl;
72 for (
size_t l = 0;
l < ptr1->pta_lut().size();
l++) {
73 const LUT &lut = ptr1->pta_lut()[
l];
75 cout <<
" pta_lut[" << setw(2) <<
l <<
"]= [" << lut.size() <<
"] " << flush;
76 int lut_[lut.size()],
i = 0;
77 for (
const pair<short, short> &
p : lut)
78 lut_[i++] =
p.first * 0xFFFF +
p.second;
79 cout <<
hash(lut_,
sizeof(
int) * lut.size()) << endl;
81 cout <<
" pta_lut[" << setw(2) <<
l <<
"]= [0] " << endl;
85 cout <<
" pta_threshold= [" << ptr1->pta_threshold().size() <<
"] " << flush;
86 int pta_threshold[ptr1->pta_threshold().size()];
87 for (
unsigned int i = 0; i < ptr1->pta_threshold().size(); i++) {
88 pta_threshold[
i] = ptr1->pta_threshold()[
i];
90 cout <<
" " << pta_threshold[
i] << endl;
92 if (!ptr1->pta_threshold().empty())
93 cout <<
hash(pta_threshold,
sizeof(
int) * ptr1->pta_threshold().size()) << endl;
97 for (
size_t l = 0;
l < ptr1->phi_lut().size();
l++) {
98 const LUT &lut = ptr1->phi_lut()[
l];
100 cout <<
" phi_lut[" <<
l <<
"]= [" << lut.size() <<
"] " << flush;
101 int lut_[lut.size()], i = 0;
102 for (
const pair<short, short> &
p : lut)
103 lut_[i++] =
p.first * 0xFFFF +
p.second;
104 cout <<
hash(lut_,
sizeof(
int) * lut.size()) << endl;
106 cout <<
" phi_lut[" <<
l <<
"]= [0] " << endl;
110 for (
size_t l = 0;
l < ptr1->ext_lut().size();
l++) {
111 const LUT &lut = (ptr1->ext_lut()[
l]).
low;
113 cout <<
" ext_lut_low[" << setw(2) <<
l <<
"]= [" << lut.size() <<
"] " << flush;
114 int lut_[lut.size()], i = 0;
115 for (
const pair<short, short> &
p : lut)
116 lut_[i++] =
p.first * 0xFFFF +
p.second;
117 cout <<
hash(lut_,
sizeof(
int) * lut.size()) << endl;
119 cout <<
" ext_lut_low[" << setw(2) <<
l <<
"]= [0] " << endl;
123 for (
size_t l = 0;
l < ptr1->ext_lut().size();
l++) {
124 const LUT &lut = (ptr1->ext_lut()[
l]).
high;
126 cout <<
" ext_lut_high[" << setw(2) <<
l <<
"]= [" << lut.size() <<
"] " << flush;
127 int lut_[lut.size()], i = 0;
128 for (
const pair<short, short> &
p : lut)
129 lut_[i++] =
p.first * 0xFFFF +
p.second;
130 cout <<
hash(lut_,
sizeof(
int) * lut.size()) << endl;
132 cout <<
" ext_lut_high[" << setw(2) <<
l <<
"]= [0] " << endl;
137 for (
const pair<pair<short, short>, pair<
short, vector<short>>>
item : ptr1->qp_lut()) {
138 cout <<
" qp_lut[" <<
item.first.first <<
"," <<
item.first.second <<
"]= " <<
item.second.first <<
", [" 139 <<
item.second.second.size() <<
"] " << flush;
140 if (!
item.second.second.empty()) {
141 int lut_[
item.second.second.size()];
142 for (
size_t i = 0; i <
item.second.second.size(); i++)
143 lut_[i] =
item.second.second[i];
144 cout <<
hash(lut_,
sizeof(
int) *
item.second.second.size()) << endl;
151 for (
const pair<short, L1MuDTEtaPattern> &
item : ptr1->eta_lut())
152 cout <<
" eta_lut[" <<
item.first <<
"]= " << endl <<
item.second << endl;
154 cout <<
"PT_Assignment_nbits_Phi= " << ptr1->get_PT_Assignment_nbits_Phi() << endl;
155 cout <<
"PT_Assignment_nbits_PhiB= " << ptr1->get_PT_Assignment_nbits_PhiB() << endl;
156 cout <<
"PHI_Assignment_nbits_Phi= " << ptr1->get_PHI_Assignment_nbits_Phi() << endl;
157 cout <<
"PHI_Assignment_nbits_PhiB= " << ptr1->get_PHI_Assignment_nbits_PhiB() << endl;
158 cout <<
"Extrapolation_nbits_Phi= " << ptr1->get_Extrapolation_nbits_Phi() << endl;
159 cout <<
"Extrapolation_nbits_PhiB= " << ptr1->get_Extrapolation_nbits_PhiB() << endl;
160 cout <<
"BX_min= " << ptr1->get_BX_min() << endl;
161 cout <<
"BX_max= " << ptr1->get_BX_max() << endl;
162 cout <<
"Extrapolation_Filter= " << ptr1->get_Extrapolation_Filter() << endl;
163 cout <<
"OutOfTime_Filter_Window= " << ptr1->get_OutOfTime_Filter_Window() << endl;
166 cout <<
"OutOfTime_Filter= " << ptr1->get_OutOfTime_Filter() << endl;
167 cout <<
"Open_LUTs= " << ptr1->get_Open_LUTs() << endl;
168 cout <<
"EtaTrackFinder= " << ptr1->get_EtaTrackFinder() << endl;
169 cout <<
"Extrapolation_21= " << ptr1->get_Extrapolation_21() << endl;
170 cout <<
"DisableNewAlgo= " << ptr1->get_DisableNewAlgo() << endl;
174 cout <<
"fwVersion= " << ptr1->fwVersion() << endl;
175 cout <<
"version= " << ptr1->version_ << endl;
std::string hash(void *buf, size_t len) const
std::vector< unsigned short int > LUT
T const * product() const