CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
L1MuDTExtrapolationUnit Class Reference

#include <L1MuDTExtrapolationUnit.h>

Inheritance diagram for L1MuDTExtrapolationUnit:
L1AbstractProcessor

Public Types

typedef std::pair
< Extrapolation, unsigned int > 
SEUId
 
typedef std::map< SEUId,
L1MuDTSEU *, std::less< SEUId > > 
SEUmap
 

Public Member Functions

unsigned short int getAddress (Extrapolation ext, unsigned int startAdr, int id) const
 get extrapolation address from a given ERS More...
 
const std::bitset< 12 > & getEXTable (Extrapolation ext, unsigned int startAdr) const
 get Extrapolator table for a given SEU More...
 
const std::bitset< 12 > & getQSTable (Extrapolation ext, unsigned int startAdr) const
 get Quality Sorter table for a given SEU More...
 
unsigned short int getQuality (Extrapolation ext, unsigned int startAdr, int id) const
 get extrapolation quality from a given ERS More...
 
 L1MuDTExtrapolationUnit (const L1MuDTSectorProcessor &)
 constructor More...
 
int numberOfExt () const
 return number of successful extrapolations More...
 
void print (int level=0) const
 print all successful extrapolations More...
 
virtual void reset ()
 reset Extrapolation Unit More...
 
void reset (Extrapolation ext, unsigned int startAdr, unsigned int relAdr)
 reset a single extrapolation More...
 
virtual void run (const edm::EventSetup &c)
 run Extrapolation Unit More...
 
virtual ~L1MuDTExtrapolationUnit ()
 destructor More...
 
- Public Member Functions inherited from L1AbstractProcessor
virtual void run ()
 run processor logic More...
 
virtual void run ()
 run processor logic More...
 
virtual ~L1AbstractProcessor ()
 destructor More...
 
virtual ~L1AbstractProcessor ()
 destructor More...
 

Static Public Member Functions

static std::pair< int, int > which_ext (Extrapolation ext)
 return station of start and target track segment for a given extrapolation More...
 

Private Attributes

SEUmap m_SEUs
 
const L1MuDTSectorProcessorm_sp
 
edm::ESHandle< L1MuDTTFParameterspars
 

Detailed Description

Extrapolation Unit:

The Extrapolation Unit attempts to join track segment pairs of different stations. it contains 12 Single Extrapolation Units to perform all extrapolations in its own wheel and 6 Single Extrapolation Units to perform all extrapolations in the adjacent wheel (next wheel neighbour)

N. Neumeister CERN EP

Definition at line 52 of file L1MuDTExtrapolationUnit.h.

Member Typedef Documentation

typedef std::pair<Extrapolation, unsigned int> L1MuDTExtrapolationUnit::SEUId

Definition at line 56 of file L1MuDTExtrapolationUnit.h.

typedef std::map<SEUId, L1MuDTSEU*, std::less<SEUId> > L1MuDTExtrapolationUnit::SEUmap

Definition at line 57 of file L1MuDTExtrapolationUnit.h.

Constructor & Destructor Documentation

L1MuDTExtrapolationUnit::L1MuDTExtrapolationUnit ( const L1MuDTSectorProcessor sp)

constructor

Definition at line 54 of file L1MuDTExtrapolationUnit.cc.

L1MuDTExtrapolationUnit::~L1MuDTExtrapolationUnit ( )
virtual

destructor

Definition at line 83 of file L1MuDTExtrapolationUnit.cc.

Member Function Documentation

unsigned short int L1MuDTExtrapolationUnit::getAddress ( Extrapolation  ext,
unsigned int  startAdr,
int  id 
) const

get extrapolation address from a given ERS

Definition at line 188 of file L1MuDTExtrapolationUnit.cc.

const bitset< 12 > & L1MuDTExtrapolationUnit::getEXTable ( Extrapolation  ext,
unsigned int  startAdr 
) const

get Extrapolator table for a given SEU

Definition at line 234 of file L1MuDTExtrapolationUnit.cc.

const bitset< 12 > & L1MuDTExtrapolationUnit::getQSTable ( Extrapolation  ext,
unsigned int  startAdr 
) const

get Quality Sorter table for a given SEU

Definition at line 250 of file L1MuDTExtrapolationUnit.cc.

unsigned short int L1MuDTExtrapolationUnit::getQuality ( Extrapolation  ext,
unsigned int  startAdr,
int  id 
) const

get extrapolation quality from a given ERS

Definition at line 211 of file L1MuDTExtrapolationUnit.cc.

int L1MuDTExtrapolationUnit::numberOfExt ( ) const

return number of successful extrapolations

Definition at line 266 of file L1MuDTExtrapolationUnit.cc.

void L1MuDTExtrapolationUnit::print ( int  level = 0) const

print all successful extrapolations

Definition at line 282 of file L1MuDTExtrapolationUnit.cc.

void L1MuDTExtrapolationUnit::reset ( void  )
virtual

reset Extrapolation Unit

Implements L1AbstractProcessor.

Definition at line 160 of file L1MuDTExtrapolationUnit.cc.

void L1MuDTExtrapolationUnit::reset ( Extrapolation  ext,
unsigned int  startAdr,
unsigned int  relAdr 
)

reset a single extrapolation

Definition at line 173 of file L1MuDTExtrapolationUnit.cc.

void L1MuDTExtrapolationUnit::run ( const edm::EventSetup c)
virtual

run Extrapolation Unit

Reimplemented from L1AbstractProcessor.

Definition at line 101 of file L1MuDTExtrapolationUnit.cc.

pair< int, int > L1MuDTExtrapolationUnit::which_ext ( Extrapolation  ext)
static

return station of start and target track segment for a given extrapolation

Definition at line 336 of file L1MuDTExtrapolationUnit.cc.

Referenced by L1MuDTSEU::run().

Member Data Documentation

SEUmap L1MuDTExtrapolationUnit::m_SEUs
mutableprivate

Definition at line 99 of file L1MuDTExtrapolationUnit.h.

const L1MuDTSectorProcessor& L1MuDTExtrapolationUnit::m_sp
private

Definition at line 97 of file L1MuDTExtrapolationUnit.h.

edm::ESHandle< L1MuDTTFParameters > L1MuDTExtrapolationUnit::pars
private

Definition at line 101 of file L1MuDTExtrapolationUnit.h.