#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 | 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 | |
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 13 of file CSCCorrelatedLCTDigi.cc.
CSCCorrelatedLCTDigi::CSCCorrelatedLCTDigi | ( | ) |
void CSCCorrelatedLCTDigi::clear | ( | void | ) |
default
Clears this LCT.
clear this LCT
Definition at line 42 of file CSCCorrelatedLCTDigi.cc.
References bend, bx, bx0, cscID, keywire, mpclink, pattern, quality, strip, syncErr, trknmb, and valid.
Referenced by CSCMotherboardME11::clear(), CSCMotherboard::clear(), Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), CSCCorrelatedLCTDigi(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), CSCMotherboardME11::run(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), L1DummyProducer::SimpleDigi(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
inline |
return bend
Definition at line 49 of file CSCCorrelatedLCTDigi.h.
References bend.
Referenced by CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), operator<<(), and print().
|
inline |
return BX
Definition at line 52 of file CSCCorrelatedLCTDigi.h.
References bx.
Referenced by CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), csctf::TrackStub::BX(), CSCMotherboard::correlateLCTs(), operator<<(), and print().
|
inline |
Definition at line 64 of file CSCCorrelatedLCTDigi.h.
References bx0.
Referenced by CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), and operator<<().
|
inline |
return CLCT pattern number (in use again Feb 2011)
Definition at line 55 of file CSCCorrelatedLCTDigi.h.
|
inline |
Definition at line 63 of file CSCCorrelatedLCTDigi.h.
References cscID.
Referenced by CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), and operator<<().
|
inline |
return the key wire group
Definition at line 40 of file CSCCorrelatedLCTDigi.h.
References keywire.
Referenced by CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), 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 CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), operator<<(), and print().
|
inline |
return the 4 bit Correlated LCT Quality
Definition at line 37 of file CSCCorrelatedLCTDigi.h.
References quality.
Referenced by CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), 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 CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), operator<<(), and print().
|
inline |
|
inline |
Definition at line 65 of file CSCCorrelatedLCTDigi.h.
References syncErr.
Referenced by CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), and operator<<().
|
inline |
return track number
Definition at line 31 of file CSCCorrelatedLCTDigi.h.
References trknmb.
Referenced by L1EmulBias::ModifyCollection(), 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 CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), csctf::TrackStub::operator<(), operator<<(), csctf::TrackStub::operator>(), and print().
|
inline |
bool CSCCorrelatedLCTDigi::operator== | ( | const CSCCorrelatedLCTDigi & | rhs | ) | const |
void CSCCorrelatedLCTDigi::print | ( | void | ) | const |
Print content of correlated LCT digi.
Debug.
Definition at line 66 of file CSCCorrelatedLCTDigi.cc.
References gather_cfg::cout, getBend(), getBX(), getKeyWG(), getMPCLink(), getPattern(), getQuality(), getStrip(), getTrknmb(), and isValid().
|
inline |
Set mpc link number after MPC sorting.
Definition at line 71 of file CSCCorrelatedLCTDigi.h.
References link(), and mpclink.
|
inline |
|
inline |
Set track number (1,2) after sorting LCTs.
Definition at line 68 of file CSCCorrelatedLCTDigi.h.
References contentValuesFiles::number.
Referenced by CSCMotherboardME11::correlateLCTs(), CSCMotherboard::correlateLCTs(), and L1EmulBias::ModifyCollection().
|
inline |
|
private |
Definition at line 94 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getBend(), and operator==().
|
private |
Definition at line 95 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getBX(), and operator==().
|
private |
Definition at line 97 of file CSCCorrelatedLCTDigi.h.
|
private |
Definition at line 99 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), and getCSCID().
|
private |
Definition at line 91 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getKeyWG(), and operator==().
|
private |
Definition at line 96 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getMPCLink(), operator==(), and setMPCLink().
|
private |
Definition at line 93 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getPattern(), and operator==().
|
private |
Definition at line 90 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getQuality(), and operator==().
|
private |
Definition at line 92 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getStrip(), and operator==().
|
private |
Definition at line 98 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), and getSyncErr().
|
private |
Definition at line 88 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getTrknmb(), and operator==().
|
private |
Definition at line 89 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), isValid(), and operator==().