#include <L1MuDTAssignmentUnit.h>
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... | |
void | reset () override |
reset Assignment Unit More... | |
void | run (const edm::EventSetup &c) override |
run Assignment Unit More... | |
void | setPrecision () |
set precision of phi and phib More... | |
~L1MuDTAssignmentUnit () 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 | convertSector (int) |
convert sector Id to 8 bit code (= sector center) More... | |
int | getCharge (PtAssMethod) |
determine charge More... | |
int | getPtAddress (PtAssMethod, int bendcharge=0) const |
calculate bend angle More... | |
PtAssMethod | getPtMethod () const |
determine pt assignment method More... | |
const L1MuDTTrackSegPhi * | getTSphi (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... | |
Private Attributes | |
L1MuDTAddressArray | m_addArray |
int | m_id |
PtAssMethod | m_ptAssMethod |
L1MuDTSectorProcessor & | m_sp |
std::vector< const L1MuDTTrackSegPhi * > | m_TSphi |
unsigned short | nbit_phi |
unsigned short | nbit_phib |
edm::ESHandle< L1MuDTPhiLut > | thePhiLUTs |
phi-assignment look-up tables More... | |
edm::ESHandle< L1MuDTPtaLut > | thePtaLUTs |
pt-assignment look-up tables More... | |
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.
L1MuDTAssignmentUnit::L1MuDTAssignmentUnit | ( | L1MuDTSectorProcessor & | sp, |
int | id | ||
) |
constructor
Definition at line 57 of file L1MuDTAssignmentUnit.cc.
References m_TSphi, reset(), and setPrecision().
|
override |
|
private |
convert sector Id to 8 bit code (= sector center)
Definition at line 327 of file L1MuDTAssignmentUnit.cc.
Referenced by PhiAU().
|
private |
determine charge
Definition at line 337 of file L1MuDTAssignmentUnit.cc.
References AlcaSiPixelAliHarvester0T_cff::method, NODEF, PT12H, PT12HO, PT12L, PT12LO, PT13H, PT13HO, PT13L, PT13LO, PT14H, PT14HO, PT14L, PT14LO, PT15HO, PT15LO, PT23H, PT23HO, PT23L, PT23LO, PT24H, PT24HO, PT24L, PT24LO, PT25HO, PT25LO, PT34H, PT34HO, PT34L, and PT34LO.
Referenced by PtAU().
|
private |
calculate bend angle
Definition at line 586 of file L1MuDTAssignmentUnit.cc.
References AlcaSiPixelAliHarvester0T_cff::method, NODEF, phiDiff(), PT12H, PT12HO, PT12L, PT12LO, PT13H, PT13HO, PT13L, PT13LO, PT14H, PT14HO, PT14L, PT14LO, PT15HO, PT15LO, PT23H, PT23HO, PT23L, PT23LO, PT24H, PT24HO, PT24L, PT24LO, PT25HO, PT25LO, PT34H, PT34HO, PT34L, and PT34LO.
Referenced by PtAU().
|
private |
determine pt assignment method
Definition at line 466 of file L1MuDTAssignmentUnit.cc.
References funct::abs(), L1MuDTPtaLut::getPtLutThreshold(), getTSphi(), m_addArray, m_id, m_sp, AlcaSiPixelAliHarvester0T_cff::method, NODEF, L1MuDTSectorProcessor::ovl(), L1MuDTTrackSegPhi::phib(), PT12H, PT12HO, PT12L, PT12LO, PT13H, PT13HO, PT13L, PT13LO, PT14H, PT14HO, PT14L, PT14LO, PT15HO, PT15LO, PT23H, PT23HO, PT23L, PT23LO, PT24H, PT24HO, PT24L, PT24LO, PT25HO, PT25LO, PT34H, PT34HO, PT34L, PT34LO, alignCSCRings::s, L1MuDTAddressArray::station(), L1MuDTSectorProcessor::TA(), thePtaLUTs, remoteMonitoring_LED_IterMethod_cfg::threshold, and L1MuDTTrackAssembler::trackBitMap().
Referenced by PtAU().
|
private |
get track segment from a given station
Definition at line 311 of file L1MuDTAssignmentUnit.cc.
References m_TSphi, hgcalPlots::stat, and relativeConstraints::station.
Referenced by getPtMethod(), PhiAU(), and phiDiff().
void L1MuDTAssignmentUnit::PhiAU | ( | const edm::EventSetup & | c | ) |
assign phi
Definition at line 133 of file L1MuDTAssignmentUnit.cc.
References HltBtagPostValidation_cff::c, L1MuDTTrackFinder::config(), convertSector(), dqmdumpme::first, get, L1MuDTPhiLut::getDeltaPhi(), L1MuDTTFConfig::getNbitsPhiPhi(), L1MuDTTFConfig::getNbitsPhiPhib(), getTSphi(), L1MuDTSectorProcessor::id(), dqmdumpme::k, m_id, m_sp, phi, L1MuDTTrackSegPhi::phi(), L1MuDTTrackSegPhi::phib(), edm::second(), L1MuDTSecProcId::sector(), L1MuDTTrackSegPhi::sector(), L1MuDTTrack::setPhi(), L1MuDTSectorProcessor::tf(), thePhiLUTs, L1MuDTSectorProcessor::track(), and L1MuDTSectorProcessor::tracK().
Referenced by run().
|
private |
build difference of two phi values
Definition at line 730 of file L1MuDTAssignmentUnit.cc.
References getTSphi(), nbit_phi, hltrates_dqm_sourceclient-live_cfg::offset, L1MuDTTrackSegPhi::phi(), L1MuDTTrackSegPhi::sector(), hgcalTopologyTester_cfi::sector1, and hgcalTopologyTester_cfi::sector2.
Referenced by getPtAddress().
void L1MuDTAssignmentUnit::PtAU | ( | const edm::EventSetup & | c | ) |
assign pt and charge
Definition at line 205 of file L1MuDTAssignmentUnit.cc.
References HltBtagPostValidation_cff::c, ALCARECOTkAlJpsiMuMu_cff::charge, get, getCharge(), L1MuDTPtaLut::getPt(), getPtAddress(), getPtMethod(), m_id, m_ptAssMethod, m_sp, DiDispStaMuonMonitor_cfi::pt, L1MuDTTrack::setCharge(), L1MuDTTrack::setPt(), thePtaLUTs, L1MuDTSectorProcessor::track(), and L1MuDTSectorProcessor::tracK().
Referenced by run().
void L1MuDTAssignmentUnit::QuaAU | ( | ) |
assign quality
Definition at line 232 of file L1MuDTAssignmentUnit.cc.
References m_id, m_sp, qcdUeDQM_cfi::quality, L1MuDTTrack::setQuality(), T12, T123, T1234, T124, T13, T134, T14, T23, T234, T24, T34, L1MuDTSectorProcessor::TA(), L1MuDTSectorProcessor::track(), L1MuDTSectorProcessor::tracK(), and L1MuDTTrackAssembler::trackClass().
Referenced by run().
|
overridevirtual |
reset Assignment Unit
Implements L1AbstractProcessor.
Definition at line 124 of file L1MuDTAssignmentUnit.cc.
References m_addArray, m_ptAssMethod, m_TSphi, NODEF, and L1MuDTAddressArray::reset().
Referenced by L1MuDTAssignmentUnit().
|
overridevirtual |
run Assignment Unit
Reimplemented from L1AbstractProcessor.
Definition at line 78 of file L1MuDTAssignmentUnit.cc.
References L1MuDTTrackAssembler::address(), l1GtPatternGenerator_cfi::bx, HltBtagPostValidation_cff::c, L1MuDTTrack::enable(), m_addArray, m_id, m_sp, m_TSphi, PhiAU(), PtAU(), QuaAU(), L1MuDTTrack::setAddresses(), L1MuRegionalCand::setBx(), L1MuDTTrack::setTC(), L1MuDTTrack::setTSphi(), L1MuDTSectorProcessor::TA(), L1MuDTSectorProcessor::track(), L1MuDTSectorProcessor::tracK(), L1MuDTTrackAssembler::trackClass(), and TSR().
void L1MuDTAssignmentUnit::setPrecision | ( | ) |
set precision of phi and phib
Definition at line 761 of file L1MuDTAssignmentUnit.cc.
References L1MuDTTrackFinder::config(), L1MuDTTFConfig::getNbitsPtaPhi(), L1MuDTTFConfig::getNbitsPtaPhib(), m_sp, nbit_phi, nbit_phib, and L1MuDTSectorProcessor::tf().
Referenced by L1MuDTAssignmentUnit().
|
private |
Track Segment Router.
Definition at line 295 of file L1MuDTAssignmentUnit.cc.
References L1MuDTSectorProcessor::data(), L1MuDTDataBuffer::getTSphi(), m_addArray, m_sp, m_TSphi, hgcalPlots::stat, and L1MuDTAddressArray::station().
Referenced by run().
|
private |
Definition at line 102 of file L1MuDTAssignmentUnit.h.
Referenced by getPtMethod(), reset(), run(), and TSR().
|
private |
Definition at line 100 of file L1MuDTAssignmentUnit.h.
Referenced by getPtMethod(), PhiAU(), PtAU(), QuaAU(), and run().
|
private |
Definition at line 104 of file L1MuDTAssignmentUnit.h.
|
private |
Definition at line 99 of file L1MuDTAssignmentUnit.h.
Referenced by getPtMethod(), PhiAU(), PtAU(), QuaAU(), run(), setPrecision(), and TSR().
|
private |
Definition at line 103 of file L1MuDTAssignmentUnit.h.
Referenced by getTSphi(), L1MuDTAssignmentUnit(), reset(), run(), and TSR().
|
private |
Definition at line 108 of file L1MuDTAssignmentUnit.h.
Referenced by phiDiff(), and setPrecision().
|
private |
Definition at line 109 of file L1MuDTAssignmentUnit.h.
Referenced by setPrecision().
|
private |
phi-assignment look-up tables
Definition at line 106 of file L1MuDTAssignmentUnit.h.
Referenced by PhiAU().
|
private |
pt-assignment look-up tables
Definition at line 107 of file L1MuDTAssignmentUnit.h.
Referenced by getPtMethod(), and PtAU().