55 m_RBCE[
k]->setid( wid, bisector );
75 m_RBCE[
k]->setid( wid, bisector );
94 m_RBCE[
k]->setid( wid, bisector );
108 std::vector<RBCEmulator*>::iterator itr;
110 if ( (*itr) )
delete (*itr);
155 std::map<int,RBCInput*>::const_iterator itr;
157 if ( bx != 0 ) bxsign = ( bx /
abs(bx) );
164 int key = bxsign*( 1000000 *
abs(bx)
165 +
m_RBCE[
k]->m_rbcinfo->wheelIdx()*10000
166 +
m_RBCE[
k]->m_rbcinfo->sector(0)*100
167 +
m_RBCE[
k]->m_rbcinfo->sector(1) );
169 itr = data.find( key );
171 if ( itr != data.end() ) {
173 if ( ! (*itr).second->hasData ) {
179 << ( itr->second ) << std::endl;
180 m_RBCE[
k]->emulate( ( itr->second ) );
201 std::map<int,TTUInput*>::const_iterator itr;
203 if ( bx != 0 ) bxsign = ( bx /
abs(bx) );
206 int key = bxsign*( 1000000 *
abs(bx) + (
m_id+2)*10000 );
208 itr = data.find( key );
210 if ( itr != data.end() ) {
211 if(
m_debug )
std::cout <<
"RPCWheel::process> found data at: " << key <<
'\t'
212 << ( itr->second ) << std::endl;
214 if ( ! (*itr).second->m_hasHits )
return false;
238 std::bitset<6> layersignal;
240 layersignal = *
m_RBCE[0]->getlayersignal( 0 );
247 layersignal = *
m_RBCE[
k+1]->getlayersignal( 0 );
249 layersignal = *
m_RBCE[
k+1]->getlayersignal( 1 );
257 layersignal = *
m_RBCE[0]->getlayersignal( 1 );
269 if(
m_debug )
std::cout <<
"RPCWheel::retrieveWheelMap starts" << std::endl;
void print_wheel(const TTUInput &)
std::bitset< 6 > * m_wheelmap
std::vector< int > m_sec2id
RPCWheel()
Standard constructor.
bool process(int, const std::map< int, RBCInput * > &)
std::bitset< 12 > m_rbcDecision
std::vector< int > m_sec1id
Abs< T >::type abs(const T &t)
void retrieveWheelMap(TTUInput &)
char data[epos_bytes_allocation]
std::vector< RBCEmulator * > m_RBCE
void setSpecifications(const RBCBoardSpecs *)
virtual ~RPCWheel()
Destructor.
void reset(double vett[256])