|
|
Go to the documentation of this file.
60 theExtFilter(sp.tf().
config()->getExtTSFilter()),
61 nbit_phi(sp.tf().
config()->getNbitsExtPhi()),
62 nbit_phib(sp.tf().
config()->getNbitsExtPhib()) {}
106 cout <<
"Error: EUX has no data loaded" << endl;
136 cout <<
"EUX : using look-up table : " << static_cast<Extrapolation>(lut_idx) << endl;
164 int phib_start = (
m_start->
phib() >> sh_phib) << sh_phib;
166 phib_start += (1 << sh_phib) - 1;
169 int diff = phi_target - phi_start;
173 int offset = -2144 >> sh_phi;
178 low += (1 << sh_phi) - 1;
180 high += (1 << sh_phi) - 1;
184 int phi_offset = phi_target -
offset;
185 if ((lut_idx ==
EX34) || (lut_idx ==
EX21))
186 phi_offset = phi_start +
offset;
187 if (phi_offset >= (1 << (
nbit_phi - 1)) - 1)
189 if (phi_offset < -(1 << (
nbit_phi - 1)) + 1)
199 m_quality = (qual_st == 7) ? 0 : qual_st + 1;
201 m_quality = (qual_ta == 7) ? 0 : qual_ta + 1;
240 pair<const L1MuDTTrackSegPhi*, const L1MuDTTrackSegPhi*>
L1MuDTEUX::ts()
const {
241 return pair<const L1MuDTTrackSegPhi*, const L1MuDTTrackSegPhi*>(
m_start,
m_target);
249 int new_sector = sector % 12;
251 new_sector = new_sector - 12;
253 new_sector = new_sector + 12;
bool get_soc_openlut_extr(int wh, int sc) const
const L1MuDTTrackSegPhi * m_start
L1MuDTEUX(const L1MuDTSectorProcessor &sp, const L1MuDTSEU &seu, int id)
constructor
int phib() const
return phib
void reset() override
reset Extrapolator
unsigned int quality() const
return extrapolation quality
bool result() const
return extrapolation result
const L1MuDTTrackFinder & tf() const
return reference to barrel MTTF
edm::ESHandle< L1MuDTTFParameters > pars
int sec_mod(int) const
output sector numbers in the range -6 to +5
const L1MuDTSecProcId & id() const
return Sector Processor identifier
void load(const L1MuDTTrackSegPhi *start_ts, const L1MuDTTrackSegPhi *target_ts)
load data into EUX
unsigned short int get_soc_qcut_st4(int wh, int sc) const
int wheel() const
return wheel number
unsigned short int address() const
return extrapolation address (0-11) (address = 15 indicates negative ext. result)
int id() const
return Extrapolation identifier
unsigned const short nbit_phi
int phi() const
return phi
Extrapolation ext() const
return extrapolation type
int sector() const
return sector number
int sector() const
return sector
const L1MuDTTrackSegPhi * m_target
unsigned const short nbit_phib
~L1MuDTEUX() override
destructor
virtual void run()
run processor logic
static L1MuDTTFConfig * config()
return configuration
bool operator==(const L1MuDTEUX &) const
equal operator
unsigned short int get_soc_qcut_st2(int wh, int sc) const
const L1MuDTSectorProcessor & m_sp
int getLow(int ext_ind, int address) const
get low_value for a given address
std::pair< const L1MuDTTrackSegPhi *, const L1MuDTTrackSegPhi * > ts() const
return pointer to start and target track segment
int quality() const
return quality code
Abs< T >::type abs(const T &t)
int wheel() const
return wheel
int getHigh(int ext_ind, int address) const
get high_value for a given address
unsigned short int m_quality
edm::ESHandle< L1MuDTExtLut > theExtLUTs
unsigned short int m_address
unsigned short int get_soc_qcut_st1(int wh, int sc) const