#include <L1TrackId.h>
Public Types | |
enum | { kRankBitWidth = 6 } |
Public Member Functions | |
unsigned | encodeLUTMode (const unsigned &rank) const |
unsigned | endcap () const |
bool | erase () const |
bool | hasMB1 (const unsigned &rank) const |
bool | hasME1 (const unsigned &rank) const |
Functions to determine which stations are in this track. More... | |
bool | hasME2 (const unsigned &rank) const |
bool | hasME3 (const unsigned &rank) const |
bool | hasME4 (const unsigned &rank) const |
bool | inOverlap () const |
L1TrackId () | |
L1TrackId (const unsigned &side, const unsigned §or) | |
L1TrackId (const csc::L1TrackId &) | |
unsigned | mode () const |
unsigned | numSegments () const |
const L1TrackId & | operator= (const csc::L1TrackId &) |
void | overlapMode (const unsigned &rank, int &mode, int &stnA, int &stnB) |
unsigned | rank () const |
unsigned | sector () const |
void | setMode (const unsigned &mode) |
void | setOverlap (const unsigned &rank) |
void | setRank (const unsigned &rank) |
bool | sharesHit (const csc::L1TrackId &) const |
unsigned | station () const |
Private Attributes | |
CSCDetId | id_ |
bool | m_erase |
unsigned | m_mode |
bool | m_overlap |
unsigned | m_rank |
Definition at line 19 of file L1TrackId.h.
anonymous enum |
L1TrackId::L1TrackId | ( | ) |
Definition at line 5 of file L1TrackId.cc.
L1TrackId::L1TrackId | ( | const unsigned & | side, |
const unsigned & | sector | ||
) |
Use a fake cscid and station... We just need to know endcap and sector
Definition at line 8 of file L1TrackId.cc.
References CSCTriggerNumbering::chamberFromTriggerLabels(), and id_.
L1TrackId::L1TrackId | ( | const csc::L1TrackId & | id | ) |
Definition at line 17 of file L1TrackId.cc.
References DetId::id_, id_, m_erase, m_mode, m_overlap, and m_rank.
unsigned L1TrackId::encodeLUTMode | ( | const unsigned & | rank | ) | const |
|
inline |
Definition at line 30 of file L1TrackId.h.
References CSCDetId::endcap(), and id_.
Referenced by geometryXMLparser.CSCAlignable::index().
|
inline |
bool L1TrackId::hasMB1 | ( | const unsigned & | rank | ) | const |
bool L1TrackId::hasME1 | ( | const unsigned & | rank | ) | const |
Functions to determine which stations are in this track.
Definition at line 267 of file L1TrackId.cc.
Referenced by inOverlap().
bool L1TrackId::hasME2 | ( | const unsigned & | rank | ) | const |
bool L1TrackId::hasME3 | ( | const unsigned & | rank | ) | const |
bool L1TrackId::hasME4 | ( | const unsigned & | rank | ) | const |
|
inline |
Definition at line 43 of file L1TrackId.h.
References encodeLUTMode(), hasMB1(), hasME1(), hasME2(), hasME3(), hasME4(), m_overlap, mode(), and overlapMode().
|
inline |
Definition at line 35 of file L1TrackId.h.
References m_mode.
Referenced by encodeLUTMode(), inOverlap(), and setMode().
|
inline |
Definition at line 36 of file L1TrackId.h.
const csc::L1TrackId & L1TrackId::operator= | ( | const csc::L1TrackId & | rhs | ) |
void L1TrackId::overlapMode | ( | const unsigned & | rank, |
int & | mode, | ||
int & | stnA, | ||
int & | stnB | ||
) |
|
inline |
Definition at line 34 of file L1TrackId.h.
References m_rank.
Referenced by numSegments(), and setRank().
|
inline |
Definition at line 31 of file L1TrackId.h.
References id_, and CSCTriggerNumbering::triggerSectorFromLabels().
Referenced by geometryXMLparser.DTAlignable::index().
|
inline |
Definition at line 39 of file L1TrackId.h.
References m_mode, mode(), setOverlap(), and sharesHit().
Referenced by CSCTFSPCoreLogic::run().
void L1TrackId::setOverlap | ( | const unsigned & | rank | ) |
Definition at line 46 of file L1TrackId.cc.
References m_overlap.
Referenced by setMode(), and setRank().
void L1TrackId::setRank | ( | const unsigned & | rank | ) |
Definition at line 59 of file L1TrackId.cc.
References kRankBitWidth, m_rank, rank(), and setOverlap().
Referenced by numSegments().
bool L1TrackId::sharesHit | ( | const csc::L1TrackId & | a_id | ) | const |
Definition at line 41 of file L1TrackId.cc.
Referenced by setMode().
|
inline |
Definition at line 32 of file L1TrackId.h.
References id_, and CSCDetId::station().
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
private |
Definition at line 63 of file L1TrackId.h.
Referenced by endcap(), L1TrackId(), operator=(), sector(), and station().
|
private |
Definition at line 61 of file L1TrackId.h.
Referenced by erase(), L1TrackId(), and operator=().
|
private |
Definition at line 60 of file L1TrackId.h.
Referenced by L1TrackId(), mode(), operator=(), and setMode().
|
private |
Definition at line 61 of file L1TrackId.h.
Referenced by inOverlap(), L1TrackId(), operator=(), and setOverlap().
|
private |
Definition at line 60 of file L1TrackId.h.
Referenced by L1TrackId(), operator=(), rank(), and setRank().