52 m_startTS_Id(tsId), m_startTS(0), m_EUXs(), m_ERS() {
56 for (
int target_ts = 0; target_ts < 12; target_ts++ ) {
71 vector<L1MuBMEUX*>::iterator iter_eux;
72 for ( iter_eux =
m_EUXs.begin(); iter_eux !=
m_EUXs.end(); iter_eux++ ) {
98 int target = ext_pair.second;
124 for (
int reladr = 0; reladr < 12; reladr++ ) {
127 if ( nextWheel && (reladr/2)%2 == 0 )
continue;
130 if ( target_ts && !target_ts->
empty() ) {
140 if ( n_ext > 0 )
cout <<
"number of successful EUX : " << n_ext << endl;
158 vector<L1MuBMEUX*>::iterator iter_eux;
159 for ( iter_eux =
m_EUXs.begin(); iter_eux !=
m_EUXs.end(); iter_eux++ ) {
160 (*iter_eux)->
reset();
190 vector<L1MuBMEUX*>::const_iterator iter_eux;
191 for ( iter_eux =
m_EUXs.begin(); iter_eux !=
m_EUXs.end(); iter_eux++ ) {
192 if ( (*iter_eux)->result() ) number++;
int numberOfExt() const
return number of successful extrapolations
const L1MuBMSectorProcessor & m_sp
unsigned int m_startTS_Id
virtual void run()
run L1MuBMERS
std::vector< L1MuBMEUX * > m_EUXs
std::bitset< 12 > m_QStable
virtual void run()
run processor logic
virtual void reset()
reset SEU
L1MuBMSEU(const L1MuBMSectorProcessor &sp, Extrapolation ext, unsigned int tsId)
constructor
void reset()
reset phi track segment
virtual void reset()
reset ERS
virtual ~L1MuBMSEU()
destructor
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?