#include <L1MuDTExtrapolationUnit.h>
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 &, edm::ConsumesCollector) | |
constructor More... | |
int | numberOfExt () const |
return number of successful extrapolations More... | |
void | print (int level=0) const |
print all successful extrapolations More... | |
void | reset () |
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) |
run Extrapolation Unit More... | |
~L1MuDTExtrapolationUnit () | |
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 | |
const edm::ESGetToken< L1MuDTExtLut, L1MuDTExtLutRcd > | m_extLUTsToken |
const edm::ESGetToken< L1MuDTTFParameters, L1MuDTTFParametersRcd > | m_parsToken |
SEUmap | m_SEUs |
const L1MuDTSectorProcessor & | m_sp |
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 L1MuDTExtrapolationUnit.h.
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.
L1MuDTExtrapolationUnit::L1MuDTExtrapolationUnit | ( | const L1MuDTSectorProcessor & | sp, |
edm::ConsumesCollector | iC | ||
) |
constructor
Definition at line 56 of file L1MuDTExtrapolationUnit.cc.
References gather_cfg::cout, L1MuDTTFConfig::Debug(), EX12, EX13, EX14, EX21, EX23, EX24, EX34, triggerObjects_cff::id, m_SEUs, and MAX_EXT.
L1MuDTExtrapolationUnit::~L1MuDTExtrapolationUnit | ( | ) |
unsigned short int L1MuDTExtrapolationUnit::getAddress | ( | Extrapolation | ext, |
unsigned int | startAdr, | ||
int | id | ||
) | const |
get extrapolation address from a given ERS
Definition at line 171 of file L1MuDTExtrapolationUnit.cc.
References m_SEUs.
const bitset< 12 > & L1MuDTExtrapolationUnit::getEXTable | ( | Extrapolation | ext, |
unsigned int | startAdr | ||
) | const |
get Extrapolator table for a given SEU
Definition at line 213 of file L1MuDTExtrapolationUnit.cc.
References m_SEUs.
Referenced by run().
const bitset< 12 > & L1MuDTExtrapolationUnit::getQSTable | ( | Extrapolation | ext, |
unsigned int | startAdr | ||
) | const |
get Quality Sorter table for a given SEU
Definition at line 226 of file L1MuDTExtrapolationUnit.cc.
References m_SEUs.
Referenced by L1MuDTTrackAssembler::run().
unsigned short int L1MuDTExtrapolationUnit::getQuality | ( | Extrapolation | ext, |
unsigned int | startAdr, | ||
int | id | ||
) | const |
get extrapolation quality from a given ERS
Definition at line 192 of file L1MuDTExtrapolationUnit.cc.
References m_SEUs, and quality.
int L1MuDTExtrapolationUnit::numberOfExt | ( | ) | const |
return number of successful extrapolations
Definition at line 239 of file L1MuDTExtrapolationUnit.cc.
References m_SEUs, and contentValuesFiles::number.
Referenced by L1MuDTSectorProcessor::run().
void L1MuDTExtrapolationUnit::print | ( | int | level = 0 | ) | const |
print all successful extrapolations
Definition at line 252 of file L1MuDTExtrapolationUnit.cc.
References gather_cfg::cout, L1MuDTSectorProcessor::id(), personalPlayback::level, m_SEUs, and m_sp.
Referenced by L1MuDTSectorProcessor::run().
void L1MuDTExtrapolationUnit::reset | ( | void | ) |
reset Extrapolation Unit
Definition at line 148 of file L1MuDTExtrapolationUnit.cc.
References m_SEUs.
Referenced by L1MuDTSectorProcessor::reset(), and run().
void L1MuDTExtrapolationUnit::reset | ( | Extrapolation | ext, |
unsigned int | startAdr, | ||
unsigned int | relAdr | ||
) |
reset a single extrapolation
Definition at line 158 of file L1MuDTExtrapolationUnit.cc.
References m_SEUs.
void L1MuDTExtrapolationUnit::run | ( | const edm::EventSetup & | c | ) |
run Extrapolation Unit
Definition at line 96 of file L1MuDTExtrapolationUnit.cc.
References c, L1MuDTTrackFinder::config(), gather_cfg::cout, L1MuDTSectorProcessor::data(), L1MuDTTFConfig::Debug(), L1MuDTTrackSegPhi::empty(), EX12, EX21, L1MuDTSEU::ext(), getEXTable(), L1MuDTDataBuffer::getTSphi(), L1MuDTTFConfig::getUseEX21(), L1MuDTSectorProcessor::id(), svgfig::load(), m_extLUTsToken, m_parsToken, m_SEUs, m_sp, reset(), L1MuDTSecProcId::sector(), L1MuDTSectorProcessor::tf(), L1MuDTSEU::tsId(), L1MuDTSecProcId::wheel(), and which_ext().
Referenced by L1MuDTSectorProcessor::run().
|
static |
return station of start and target track segment for a given extrapolation
Definition at line 296 of file L1MuDTExtrapolationUnit.cc.
References EX12, EX13, EX14, EX15, EX21, EX23, EX24, EX25, EX34, source, and filterCSVwithJSON::target.
Referenced by L1MuDTSEU::run(), and run().
|
private |
Definition at line 101 of file L1MuDTExtrapolationUnit.h.
Referenced by run().
|
private |
Definition at line 100 of file L1MuDTExtrapolationUnit.h.
Referenced by run().
|
private |
Definition at line 98 of file L1MuDTExtrapolationUnit.h.
Referenced by getAddress(), getEXTable(), getQSTable(), getQuality(), L1MuDTExtrapolationUnit(), numberOfExt(), print(), reset(), run(), and ~L1MuDTExtrapolationUnit().
|
private |
Definition at line 96 of file L1MuDTExtrapolationUnit.h.