#include <TrackStub.h>
Public Member Functions | |
int | BX () const |
unsigned | cscid () const |
unsigned | cscidSeparateME1a () const |
unsigned | endcap () const |
unsigned | etaPacked () const |
Return the binned eta for this stub. More... | |
double | etaValue () const |
return the Eta Value of this stub's position. More... | |
DetId | getDetId () const |
const CSCCorrelatedLCTDigi * | getDigi () const |
Get the digi this stub was made from. More... | |
bool | operator!= (const TrackStub &rhs) const |
bool | operator< (const TrackStub &) const |
bool | operator<= (const TrackStub &rhs) const |
bool | operator== (const TrackStub &rhs) const |
bool | operator> (const TrackStub &) const |
Comparision Operators, used for MPC sorting. More... | |
bool | operator>= (const TrackStub &rhs) const |
unsigned | phiPacked () const |
Return the binned phi for this stub. More... | |
double | phiValue () const |
return the Phi Value of this stub's position in local coordinates. More... | |
unsigned | sector () const |
void | setEtaPacked (const unsigned &eta_) |
set Eta and Phi from integer values. More... | |
void | setPhiPacked (const unsigned &phi_) |
unsigned | station () const |
unsigned | subsector () const |
TrackStub () | |
TrackStub (const CSCCorrelatedLCTDigi &, const DetId &) | |
TrackStub (const CSCCorrelatedLCTDigi &, const DetId &, const unsigned &phi, const unsigned &eta) | |
TrackStub (const TrackStub &) | |
Public Member Functions inherited from CSCCorrelatedLCTDigi | |
void | clear () |
default More... | |
CSCCorrelatedLCTDigi (const int trknmb, const int valid, const int quality, const int keywire, const int strip, const int pattern, const int bend, const int bx, const int mpclink=0, const uint16_t bx0=0, const uint16_t syncErr=0, const uint16_t cscID=0) | |
Constructors. More... | |
CSCCorrelatedLCTDigi () | |
Default. More... | |
int | getBend () const |
return bend More... | |
int | getBX () const |
return BX More... | |
uint16_t | getBX0 () const |
int | getCLCTPattern () const |
return CLCT pattern number (in use again Feb 2011) More... | |
uint16_t | getCSCID () const |
int | getKeyWG () const |
return the key wire group More... | |
int | getMPCLink () const |
return MPC link number, 0 means not sorted, 1-3 give MPC sorting rank More... | |
int | getPattern () const |
return pattern More... | |
int | getQuality () const |
return the 4 bit Correlated LCT Quality More... | |
int | getStrip () const |
return the key halfstrip from 0,159 More... | |
int | getStripType () const |
return strip type (obsolete since mid-2008) More... | |
uint16_t | getSyncErr () const |
int | getTrknmb () const |
return track number More... | |
bool | isValid () const |
return valid pattern bit More... | |
bool | operator!= (const CSCCorrelatedLCTDigi &rhs) const |
bool | operator== (const CSCCorrelatedLCTDigi &) const |
Comparison. More... | |
void | print () const |
Print content of correlated LCT digi. More... | |
void | setMPCLink (const uint16_t &link) |
Set mpc link number after MPC sorting. More... | |
void | setQuality (unsigned int q) |
set quality code More... | |
void | setTrknmb (const uint16_t number) |
Set track number (1,2) after sorting LCTs. More... | |
void | setWireGroup (unsigned int wiregroup) |
set wiregroup number More... | |
Private Attributes | |
unsigned | link_ |
uint32_t | theDetId_ |
unsigned | theEta_ |
unsigned | thePhi_ |
Static Private Attributes | |
static const double | theEtaBinning = (CSCTFConstants::maxEta - CSCTFConstants::minEta)/(CSCTFConstants::etaBins) |
static const double | thePhiBinning = CSCTFConstants::SECTOR_RAD/(1<<CSCBitWidths::kGlobalPhiDataBitWidth) |
Definition at line 23 of file TrackStub.h.
|
inline |
Definition at line 26 of file TrackStub.h.
TrackStub::TrackStub | ( | const CSCCorrelatedLCTDigi & | aDigi, |
const DetId & | aDetId | ||
) |
Definition at line 14 of file TrackStub.cc.
TrackStub::TrackStub | ( | const CSCCorrelatedLCTDigi & | aDigi, |
const DetId & | aDetId, | ||
const unsigned & | phi, | ||
const unsigned & | eta | ||
) |
Definition at line 22 of file TrackStub.cc.
TrackStub::TrackStub | ( | const TrackStub & | aTrackStub | ) |
Definition at line 33 of file TrackStub.cc.
|
inline |
unsigned TrackStub::cscid | ( | ) | const |
Definition at line 120 of file TrackStub.cc.
References MuonSubdetId::CSC, CSCDetId, theDetId_, and CSCTriggerNumbering::triggerCscIdFromLabels().
Referenced by operator<(), and operator>().
unsigned TrackStub::cscidSeparateME1a | ( | ) | const |
Definition at line 128 of file TrackStub.cc.
References MuonSubdetId::CSC, relativeConstraints::ring, station(), theDetId_, and CSCTriggerNumbering::triggerCscIdFromLabels().
unsigned TrackStub::endcap | ( | ) | const |
Time / Space identifiers See CSCTransientDataType.h for more details.
Definition at line 40 of file TrackStub.cc.
References MuonSubdetId::CSC, CSCDetId, MuonSubdetId::DT, DTChamberId, alignCSCRings::e, and theDetId_.
Referenced by geometryXMLparser.CSCAlignable::index().
|
inline |
|
inline |
return the Eta Value of this stub's position.
Definition at line 36 of file TrackStub.h.
References CSCTFConstants::minEta, theEta_, and theEtaBinning.
|
inline |
|
inline |
Get the digi this stub was made from.
Definition at line 47 of file TrackStub.h.
Referenced by operator==().
|
inline |
bool TrackStub::operator< | ( | const TrackStub & | rhs | ) | const |
Definition at line 137 of file TrackStub.cc.
References cscid(), CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getTrknmb(), and CSCCorrelatedLCTDigi::isValid().
Referenced by operator>=().
|
inline |
Definition at line 65 of file TrackStub.h.
References operator>().
|
inline |
Definition at line 66 of file TrackStub.h.
References getDigi(), and theDetId_.
Referenced by operator!=().
bool TrackStub::operator> | ( | const TrackStub & | rhs | ) | const |
Comparision Operators, used for MPC sorting.
Definition at line 145 of file TrackStub.cc.
References cscid(), CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getTrknmb(), and CSCCorrelatedLCTDigi::isValid().
Referenced by operator<=().
|
inline |
|
inline |
|
inline |
return the Phi Value of this stub's position in local coordinates.
Definition at line 38 of file TrackStub.h.
References thePhi_, and thePhiBinning.
unsigned TrackStub::sector | ( | ) | const |
Definition at line 78 of file TrackStub.cc.
References MuonSubdetId::CSC, CSCDetId, MuonSubdetId::DT, DTChamberId, theDetId_, and CSCTriggerNumbering::triggerSectorFromLabels().
Referenced by geometryXMLparser.DTAlignable::index().
|
inline |
|
inline |
unsigned TrackStub::station | ( | ) | const |
Definition at line 59 of file TrackStub.cc.
References MuonSubdetId::CSC, CSCDetId, MuonSubdetId::DT, DTChamberId, alignCSCRings::s, and theDetId_.
Referenced by cscidSeparateME1a(), geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
unsigned TrackStub::subsector | ( | ) | const |
Definition at line 99 of file TrackStub.cc.
References MuonSubdetId::CSC, CSCDetId, MuonSubdetId::DT, DTChamberId, contentValuesCheck::ss, theDetId_, and CSCTriggerNumbering::triggerSubSectorFromLabels().
|
private |
Definition at line 71 of file TrackStub.h.
|
private |
Definition at line 70 of file TrackStub.h.
Referenced by cscid(), cscidSeparateME1a(), endcap(), getDetId(), operator==(), sector(), station(), and subsector().
|
private |
Definition at line 71 of file TrackStub.h.
Referenced by etaPacked(), etaValue(), and setEtaPacked().
|
staticprivate |
Definition at line 72 of file TrackStub.h.
Referenced by etaValue().
|
private |
Definition at line 71 of file TrackStub.h.
Referenced by phiPacked(), phiValue(), and setPhiPacked().
|
staticprivate |
Definition at line 72 of file TrackStub.h.
Referenced by phiValue().