#include <L1MuBMEUX.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... | |
L1MuBMEUX (const L1MuBMSectorProcessor &sp, const L1MuBMSEU &seu, int id) | |
constructor More... | |
void | load (const L1MuBMTrackSegPhi *start_ts, const L1MuBMTrackSegPhi *target_ts) |
load data into EUX More... | |
bool | operator== (const L1MuBMEUX &) const |
equal operator More... | |
unsigned int | quality () const |
return extrapolation quality More... | |
void | reset () override |
reset Extrapolator More... | |
bool | result () const |
return extrapolation result More... | |
void | run (const edm::EventSetup &c) override |
run Extrapolator More... | |
std::pair< const L1MuBMTrackSegPhi *, const L1MuBMTrackSegPhi * > | ts () const |
return pointer to start and target track segment More... | |
~L1MuBMEUX () 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... | |
Private Member Functions | |
int | sec_mod (int) const |
output sector numbers in the range -6 to +5 More... | |
Private Attributes | |
edm::ESHandle< L1TMuonBarrelParams > | bmtfParamsHandle |
unsigned short int | m_address |
int | m_id |
unsigned short int | m_quality |
bool | m_result |
const L1MuBMSEU & | m_seu |
const L1MuBMSectorProcessor & | m_sp |
const L1MuBMTrackSegPhi * | m_start |
const L1MuBMTrackSegPhi * | m_target |
unsigned short const | nbit_phi = 12 |
unsigned short const | nbit_phib = 10 |
L1MuDTTFParameters | pars |
int const | theExtFilter = 1 |
L1MuBMLUTHandler * | theExtLUTs |
Extrapolator:
The Extrapolator receives a start and a target track segment and performs the actual extrapolation
N. Neumeister CERN EP
Definition at line 52 of file L1MuBMEUX.h.
L1MuBMEUX::L1MuBMEUX | ( | const L1MuBMSectorProcessor & | sp, |
const L1MuBMSEU & | seu, | ||
int | id | ||
) |
|
override |
|
inline |
return extrapolation address (0-11) (address = 15 indicates negative ext. result)
Definition at line 101 of file L1MuBMEUX.h.
References m_address, and sec_mod().
Referenced by operator==().
|
inline |
return Extrapolation identifier
Definition at line 92 of file L1MuBMEUX.h.
References m_id.
Referenced by operator==().
void L1MuBMEUX::load | ( | const L1MuBMTrackSegPhi * | start_ts, |
const L1MuBMTrackSegPhi * | target_ts | ||
) |
load data into EUX
Definition at line 207 of file L1MuBMEUX.cc.
References EX21, EX34, L1MuBMSEU::ext(), m_seu, m_start, and m_target.
bool L1MuBMEUX::operator== | ( | const L1MuBMEUX & | eux | ) | const |
equal operator
Definition at line 75 of file L1MuBMEUX.cc.
References address(), id(), m_address, m_id, m_quality, m_result, quality(), and result().
|
inline |
return extrapolation quality
Definition at line 98 of file L1MuBMEUX.h.
References m_quality.
Referenced by L1MuBMEUX::EUX_Comp::operator()(), and operator==().
|
overridevirtual |
reset Extrapolator
Implements L1AbstractProcessor.
Definition at line 226 of file L1MuBMEUX.cc.
References m_address, m_quality, m_result, m_start, and m_target.
|
inline |
return extrapolation result
Definition at line 95 of file L1MuBMEUX.h.
References m_result.
Referenced by L1MuBMEUX::EUX_Comp::operator()(), and operator==().
|
overridevirtual |
run Extrapolator
< ext look-up tables
Reimplemented from L1AbstractProcessor.
Definition at line 89 of file L1MuBMEUX.cc.
References funct::abs(), bmtfParamsHandle, gather_cfg::cout, L1MuBMTFConfig::Debug(), mps_update::diff, EX12, EX13, EX14, EX15, EX21, EX23, EX24, EX25, EX34, L1MuBMSEU::ext(), edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), L1MuDTTFParameters::get_soc_openlut_extr(), L1MuDTTFParameters::get_soc_qcut_st1(), L1MuDTTFParameters::get_soc_qcut_st2(), L1MuDTTFParameters::get_soc_qcut_st4(), L1MuBMLUTHandler::getHigh(), L1MuBMLUTHandler::getLow(), L1MuBMTFConfig::getopenLUTs(), L1MuBMSectorProcessor::id(), L1TMuonBarrelParams::l1mudttfparams, m_address, m_id, m_quality, m_result, m_seu, m_sp, m_start, m_target, nbit_phi, nbit_phib, PFRecoTauDiscriminationByIsolation_cfi::offset, pars, L1MuBMTrackSegPhi::phi(), L1MuBMTrackSegPhi::phib(), edm::ESHandle< T >::product(), L1MuBMTrackSegPhi::quality(), sec_mod(), L1MuBMSecProcId::sector(), L1MuBMTrackSegPhi::sector(), theExtLUTs, L1MuBMSecProcId::wheel(), and L1MuBMTrackSegPhi::wheel().
|
private |
output sector numbers in the range -6 to +5
Definition at line 252 of file L1MuBMEUX.cc.
pair< const L1MuBMTrackSegPhi *,const L1MuBMTrackSegPhi * > L1MuBMEUX::ts | ( | ) | const |
return pointer to start and target track segment
Definition at line 241 of file L1MuBMEUX.cc.
References m_start, and m_target.
|
private |
Definition at line 121 of file L1MuBMEUX.h.
Referenced by run().
|
private |
Definition at line 116 of file L1MuBMEUX.h.
Referenced by address(), operator==(), reset(), and run().
|
private |
Definition at line 112 of file L1MuBMEUX.h.
Referenced by id(), operator==(), and run().
|
private |
Definition at line 115 of file L1MuBMEUX.h.
Referenced by operator==(), quality(), reset(), and run().
|
private |
Definition at line 114 of file L1MuBMEUX.h.
Referenced by operator==(), reset(), result(), and run().
|
private |
Definition at line 111 of file L1MuBMEUX.h.
|
private |
Definition at line 110 of file L1MuBMEUX.h.
Referenced by run().
|
private |
|
private |
|
private |
Definition at line 126 of file L1MuBMEUX.h.
Referenced by run().
|
private |
Definition at line 127 of file L1MuBMEUX.h.
Referenced by run().
|
private |
Definition at line 130 of file L1MuBMEUX.h.
Referenced by run().
|
private |
Definition at line 125 of file L1MuBMEUX.h.
|
private |
Definition at line 124 of file L1MuBMEUX.h.
Referenced by run().