#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... | |
const CSCALCTDigi & | getALCT () const |
int | getBend () const |
return bend More... | |
int | getBX () const |
return BX More... | |
uint16_t | getBX0 () const |
const CSCCLCTDigi & | getCLCT () const |
int | getCLCTPattern () const |
return CLCT pattern number (in use again Feb 2011) More... | |
uint16_t | getCSCID () const |
float | getFractionalStrip () const |
return the fractional strip. counts from 0.25 More... | |
const GEMPadDigi & | getGEM1 () const |
const GEMPadDigi & | getGEM2 () const |
int | getKeyWG () const |
return the key wire group. counts from 0. 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... | |
int | getType () const |
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 | setALCT (const CSCALCTDigi &alct) |
void | setBend (unsigned int b) |
set bend More... | |
void | setBX (unsigned int b) |
set bx More... | |
void | setBX0 (unsigned int b) |
set bx0 More... | |
void | setCLCT (const CSCCLCTDigi &clct) |
void | setCSCID (unsigned int c) |
set cscID More... | |
void | setGEM1 (const GEMPadDigi &gem) |
void | setGEM2 (const GEMPadDigi &gem) |
void | setMPCLink (const uint16_t &link) |
Set mpc link number after MPC sorting. More... | |
void | setPattern (unsigned int p) |
set pattern More... | |
void | setQuality (unsigned int q) |
set quality code More... | |
void | setStrip (unsigned int s) |
set strip More... | |
void | setSyncErr (unsigned int s) |
set syncErr More... | |
void | setTrknmb (const uint16_t number) |
Set track number (1,2) after sorting LCTs. More... | |
void | setType (int type) |
void | setValid (unsigned int v) |
set valid 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) |
Additional Inherited Members | |
Public Types inherited from CSCCorrelatedLCTDigi | |
enum | Type { CLCTALCT, ALCTCLCT, ALCTCLCTGEM, ALCTCLCT2GEM, ALCT2GEM, CLCT2GEM, CLCTONLY, ALCTONLY } |
SIMULATION ONLY ////. More... | |
Definition at line 23 of file TrackStub.h.
|
inline |
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 |
Definition at line 58 of file TrackStub.h.
References CSCCorrelatedLCTDigi::getBX(), operator<(), and operator>().
unsigned TrackStub::cscid | ( | ) | const |
Definition at line 120 of file TrackStub.cc.
References MuonSubdetId::CSC, theDetId_, and CSCTriggerNumbering::triggerCscIdFromLabels().
Referenced by getDetId(), operator<(), and operator>().
unsigned TrackStub::cscidSeparateME1a | ( | ) | const |
Definition at line 128 of file TrackStub.cc.
References MuonSubdetId::CSC, triggerObjects_cff::id, relativeConstraints::ring, station(), theDetId_, and CSCTriggerNumbering::triggerCscIdFromLabels().
Referenced by getDetId().
unsigned TrackStub::endcap | ( | ) | const |
Time / Space identifiers See CSCTransientDataType.h for more details.
Definition at line 40 of file TrackStub.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, MillePedeFileConverter_cfg::e, CSCDetId::endcap(), theDetId_, and DTChamberId::wheel().
Referenced by getDetId(), and 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.
Referenced by L1TCSCTF::analyze().
|
inline |
Definition at line 48 of file TrackStub.h.
References cscid(), cscidSeparateME1a(), endcap(), sector(), station(), subsector(), and theDetId_.
|
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 BX(), and 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 BX(), and operator<=().
|
inline |
|
inline |
Return the binned phi for this stub.
Definition at line 44 of file TrackStub.h.
References thePhi_.
Referenced by L1TCSCTF::analyze().
|
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.
Referenced by L1TCSCTF::analyze().
unsigned TrackStub::sector | ( | ) | const |
Definition at line 78 of file TrackStub.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, DTChamberId::sector(), theDetId_, and CSCTriggerNumbering::triggerSectorFromLabels().
Referenced by getDetId(), and geometryXMLparser.DTAlignable::index().
|
inline |
set Eta and Phi from integer values.
Definition at line 32 of file TrackStub.h.
References theEta_.
Referenced by L1TCSCTF::analyze().
|
inline |
unsigned TrackStub::station | ( | ) | const |
Definition at line 59 of file TrackStub.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, alignCSCRings::s, DTChamberId::station(), CSCDetId::station(), and theDetId_.
Referenced by cscidSeparateME1a(), getDetId(), geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
unsigned TrackStub::subsector | ( | ) | const |
Definition at line 99 of file TrackStub.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, DTChamberId::sector(), theDetId_, and CSCTriggerNumbering::triggerSubSectorFromLabels().
Referenced by getDetId().
|
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().