#include <L1Track.h>
Public Member Functions | |
unsigned | addressEta (void) const |
bool | bc0 (void) const |
int | BX () const |
bool | bx0 (void) const |
unsigned | cscid () const |
unsigned | deltaPhi12 (void) const |
unsigned | deltaPhi23 (void) const |
unsigned | endcap () const |
unsigned | front_rear () const |
L1Track () | |
L1Track (const csc::L1Track &) | |
L1Track (const csc::L1TrackId &) | |
unsigned | localPhi () const |
unsigned | mb1ID () const |
unsigned | mb1Tbin (void) const |
unsigned | me1ID () const |
unsigned | me1Tbin (void) const |
unsigned | me2ID () const |
unsigned | me2Tbin (void) const |
unsigned | me3ID () const |
unsigned | me3Tbin (void) const |
unsigned | me4ID () const |
unsigned | me4Tbin (void) const |
unsigned | mode (void) const |
unsigned | modeExtended (void) const |
bool | operator!= (const csc::L1Track &) const |
bool | operator< (const csc::L1Track &) const |
bool | operator<= (const csc::L1Track &) const |
const csc::L1Track & | operator= (const csc::L1Track &) |
bool | operator== (const csc::L1Track &) const |
bool | operator> (const csc::L1Track &) const |
bool | operator>= (const csc::L1Track &) const |
unsigned | outputLink () const |
void | Print () const |
unsigned | ptLUTAddress () const |
unsigned | rank () const |
unsigned | sector () const |
void | set_front_rear (unsigned fr) |
void | setBits (unsigned se, unsigned bx0, unsigned bc0) |
void | setLocalPhi (const unsigned &lphi) |
void | setOutputLink (unsigned oPL) |
void | setPtLUTAddress (const unsigned &adr) |
void | setRank (const unsigned &rank) |
void | setStationIds (const unsigned &me1, const unsigned &me2, const unsigned &me3, const unsigned &me4, const unsigned &mb1) |
void | setTbins (unsigned me1, unsigned me2, unsigned me3, unsigned me4, unsigned mb) |
bool | sign (void) const |
unsigned | station () const |
unsigned | subsector () const |
bool | synch_err (void) const |
bool | winner () const |
~L1Track () override | |
Public Member Functions inherited from L1MuRegionalCand | |
int | bx () const |
return bunch crossing identifier More... | |
unsigned | charge_packed () const |
return charge packed as in hardware (0=pos, 1=neg) More... | |
unsigned | charge_valid_packed () const |
return charge valid packed as in hardware (1=valid, 0=not valid) More... | |
bool | chargeValid () const |
is the charge valid ? More... | |
int | chargeValue () const |
get charge More... | |
virtual bool | empty () const |
return empty flag More... | |
unsigned | eta_packed () const |
return eta packed as in hardware More... | |
float | etaValue () const |
get eta-value of muon candidate More... | |
unsigned | finehalo_packed () const |
return eta-fine (for DT) / halo (for CSC) bit More... | |
unsigned | getDataWord () const |
return data word More... | |
bool | isFineHalo () const |
is it fine (DT) / halo (CSC) ? More... | |
L1MuRegionalCand (unsigned dataword=0, int bx=0) | |
constructor from data word More... | |
L1MuRegionalCand (unsigned type_idx, unsigned phi, unsigned eta, unsigned pt, unsigned charge, unsigned ch_valid, unsigned finehalo, unsigned quality, int bx) | |
constructor from packed members More... | |
unsigned | phi_packed () const |
return phi packed as in hardware More... | |
float | phiValue () const |
get phi-value of muon candidate in radians (low edge of bin) More... | |
virtual void | print () const |
print candidate More... | |
unsigned | pt_packed () const |
return pt packed as in hardware More... | |
float | ptValue () const |
get pt-value of muon candidate in GeV More... | |
unsigned int | quality () const |
return quality More... | |
unsigned int | quality_packed () const |
return quality packed as in hardware More... | |
virtual void | reset () |
reset More... | |
void | setBx (int bx) |
Set Bunch Crossing. More... | |
void | setChargePacked (unsigned ch) |
Set Charge (0=pos, 1=neg) More... | |
void | setChargeValid (bool valid) |
Set Charge Valid. More... | |
void | setChargeValidPacked (unsigned valid) |
Set Charge Valid. More... | |
void | setChargeValue (int charge) |
Set Charge Value: -1, 1. More... | |
void | setDataWord (unsigned dataword) |
Set data word. More... | |
void | setEtaPacked (unsigned eta) |
Set Eta: 6-bit code. More... | |
void | setEtaValue (float etaVal) |
Set Eta Value (need to set type, first) More... | |
void | setFineHalo (bool fh) |
Set Fine / Halo. More... | |
void | setFineHaloPacked (unsigned fh) |
Set Fine / Halo. More... | |
void | setPhiPacked (unsigned phi) |
Set Phi: 0..143. More... | |
void | setPhiValue (float phiVal) |
Set Phi Value. More... | |
void | setPtPacked (unsigned pt) |
Set Pt: 0..31. More... | |
void | setPtValue (float ptVal) |
Set Pt Value. More... | |
void | setQualityPacked (unsigned qual) |
Set Quality: 0..7. More... | |
void | setType (unsigned type) |
Set Type: 0 DT, 1 bRPC, 2 CSC, 3 fRPC. More... | |
unsigned | type_idx () const |
return type: 0 DT, 1 bRPC, 2 CSC, 3 fRPC More... | |
virtual | ~L1MuRegionalCand () |
destructor More... | |
Static Public Member Functions | |
static void | decodeRank (const unsigned &rank, unsigned &pt, unsigned &quality) |
static unsigned | encodeRank (const unsigned &pt, const unsigned &quality) |
Private Attributes | |
bool | m_bc0 |
bool | m_bx0 |
bool | m_empty |
unsigned | m_endcap |
unsigned | m_fr |
unsigned | m_lphi |
unsigned | m_mbTbin |
unsigned | m_me1Tbin |
unsigned | m_me2Tbin |
unsigned | m_me3Tbin |
unsigned | m_me4Tbin |
std::string | m_name |
unsigned | m_output_link |
unsigned | m_ptAddress |
unsigned | m_rank |
bool | m_se |
unsigned | m_sector |
bool | m_winner |
unsigned | mb1_id |
unsigned | me1_id |
unsigned | me2_id |
unsigned | me3_id |
unsigned | me4_id |
Friends | |
class | ::CSCTFSPCoreLogic |
class | ::CSCTFUnpacker |
class | CSCTFSectorProcessor |
Additional Inherited Members | |
Public Types inherited from L1MuRegionalCand | |
enum | { PHI_START = 0 } |
enum | { PHI_LENGTH = 8 } |
enum | { PT_START = 8 } |
enum | { PT_LENGTH = 5 } |
enum | { QUAL_START = 13 } |
enum | { QUAL_LENGTH = 3 } |
enum | { ETA_START = 16 } |
enum | { ETA_LENGTH = 6 } |
enum | { FINEHALO_START = 22 } |
enum | { FINEHALO_LENGTH = 1 } |
enum | { CHARGE_START = 23 } |
enum | { CHARGE_LENGTH = 1 } |
enum | { CHVALID_START = 24 } |
enum | { CHVALID_LENGTH = 1 } |
enum | { TYPE_START = 30 } |
enum | { TYPE_LENGTH = 2 } |
|
inline |
Definition at line 23 of file L1Track.h.
References L1MuRegionalCand::setPtPacked(), and L1MuRegionalCand::setType().
L1Track::L1Track | ( | const csc::L1TrackId & | id | ) |
Definition at line 6 of file L1Track.cc.
References m_bc0, m_bx0, m_empty, m_endcap, m_fr, m_lphi, m_mbTbin, m_me1Tbin, m_me2Tbin, m_me3Tbin, m_me4Tbin, m_output_link, m_ptAddress, m_rank, m_se, m_sector, m_winner, mb1_id, me1_id, me2_id, me3_id, me4_id, L1MuRegionalCand::setPtPacked(), and L1MuRegionalCand::setType().
L1Track::L1Track | ( | const csc::L1Track & | rhs | ) |
Definition at line 33 of file L1Track.cc.
References L1MuRegionalCand::bx(), L1MuRegionalCand::charge_packed(), L1MuRegionalCand::charge_valid_packed(), L1MuRegionalCand::eta_packed(), L1MuRegionalCand::finehalo_packed(), L1MuRegionalCand::getDataWord(), m_bc0, m_bx0, m_empty, m_endcap, m_fr, m_lphi, m_mbTbin, m_me1Tbin, m_me2Tbin, m_me3Tbin, m_me4Tbin, m_name, m_output_link, m_ptAddress, m_rank, m_se, m_sector, m_winner, mb1_id, me1_id, me2_id, me3_id, me4_id, L1MuRegionalCand::phi_packed(), L1MuRegionalCand::pt_packed(), L1MuRegionalCand::quality_packed(), L1MuRegionalCand::setBx(), L1MuRegionalCand::setChargePacked(), L1MuRegionalCand::setChargeValidPacked(), L1MuRegionalCand::setDataWord(), L1MuRegionalCand::setEtaPacked(), L1MuRegionalCand::setFineHaloPacked(), L1MuRegionalCand::setPhiPacked(), L1MuRegionalCand::setPtPacked(), L1MuRegionalCand::setQualityPacked(), L1MuRegionalCand::setType(), and L1MuRegionalCand::type_idx().
|
override |
Definition at line 79 of file L1Track.cc.
|
inline |
|
inline |
|
inline |
Definition at line 53 of file L1Track.h.
References L1MuRegionalCand::bx().
Referenced by CSCTFanalyzer::analyze(), and Print().
|
inline |
|
inline |
|
static |
Definition at line 137 of file L1Track.cc.
References DiDispStaMuonMonitor_cfi::pt, L1MuRegionalCand::PT_LENGTH, L1MuRegionalCand::quality(), and rank().
|
inline |
|
inline |
|
static |
Definition at line 131 of file L1Track.cc.
References DiDispStaMuonMonitor_cfi::pt, L1MuRegionalCand::PT_LENGTH, and L1MuRegionalCand::quality().
|
inline |
Definition at line 46 of file L1Track.h.
References m_endcap.
Referenced by CSCTFanalyzer::analyze(), geometryXMLparser.CSCAlignable::index(), and Print().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 90 of file L1Track.h.
References m_ptAddress.
Referenced by CSCTFanalyzer::analyze(), and modeExtended().
unsigned L1Track::modeExtended | ( | void | ) | const |
Definition at line 188 of file L1Track.cc.
References m_ptAddress, mode(), and testProducerWithPsetDescEmpty_cfi::x1.
bool L1Track::operator!= | ( | const csc::L1Track & | rhs | ) | const |
Definition at line 157 of file L1Track.cc.
References rank().
bool L1Track::operator< | ( | const csc::L1Track & | rhs | ) | const |
bool L1Track::operator<= | ( | const csc::L1Track & | rhs | ) | const |
Definition at line 153 of file L1Track.cc.
References rank().
const csc::L1Track & L1Track::operator= | ( | const csc::L1Track & | rhs | ) |
Definition at line 81 of file L1Track.cc.
References L1MuRegionalCand::bx(), L1MuRegionalCand::charge_packed(), L1MuRegionalCand::charge_valid_packed(), L1MuRegionalCand::eta_packed(), L1MuRegionalCand::finehalo_packed(), L1MuRegionalCand::getDataWord(), m_bc0, m_bx0, m_empty, m_endcap, m_fr, m_lphi, m_mbTbin, m_me1Tbin, m_me2Tbin, m_me3Tbin, m_me4Tbin, m_name, m_output_link, m_ptAddress, m_rank, m_se, m_sector, m_winner, mb1_id, me1_id, me2_id, me3_id, me4_id, L1MuRegionalCand::phi_packed(), L1MuRegionalCand::pt_packed(), L1MuRegionalCand::quality_packed(), L1MuRegionalCand::setBx(), L1MuRegionalCand::setChargePacked(), L1MuRegionalCand::setChargeValidPacked(), L1MuRegionalCand::setDataWord(), L1MuRegionalCand::setEtaPacked(), L1MuRegionalCand::setFineHaloPacked(), L1MuRegionalCand::setPhiPacked(), L1MuRegionalCand::setPtPacked(), L1MuRegionalCand::setQualityPacked(), L1MuRegionalCand::setType(), and L1MuRegionalCand::type_idx().
bool L1Track::operator== | ( | const csc::L1Track & | rhs | ) | const |
Definition at line 155 of file L1Track.cc.
References rank().
bool L1Track::operator> | ( | const csc::L1Track & | rhs | ) | const |
bool L1Track::operator>= | ( | const csc::L1Track & | rhs | ) | const |
Definition at line 151 of file L1Track.cc.
References rank().
|
inline |
Definition at line 63 of file L1Track.h.
References m_output_link.
Referenced by CSCTFanalyzer::analyze().
void L1Track::Print | ( | void | ) | const |
Definition at line 159 of file L1Track.cc.
References BX(), L1MuRegionalCand::charge_packed(), gather_cfg::cout, L1MuRegionalCand::empty(), endcap(), L1MuRegionalCand::eta_packed(), L1MuRegionalCand::phi_packed(), L1MuRegionalCand::pt_packed(), L1MuRegionalCand::quality_packed(), and winner().
|
inline |
Definition at line 58 of file L1Track.h.
References m_ptAddress.
Referenced by CSCTFanalyzer::analyze().
unsigned L1Track::rank | ( | ) | const |
Definition at line 120 of file L1Track.cc.
References m_rank.
Referenced by CSCTFanalyzer::analyze(), decodeRank(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and setRank().
|
inline |
Definition at line 47 of file L1Track.h.
References m_sector.
Referenced by CSCTFanalyzer::analyze(), and geometryXMLparser.DTAlignable::index().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 64 of file L1Track.h.
References m_output_link.
Referenced by CSCTFanalyzer::analyze(), and CSCTFSPCoreLogic::run().
|
inline |
Definition at line 60 of file L1Track.h.
References m_ptAddress.
Referenced by CSCTFSPCoreLogic::run().
|
inline |
void L1Track::setStationIds | ( | const unsigned & | me1, |
const unsigned & | me2, | ||
const unsigned & | me3, | ||
const unsigned & | me4, | ||
const unsigned & | mb1 | ||
) |
Definition at line 122 of file L1Track.cc.
References MuonStationSelectors_cff::mb1, mb1_id, hlt_dqm_clientPB-live_cfg::me1, me1_id, hlt_dqm_clientPB-live_cfg::me2, me2_id, me3_id, and me4_id.
Referenced by CSCTFSPCoreLogic::run().
|
inline |
Definition at line 105 of file L1Track.h.
References m_mbTbin, m_me1Tbin, m_me2Tbin, m_me3Tbin, m_me4Tbin, hlt_dqm_clientPB-live_cfg::me1, and hlt_dqm_clientPB-live_cfg::me2.
Referenced by CSCTFSPCoreLogic::run().
|
inline |
|
inline |
Definition at line 48 of file L1Track.h.
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
Only the Unpacker and SectorProcessor should have access to addTrackStub() This prevents people from adding too many track stubs.
|
private |
|
private |
|
private |
Definition at line 128 of file L1Track.h.
Referenced by L1Track(), and operator=().
|
private |
Definition at line 120 of file L1Track.h.
Referenced by endcap(), L1Track(), and operator=().
|
private |
Definition at line 124 of file L1Track.h.
Referenced by front_rear(), L1Track(), operator=(), and set_front_rear().
|
private |
Definition at line 122 of file L1Track.h.
Referenced by L1Track(), localPhi(), operator=(), and setLocalPhi().
|
private |
Definition at line 133 of file L1Track.h.
Referenced by L1Track(), mb1Tbin(), operator=(), and setTbins().
|
private |
Definition at line 133 of file L1Track.h.
Referenced by L1Track(), me1Tbin(), operator=(), and setTbins().
|
private |
Definition at line 133 of file L1Track.h.
Referenced by L1Track(), me2Tbin(), operator=(), and setTbins().
|
private |
Definition at line 133 of file L1Track.h.
Referenced by L1Track(), me3Tbin(), operator=(), and setTbins().
|
private |
Definition at line 133 of file L1Track.h.
Referenced by L1Track(), me4Tbin(), operator=(), and setTbins().
|
private |
Definition at line 118 of file L1Track.h.
Referenced by L1Track(), and operator=().
|
private |
Definition at line 127 of file L1Track.h.
Referenced by L1Track(), operator=(), outputLink(), and setOutputLink().
|
private |
Definition at line 123 of file L1Track.h.
Referenced by addressEta(), deltaPhi12(), deltaPhi23(), L1Track(), mode(), modeExtended(), operator=(), ptLUTAddress(), setPtLUTAddress(), and sign().
|
private |
|
private |
Definition at line 132 of file L1Track.h.
Referenced by L1Track(), operator=(), setBits(), and synch_err().
|
private |
Definition at line 120 of file L1Track.h.
Referenced by L1Track(), operator=(), and sector().
|
private |
Definition at line 129 of file L1Track.h.
Referenced by L1Track(), operator=(), and winner().
|
private |
Definition at line 125 of file L1Track.h.
Referenced by L1Track(), mb1ID(), operator=(), and setStationIds().
|
private |
Definition at line 125 of file L1Track.h.
Referenced by L1Track(), me1ID(), operator=(), and setStationIds().
|
private |
Definition at line 125 of file L1Track.h.
Referenced by L1Track(), me2ID(), operator=(), and setStationIds().
|
private |
Definition at line 125 of file L1Track.h.
Referenced by L1Track(), me3ID(), operator=(), and setStationIds().
|
private |
Definition at line 125 of file L1Track.h.
Referenced by L1Track(), me4ID(), operator=(), and setStationIds().