#include <L1MuDTTrackCand.h>
Public Member Functions | |
L1MuDTTrackCand () | |
L1MuDTTrackCand (unsigned dataword, int bx, int uwh, int usc, int utag, int adr1, int adr2, int adr3, int adr4, int utc) | |
L1MuDTTrackCand (unsigned type_idx, unsigned phi, unsigned eta, unsigned pt, unsigned charge, unsigned ch_valid, unsigned finehalo, unsigned quality, int bx, int uwh, int usc, int utag, int adr1, int adr2, int adr3, int adr4) | |
int | scNum () const |
void | setAdd (int ust) |
void | setTC () |
int | stNum (int ust) const |
int | TCNum () const |
int | TrkTag () const |
int | whNum () const |
~L1MuDTTrackCand () 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... | |
Private Attributes | |
int | sector |
int | TClassCode |
int | TrkAdd [4] |
int | TrkTagCode |
int | wheel |
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 } |
Definition at line 33 of file L1MuDTTrackCand.h.
L1MuDTTrackCand::L1MuDTTrackCand | ( | ) |
Definition at line 33 of file L1MuDTTrackCand.cc.
References sector, TClassCode, TrkAdd, TrkTagCode, and wheel.
L1MuDTTrackCand::L1MuDTTrackCand | ( | unsigned | dataword, |
int | bx, | ||
int | uwh, | ||
int | usc, | ||
int | utag, | ||
int | adr1, | ||
int | adr2, | ||
int | adr3, | ||
int | adr4, | ||
int | utc | ||
) |
Definition at line 44 of file L1MuDTTrackCand.cc.
References sector, setAdd(), TClassCode, TrkAdd, TrkTagCode, and wheel.
L1MuDTTrackCand::L1MuDTTrackCand | ( | unsigned | type_idx, |
unsigned | phi, | ||
unsigned | eta, | ||
unsigned | pt, | ||
unsigned | charge, | ||
unsigned | ch_valid, | ||
unsigned | finehalo, | ||
unsigned | quality, | ||
int | bx, | ||
int | uwh, | ||
int | usc, | ||
int | utag, | ||
int | adr1, | ||
int | adr2, | ||
int | adr3, | ||
int | adr4 | ||
) |
Definition at line 62 of file L1MuDTTrackCand.cc.
References ALCARECOTkAlJpsiMuMu_cff::charge, PVValHelper::eta, phi, DiDispStaMuonMonitor_cfi::pt, L1MuRegionalCand::quality(), sector, L1MuRegionalCand::setChargePacked(), L1MuRegionalCand::setChargeValidPacked(), L1MuRegionalCand::setEtaPacked(), L1MuRegionalCand::setFineHaloPacked(), L1MuRegionalCand::setPhiPacked(), L1MuRegionalCand::setPtPacked(), L1MuRegionalCand::setQualityPacked(), setTC(), L1MuRegionalCand::setType(), TrkAdd, TrkTagCode, L1MuRegionalCand::type_idx(), and wheel.
|
override |
Definition at line 102 of file L1MuDTTrackCand.cc.
int L1MuDTTrackCand::scNum | ( | ) | const |
void L1MuDTTrackCand::setAdd | ( | int | ust | ) |
Definition at line 164 of file L1MuDTTrackCand.cc.
References stNum(), and TrkAdd.
Referenced by L1MuDTTrackCand().
void L1MuDTTrackCand::setTC | ( | ) |
Definition at line 117 of file L1MuDTTrackCand.cc.
References L1MuRegionalCand::quality_packed(), TClassCode, and TrkAdd.
Referenced by L1MuDTTrackCand().
int L1MuDTTrackCand::stNum | ( | int | ust | ) | const |
int L1MuDTTrackCand::TCNum | ( | ) | const |
int L1MuDTTrackCand::TrkTag | ( | ) | const |
int L1MuDTTrackCand::whNum | ( | ) | const |
|
private |
Definition at line 73 of file L1MuDTTrackCand.h.
Referenced by PixelMapPlotter.Barrel::__str__(), geometryXMLparser.DTAlignable::index(), L1MuDTTrackCand(), and scNum().
|
private |
Definition at line 75 of file L1MuDTTrackCand.h.
Referenced by L1MuDTTrackCand(), setTC(), and TCNum().
|
private |
Definition at line 76 of file L1MuDTTrackCand.h.
Referenced by L1MuDTTrackCand(), setAdd(), setTC(), and stNum().
|
private |
Definition at line 74 of file L1MuDTTrackCand.h.
Referenced by L1MuDTTrackCand(), and TrkTag().
|
private |
Definition at line 72 of file L1MuDTTrackCand.h.
Referenced by geometryXMLparser.DTAlignable::index(), L1MuDTTrackCand(), and whNum().