#include <CSCCorrelatedLCTDigi.h>
Public Member Functions | |
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 | setBend (unsigned int b) |
set bend More... | |
void | setBX (unsigned int b) |
set bx More... | |
void | setBX0 (unsigned int b) |
set bx0 More... | |
void | setCSCID (unsigned int c) |
set cscID More... | |
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 | setValid (unsigned int v) |
set valid More... | |
void | setWireGroup (unsigned int wiregroup) |
set wiregroup number More... | |
Private Attributes | |
uint16_t | bend |
uint16_t | bx |
uint16_t | bx0 |
uint16_t | cscID |
uint16_t | keywire |
uint16_t | mpclink |
uint16_t | pattern |
uint16_t | quality |
uint16_t | strip |
uint16_t | syncErr |
uint16_t | trknmb |
uint16_t | valid |
Digi for Correlated LCT trigger primitives.
Digi for Correlated LCT trigger primitives.
Definition at line 15 of file CSCCorrelatedLCTDigi.h.
CSCCorrelatedLCTDigi::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.
Definition at line 14 of file CSCCorrelatedLCTDigi.cc.
CSCCorrelatedLCTDigi::CSCCorrelatedLCTDigi | ( | ) |
void CSCCorrelatedLCTDigi::clear | ( | void | ) |
default
Clears this LCT.
clear this LCT
Definition at line 43 of file CSCCorrelatedLCTDigi.cc.
References bend, bx, bx0, cscID, keywire, mpclink, pattern, quality, strip, syncErr, trknmb, and valid.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), CSCCorrelatedLCTDigi(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), and Vispa.Views.WidgetView.WidgetView::setDataObjects().
|
inline |
return bend
Definition at line 49 of file CSCCorrelatedLCTDigi.h.
References bend.
Referenced by operator<<(), and print().
|
inline |
return BX
Definition at line 52 of file CSCCorrelatedLCTDigi.h.
References bx.
Referenced by csctf::TrackStub::BX(), operator<<(), and print().
|
inline |
|
inline |
return CLCT pattern number (in use again Feb 2011)
Definition at line 55 of file CSCCorrelatedLCTDigi.h.
|
inline |
|
inline |
return the key wire group
Definition at line 40 of file CSCCorrelatedLCTDigi.h.
References keywire.
Referenced by operator<<(), and print().
|
inline |
return MPC link number, 0 means not sorted, 1-3 give MPC sorting rank
Definition at line 61 of file CSCCorrelatedLCTDigi.h.
References mpclink.
Referenced by operator<<(), and print().
|
inline |
return pattern
Definition at line 46 of file CSCCorrelatedLCTDigi.h.
References pattern.
Referenced by operator<<(), and print().
|
inline |
return the 4 bit Correlated LCT Quality
Definition at line 37 of file CSCCorrelatedLCTDigi.h.
References quality.
Referenced by csctf::TrackStub::operator<(), operator<<(), csctf::TrackStub::operator>(), and print().
|
inline |
return the key halfstrip from 0,159
Definition at line 43 of file CSCCorrelatedLCTDigi.h.
References strip.
Referenced by operator<<(), and print().
|
inline |
|
inline |
Definition at line 65 of file CSCCorrelatedLCTDigi.h.
References syncErr.
Referenced by operator<<().
|
inline |
return track number
Definition at line 31 of file CSCCorrelatedLCTDigi.h.
References trknmb.
Referenced by csctf::TrackStub::operator<(), operator<<(), csctf::TrackStub::operator>(), and print().
|
inline |
return valid pattern bit
Definition at line 34 of file CSCCorrelatedLCTDigi.h.
References valid.
Referenced by csctf::TrackStub::operator<(), operator<<(), csctf::TrackStub::operator>(), print(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
inline |
bool CSCCorrelatedLCTDigi::operator== | ( | const CSCCorrelatedLCTDigi & | rhs | ) | const |
void CSCCorrelatedLCTDigi::print | ( | void | ) | const |
Print content of correlated LCT digi.
Debug.
Definition at line 67 of file CSCCorrelatedLCTDigi.cc.
References getBend(), getBX(), getKeyWG(), getMPCLink(), getPattern(), getQuality(), getStrip(), getTrknmb(), and isValid().
|
inline |
|
inline |
|
inline |
|
inline |
set cscID
Definition at line 109 of file CSCCorrelatedLCTDigi.h.
References EnergyCorrector::c, and cscID.
|
inline |
Set mpc link number after MPC sorting.
Definition at line 71 of file CSCCorrelatedLCTDigi.h.
References MainPageGenerator::link, and mpclink.
|
inline |
set pattern
Definition at line 94 of file CSCCorrelatedLCTDigi.h.
References AlCaHLTBitMon_ParallelJobs::p.
|
inline |
|
inline |
|
inline |
set syncErr
Definition at line 106 of file CSCCorrelatedLCTDigi.h.
References alignCSCRings::s, and syncErr.
|
inline |
Set track number (1,2) after sorting LCTs.
Definition at line 68 of file CSCCorrelatedLCTDigi.h.
References contentValuesFiles::number.
|
inline |
|
inline |
|
private |
Definition at line 118 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getBend(), and operator==().
|
private |
Definition at line 119 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getBX(), and operator==().
|
private |
Definition at line 121 of file CSCCorrelatedLCTDigi.h.
|
private |
Definition at line 123 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getCSCID(), and setCSCID().
|
private |
Definition at line 115 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getKeyWG(), and operator==().
|
private |
Definition at line 120 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getMPCLink(), operator==(), and setMPCLink().
|
private |
Definition at line 117 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getPattern(), and operator==().
|
private |
Definition at line 114 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getQuality(), and operator==().
|
private |
Definition at line 116 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getStrip(), and operator==().
|
private |
Definition at line 122 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getSyncErr(), and setSyncErr().
|
private |
Definition at line 112 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getTrknmb(), and operator==().
|
private |
Definition at line 113 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), isValid(), and operator==().