CMS 3D CMS Logo

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

#include <L1MuDTAssignmentUnit.h>

Inheritance diagram for L1MuDTAssignmentUnit:
L1AbstractProcessor

Public Member Functions

 L1MuDTAssignmentUnit (L1MuDTSectorProcessor &sp, int id)
 constructor More...
 
void PhiAU (const edm::EventSetup &c)
 assign phi More...
 
void PtAU (const edm::EventSetup &c)
 assign pt and charge More...
 
void QuaAU ()
 assign quality More...
 
virtual void reset ()
 reset Assignment Unit More...
 
virtual void run (const edm::EventSetup &c)
 run Assignment Unit More...
 
virtual ~L1MuDTAssignmentUnit ()
 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 void setPrecision ()
 set precision of phi and phib More...
 

Private Member Functions

int getPtAddress (PtAssMethod, int bendcharge=0) const
 calculate bend angle More...
 
PtAssMethod getPtMethod () const
 determine pt assignment method More...
 
const L1MuDTTrackSegPhigetTSphi (int station) const
 get track segment from a given station More...
 
int phiDiff (int stat1, int stat2) const
 build difference of two phi values More...
 
void TSR ()
 Track Segment Router. More...
 

Static Private Member Functions

static int convertSector (int)
 convert sector Id to 8 bit code (= sector center) More...
 
static int getCharge (PtAssMethod)
 determine charge More...
 

Private Attributes

L1MuDTAddressArray m_addArray
 
int m_id
 
PtAssMethod m_ptAssMethod
 
L1MuDTSectorProcessorm_sp
 
std::vector< const
L1MuDTTrackSegPhi * > 
m_TSphi
 
edm::ESHandle< L1MuDTPhiLutthePhiLUTs
 phi-assignment look-up tables More...
 
edm::ESHandle< L1MuDTPtaLutthePtaLUTs
 pt-assignment look-up tables More...
 

Static Private Attributes

static unsigned short nbit_phi = 12
 

of bits used for pt-assignment

More...
 
static unsigned short nbit_phib = 10
 

of bits used for pt-assignment

More...
 

Detailed Description

Assignment Unit:

assigns pt, charge, phi and quality to a muon candidate found by the Track Assembler

N. Neumeister CERN EP J. Troconiz UAM Madrid

Definition at line 50 of file L1MuDTAssignmentUnit.h.

Constructor & Destructor Documentation

L1MuDTAssignmentUnit::L1MuDTAssignmentUnit ( L1MuDTSectorProcessor sp,
int  id 
)

constructor

Definition at line 56 of file L1MuDTAssignmentUnit.cc.

L1MuDTAssignmentUnit::~L1MuDTAssignmentUnit ( )
virtual

destructor

Definition at line 72 of file L1MuDTAssignmentUnit.cc.

Member Function Documentation

int L1MuDTAssignmentUnit::convertSector ( int  sector)
staticprivate

convert sector Id to 8 bit code (= sector center)

Definition at line 314 of file L1MuDTAssignmentUnit.cc.

int L1MuDTAssignmentUnit::getCharge ( PtAssMethod  method)
staticprivate

determine charge

Definition at line 328 of file L1MuDTAssignmentUnit.cc.

int L1MuDTAssignmentUnit::getPtAddress ( PtAssMethod  method,
int  bendcharge = 0 
) const
private

calculate bend angle

Definition at line 442 of file L1MuDTAssignmentUnit.cc.

PtAssMethod L1MuDTAssignmentUnit::getPtMethod ( ) const
private

determine pt assignment method

Definition at line 375 of file L1MuDTAssignmentUnit.cc.

const L1MuDTTrackSegPhi * L1MuDTAssignmentUnit::getTSphi ( int  station) const
private

get track segment from a given station

Definition at line 295 of file L1MuDTAssignmentUnit.cc.

void L1MuDTAssignmentUnit::PhiAU ( const edm::EventSetup c)

assign phi

Definition at line 143 of file L1MuDTAssignmentUnit.cc.

int L1MuDTAssignmentUnit::phiDiff ( int  stat1,
int  stat2 
) const
private

build difference of two phi values

Definition at line 500 of file L1MuDTAssignmentUnit.cc.

void L1MuDTAssignmentUnit::PtAU ( const edm::EventSetup c)

assign pt and charge

Definition at line 217 of file L1MuDTAssignmentUnit.cc.

void L1MuDTAssignmentUnit::QuaAU ( )

assign quality

Definition at line 247 of file L1MuDTAssignmentUnit.cc.

void L1MuDTAssignmentUnit::reset ( void  )
virtual

reset Assignment Unit

Implements L1AbstractProcessor.

Definition at line 131 of file L1MuDTAssignmentUnit.cc.

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

run Assignment Unit

Reimplemented from L1AbstractProcessor.

Definition at line 82 of file L1MuDTAssignmentUnit.cc.

void L1MuDTAssignmentUnit::setPrecision ( )
static

set precision of phi and phib

Definition at line 532 of file L1MuDTAssignmentUnit.cc.

void L1MuDTAssignmentUnit::TSR ( )
private

Track Segment Router.

Definition at line 277 of file L1MuDTAssignmentUnit.cc.

Member Data Documentation

L1MuDTAddressArray L1MuDTAssignmentUnit::m_addArray
private

Definition at line 106 of file L1MuDTAssignmentUnit.h.

int L1MuDTAssignmentUnit::m_id
private

Definition at line 104 of file L1MuDTAssignmentUnit.h.

PtAssMethod L1MuDTAssignmentUnit::m_ptAssMethod
private

Definition at line 108 of file L1MuDTAssignmentUnit.h.

L1MuDTSectorProcessor& L1MuDTAssignmentUnit::m_sp
private

Definition at line 103 of file L1MuDTAssignmentUnit.h.

std::vector<const L1MuDTTrackSegPhi*> L1MuDTAssignmentUnit::m_TSphi
private

Definition at line 107 of file L1MuDTAssignmentUnit.h.

unsigned short int L1MuDTAssignmentUnit::nbit_phi = 12
staticprivate

of bits used for pt-assignment

Definition at line 112 of file L1MuDTAssignmentUnit.h.

unsigned short int L1MuDTAssignmentUnit::nbit_phib = 10
staticprivate

of bits used for pt-assignment

Definition at line 113 of file L1MuDTAssignmentUnit.h.

edm::ESHandle< L1MuDTPhiLut > L1MuDTAssignmentUnit::thePhiLUTs
private

phi-assignment look-up tables

Definition at line 110 of file L1MuDTAssignmentUnit.h.

edm::ESHandle< L1MuDTPtaLut > L1MuDTAssignmentUnit::thePtaLUTs
private

pt-assignment look-up tables

Definition at line 111 of file L1MuDTAssignmentUnit.h.