#include <L1MuDTEUX.h>
Classes | |
class | EUX_Comp |
helper class for finding the best and second best extrapolation More... | |
Public Member Functions | |
unsigned short int | address () const |
return extrapolation address (0-11) (address = 15 indicates negative ext. result) More... | |
int | id () const |
return Extrapolation identifier More... | |
L1MuDTEUX (const L1MuDTSectorProcessor &sp, const L1MuDTSEU &seu, int id) | |
constructor More... | |
void | load (const L1MuDTTrackSegPhi *start_ts, const L1MuDTTrackSegPhi *target_ts) |
load data into EUX More... | |
bool | operator== (const L1MuDTEUX &) const |
equal operator More... | |
unsigned int | quality () const |
return extrapolation quality More... | |
virtual void | reset () |
reset Extrapolator More... | |
bool | result () const |
return extrapolation result More... | |
virtual void | run (const edm::EventSetup &c) |
run Extrapolator More... | |
std::pair< const L1MuDTTrackSegPhi *, const L1MuDTTrackSegPhi * > | ts () const |
return pointer to start and target track segment More... | |
virtual | ~L1MuDTEUX () |
destructor More... | |
Public Member Functions inherited from L1AbstractProcessor | |
virtual void | run () |
run processor logic More... | |
virtual | ~L1AbstractProcessor () |
destructor More... | |
Static Public Member Functions | |
static void | setPrecision () |
set precision of phi and phib More... | |
Private Member Functions | |
int | sec_mod (int) const |
output sector numbers in the range -6 to +5 More... | |
Private Attributes | |
unsigned short int | m_address |
int | m_id |
unsigned short int | m_quality |
bool | m_result |
const L1MuDTSEU & | m_seu |
const L1MuDTSectorProcessor & | m_sp |
const L1MuDTTrackSegPhi * | m_start |
const L1MuDTTrackSegPhi * | m_target |
edm::ESHandle< L1MuDTTFParameters > | pars |
edm::ESHandle< L1MuDTExtLut > | theExtLUTs |
Static Private Attributes | |
static unsigned short | nbit_phi = 12 |
static unsigned short | nbit_phib = 10 |
static int | theExtFilter = 1 |
Extrapolator:
The Extrapolator receives a start and a target track segment and performs the actual extrapolation
N. Neumeister CERN EP
Definition at line 50 of file L1MuDTEUX.h.
L1MuDTEUX::L1MuDTEUX | ( | const L1MuDTSectorProcessor & | sp, |
const L1MuDTSEU & | seu, | ||
int | id | ||
) |
constructor
Definition at line 52 of file L1MuDTEUX.cc.
References setPrecision().
|
virtual |
|
inline |
return extrapolation address (0-11) (address = 15 indicates negative ext. result)
Definition at line 102 of file L1MuDTEUX.h.
References m_address.
Referenced by operator==().
|
inline |
return Extrapolation identifier
Definition at line 93 of file L1MuDTEUX.h.
References m_id.
Referenced by operator==().
void L1MuDTEUX::load | ( | const L1MuDTTrackSegPhi * | start_ts, |
const L1MuDTTrackSegPhi * | target_ts | ||
) |
load data into EUX
Definition at line 192 of file L1MuDTEUX.cc.
References EX21, EX34, L1MuDTSEU::ext(), m_seu, m_start, and m_target.
bool L1MuDTEUX::operator== | ( | const L1MuDTEUX & | eux | ) | const |
equal operator
Definition at line 76 of file L1MuDTEUX.cc.
References address(), id(), m_address, m_id, m_quality, m_result, quality(), and result().
|
inline |
return extrapolation quality
Definition at line 99 of file L1MuDTEUX.h.
References m_quality.
Referenced by L1MuDTEUX::EUX_Comp::operator()(), and operator==().
|
virtual |
reset Extrapolator
Implements L1AbstractProcessor.
Definition at line 211 of file L1MuDTEUX.cc.
References m_address, m_quality, m_result, m_start, and m_target.
|
inline |
return extrapolation result
Definition at line 96 of file L1MuDTEUX.h.
References m_result.
Referenced by L1MuDTEUX::EUX_Comp::operator()(), and operator==().
|
virtual |
run Extrapolator
Reimplemented from L1AbstractProcessor.
Definition at line 90 of file L1MuDTEUX.cc.
References abs, gather_cfg::cout, L1MuDTTFConfig::Debug(), diffTreeTool::diff, EX12, EX13, EX14, EX15, EX21, EX23, EX24, EX25, EX34, L1MuDTSEU::ext(), edm::EventSetup::get(), L1MuDTTFConfig::getopenLUTs(), L1MuDTSectorProcessor::id(), m_address, m_id, m_quality, m_result, m_seu, m_sp, m_start, m_target, nbit_phi, nbit_phib, evf::evtn::offset(), pars, L1MuDTTrackSegPhi::phi(), L1MuDTTrackSegPhi::phib(), L1MuDTTrackSegPhi::quality(), sec_mod(), L1MuDTSecProcId::sector(), L1MuDTTrackSegPhi::sector(), theExtLUTs, L1MuDTSecProcId::wheel(), and L1MuDTTrackSegPhi::wheel().
|
private |
output sector numbers in the range -6 to +5
Definition at line 237 of file L1MuDTEUX.cc.
Referenced by run().
|
static |
set precision of phi and phib
Definition at line 254 of file L1MuDTEUX.cc.
References L1MuDTTFConfig::getExtTSFilter(), L1MuDTTFConfig::getNbitsExtPhi(), L1MuDTTFConfig::getNbitsExtPhib(), nbit_phi, nbit_phib, and theExtFilter.
Referenced by L1MuDTEUX().
pair< const L1MuDTTrackSegPhi *,const L1MuDTTrackSegPhi * > L1MuDTEUX::ts | ( | ) | const |
return pointer to start and target track segment
Definition at line 226 of file L1MuDTEUX.cc.
References m_start, and m_target.
|
private |
Definition at line 117 of file L1MuDTEUX.h.
Referenced by address(), operator==(), reset(), and run().
|
private |
Definition at line 113 of file L1MuDTEUX.h.
Referenced by id(), operator==(), and run().
|
private |
Definition at line 116 of file L1MuDTEUX.h.
Referenced by operator==(), quality(), reset(), and run().
|
private |
Definition at line 115 of file L1MuDTEUX.h.
Referenced by operator==(), reset(), result(), and run().
|
private |
Definition at line 112 of file L1MuDTEUX.h.
|
private |
Definition at line 111 of file L1MuDTEUX.h.
Referenced by run().
|
private |
|
private |
|
staticprivate |
Definition at line 124 of file L1MuDTEUX.h.
Referenced by run(), and setPrecision().
|
staticprivate |
Definition at line 125 of file L1MuDTEUX.h.
Referenced by run(), and setPrecision().
|
private |
Definition at line 127 of file L1MuDTEUX.h.
Referenced by run().
|
staticprivate |
Definition at line 123 of file L1MuDTEUX.h.
Referenced by setPrecision().
|
private |
Definition at line 122 of file L1MuDTEUX.h.
Referenced by run().