51 : m_sp(sp), m_ext(ext), m_startTS_Id(tsId), m_startTS(nullptr), m_EUXs(), m_ERS() {
54 for (
int target_ts = 0; target_ts < 12; target_ts++) {
66 vector<L1MuBMEUX*>::iterator iter_eux;
67 for (iter_eux =
m_EUXs.begin(); iter_eux !=
m_EUXs.end(); iter_eux++) {
90 int target = ext_pair.second;
116 for (
int reladr = 0; reladr < 12; reladr++) {
118 if (nextWheel && (reladr / 2) % 2 == 0)
122 if (target_ts && !target_ts->
empty()) {
124 m_EUXs[reladr]->run(params);
133 cout <<
"number of successful EUX : " << n_ext << endl;
149 vector<L1MuBMEUX*>::iterator iter_eux;
150 for (iter_eux =
m_EUXs.begin(); iter_eux !=
m_EUXs.end(); iter_eux++) {
151 (*iter_eux)->
reset();
175 vector<L1MuBMEUX*>::const_iterator iter_eux;
176 for (iter_eux =
m_EUXs.begin(); iter_eux !=
m_EUXs.end(); iter_eux++) {
177 if ((*iter_eux)->result())
int numberOfExt() const
return number of successful extrapolations
const L1MuBMSectorProcessor & m_sp
unsigned int m_startTS_Id
void run(const L1TMuonBarrelParams ¶ms)
run SEU
std::vector< L1MuBMEUX * > m_EUXs
std::bitset< 12 > m_QStable
L1MuBMSEU(const L1MuBMSectorProcessor &sp, Extrapolation ext, unsigned int tsId)
constructor
void reset()
reset phi track segment
const TSPhivector & getTSphi() const
get all track segments from the buffer
bool isNextWheelSEU() const
is it a next wheel Single Extrapolation Unit
const L1MuBMDataBuffer * data() const
return pointer to Data Buffer
std::bitset< 12 > m_EXtable
const L1MuBMTrackSegPhi * m_startTS
bool empty() const
is it an empty phi track segment?