#include <L1MuBMExtrapolationUnit.h>
Public Types | |
typedef std::pair< Extrapolation, unsigned int > | SEUId |
typedef std::map< SEUId, L1MuBMSEU *, 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... | |
L1MuBMExtrapolationUnit (const L1MuBMSectorProcessor &) | |
constructor More... | |
int | numberOfExt () const |
return number of successful extrapolations More... | |
void | print (int level=0) const |
print all successful extrapolations More... | |
void | reset () override |
reset Extrapolation Unit More... | |
void | reset (Extrapolation ext, unsigned int startAdr, unsigned int relAdr) |
reset a single extrapolation More... | |
void | run (const edm::EventSetup &c) override |
run Extrapolation Unit More... | |
~L1MuBMExtrapolationUnit () override | |
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 | |
edm::ESHandle< L1TMuonBarrelParams > | bmtfParamsHandle |
SEUmap | m_SEUs |
const L1MuBMSectorProcessor & | m_sp |
L1MuDTTFParameters | pars |
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 54 of file L1MuBMExtrapolationUnit.h.
typedef std::pair<Extrapolation, unsigned int> L1MuBMExtrapolationUnit::SEUId |
Definition at line 58 of file L1MuBMExtrapolationUnit.h.
typedef std::map<SEUId, L1MuBMSEU*, std::less<SEUId> > L1MuBMExtrapolationUnit::SEUmap |
Definition at line 59 of file L1MuBMExtrapolationUnit.h.
L1MuBMExtrapolationUnit::L1MuBMExtrapolationUnit | ( | const L1MuBMSectorProcessor & | sp | ) |
constructor
Definition at line 55 of file L1MuBMExtrapolationUnit.cc.
References gather_cfg::cout, L1MuBMTFConfig::Debug(), EX12, EX13, EX14, EX21, EX23, EX24, EX34, triggerObjects_cff::id, m_SEUs, and MAX_EXT.
|
override |
unsigned short int L1MuBMExtrapolationUnit::getAddress | ( | Extrapolation | ext, |
unsigned int | startAdr, | ||
int | id | ||
) | const |
get extrapolation address from a given ERS
Definition at line 193 of file L1MuBMExtrapolationUnit.cc.
References m_SEUs.
const bitset< 12 > & L1MuBMExtrapolationUnit::getEXTable | ( | Extrapolation | ext, |
unsigned int | startAdr | ||
) | const |
get Extrapolator table for a given SEU
Definition at line 239 of file L1MuBMExtrapolationUnit.cc.
References m_SEUs.
Referenced by run().
const bitset< 12 > & L1MuBMExtrapolationUnit::getQSTable | ( | Extrapolation | ext, |
unsigned int | startAdr | ||
) | const |
get Quality Sorter table for a given SEU
Definition at line 255 of file L1MuBMExtrapolationUnit.cc.
References m_SEUs.
Referenced by L1MuBMTrackAssembler::run().
unsigned short int L1MuBMExtrapolationUnit::getQuality | ( | Extrapolation | ext, |
unsigned int | startAdr, | ||
int | id | ||
) | const |
get extrapolation quality from a given ERS
Definition at line 216 of file L1MuBMExtrapolationUnit.cc.
References m_SEUs, and jets_cff::quality.
int L1MuBMExtrapolationUnit::numberOfExt | ( | ) | const |
return number of successful extrapolations
Definition at line 271 of file L1MuBMExtrapolationUnit.cc.
References m_SEUs.
Referenced by L1MuBMSectorProcessor::run().
void L1MuBMExtrapolationUnit::print | ( | int | level = 0 | ) | const |
print all successful extrapolations
Definition at line 287 of file L1MuBMExtrapolationUnit.cc.
References gather_cfg::cout, L1MuBMSectorProcessor::id(), m_SEUs, and m_sp.
Referenced by L1MuBMSectorProcessor::run().
|
overridevirtual |
reset Extrapolation Unit
Implements L1AbstractProcessor.
Definition at line 165 of file L1MuBMExtrapolationUnit.cc.
References m_SEUs.
Referenced by L1MuBMSectorProcessor::reset(), and run().
void L1MuBMExtrapolationUnit::reset | ( | Extrapolation | ext, |
unsigned int | startAdr, | ||
unsigned int | relAdr | ||
) |
reset a single extrapolation
Definition at line 178 of file L1MuBMExtrapolationUnit.cc.
References m_SEUs.
|
overridevirtual |
run Extrapolation Unit
Reimplemented from L1AbstractProcessor.
Definition at line 102 of file L1MuBMExtrapolationUnit.cc.
References bmtfParamsHandle, gather_cfg::cout, L1MuBMSectorProcessor::data(), L1MuBMTFConfig::Debug(), L1MuBMTrackSegPhi::empty(), EX12, EX21, L1MuBMSEU::ext(), edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), L1MuDTTFParameters::get_soc_run_21(), getEXTable(), L1MuBMDataBuffer::getTSphi(), L1MuBMTFConfig::getUseEX21(), L1MuBMSectorProcessor::id(), L1TMuonBarrelParams::l1mudttfparams, svgfig::load(), m_SEUs, m_sp, pars, edm::ESHandle< T >::product(), reset(), L1AbstractProcessor::run(), L1MuBMSecProcId::sector(), L1MuBMSEU::tsId(), L1MuBMSecProcId::wheel(), and which_ext().
Referenced by L1MuBMSectorProcessor::run().
|
static |
return station of start and target track segment for a given extrapolation
Definition at line 341 of file L1MuBMExtrapolationUnit.cc.
References EX12, EX13, EX14, EX15, EX21, EX23, EX24, EX25, EX34, source, and edmPickEvents::target.
Referenced by L1MuBMSEU::run(), and run().
|
private |
Definition at line 104 of file L1MuBMExtrapolationUnit.h.
Referenced by run().
|
mutableprivate |
Definition at line 101 of file L1MuBMExtrapolationUnit.h.
Referenced by getAddress(), getEXTable(), getQSTable(), getQuality(), L1MuBMExtrapolationUnit(), numberOfExt(), print(), reset(), run(), and ~L1MuBMExtrapolationUnit().
|
private |
Definition at line 99 of file L1MuBMExtrapolationUnit.h.
|
private |
Definition at line 105 of file L1MuBMExtrapolationUnit.h.
Referenced by run().