#include <CSCCLCTDigi.h>
Public Member Functions | |
void | clear () |
clear this CLCT More... | |
CSCCLCTDigi (const int valid, const int quality, const int pattern, const int striptype, const int bend, const int strip, const int cfeb, const int bx, const int trknmb=0, const int fullbx=0) | |
Constructors. More... | |
CSCCLCTDigi () | |
default More... | |
int | getBend () const |
return bend More... | |
int | getBX () const |
return BX More... | |
int | getCFEB () const |
return Key CFEB ID More... | |
int | getFullBX () const |
return 12-bit full BX. More... | |
int | getKeyStrip () const |
int | getPattern () const |
return pattern More... | |
int | getQuality () const |
return quality of a pattern (number of layers hit!) More... | |
int | getStrip () const |
return halfstrip that goes from 0 to 31 More... | |
int | getStripType () const |
return striptype More... | |
int | getTrknmb () const |
return track number (1,2) More... | |
bool | isValid () const |
check CLCT validity (1 - valid CLCT) More... | |
bool | operator!= (const CSCCLCTDigi &) const |
True if the preceding one is false. More... | |
bool | operator== (const CSCCLCTDigi &) const |
True if the two LCTs have exactly the same members (except the number). More... | |
bool | operator> (const CSCCLCTDigi &) const |
void | print () const |
Print content of digi. More... | |
void | setBend (const int bend) |
set bend More... | |
void | setBX (const int bx) |
set bx More... | |
void | setCFEB (const int cfeb) |
set Key CFEB ID More... | |
void | setFullBX (const uint16_t fullbx) |
Set 12-bit full BX. More... | |
void | setPattern (const int pattern) |
set pattern More... | |
void | setQuality (const int quality) |
set quality More... | |
void | setStrip (const int strip) |
set strip More... | |
void | setStripType (const int stripType) |
set stripType More... | |
void | setTrknmb (const uint16_t number) |
Set track number (1,2) after sorting CLCTs. More... | |
void | setValid (const int valid) |
set valid More... | |
Private Attributes | |
uint16_t | bend_ |
uint16_t | bx_ |
uint16_t | cfeb_ |
uint16_t | fullbx_ |
uint16_t | pattern_ |
uint16_t | quality_ |
uint16_t | strip_ |
uint16_t | striptype_ |
uint16_t | trknmb_ |
uint16_t | valid_ |
Digi for CLCT trigger primitives.
Definition at line 15 of file CSCCLCTDigi.h.
CSCCLCTDigi::CSCCLCTDigi | ( | const int | valid, |
const int | quality, | ||
const int | pattern, | ||
const int | striptype, | ||
const int | bend, | ||
const int | strip, | ||
const int | cfeb, | ||
const int | bx, | ||
const int | trknmb = 0 , |
||
const int | fullbx = 0 |
||
) |
CSCCLCTDigi::CSCCLCTDigi | ( | ) |
void CSCCLCTDigi::clear | ( | void | ) |
clear this CLCT
Clears this CLCT.
Definition at line 54 of file CSCCLCTDigi.cc.
References bend_, bx_, cfeb_, fullbx_, pattern_, quality_, strip_, striptype_, trknmb_, and valid_.
Referenced by CSCCathodeLCTProcessor::clear(), Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), CSCGEMMotherboardME21::correlateLCTsGEM(), CSCGEMMotherboardME11::correlateLCTsGEM(), CSCMotherboardME11::correlateLCTsME11(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), 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 59 of file CSCCLCTDigi.h.
References bend_.
Referenced by CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2007::addCLCT0(), CSCTMBHeader2006::addCLCT1(), CSCTMBHeader2007::addCLCT1(), CSCMotherboard::constructLCTs(), CSCGEMMotherboard::constructLCTsGEM(), operator<<(), operator==(), and print().
|
inline |
return BX
Definition at line 77 of file CSCCLCTDigi.h.
References bx_.
Referenced by CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2007_rev0x50c3::addCLCT0(), CSCTMBHeader2013::addCLCT0(), CSCTMBHeader2007::addCLCT0(), CSCTMBHeader2006::addCLCT1(), CSCTMBHeader2007::addCLCT1(), CSCMotherboard::constructLCTs(), CSCCathodeLCTAnalyzer::lctDigis(), CSCGEMMotherboard::matchingPads(), operator<<(), operator==(), and print().
|
inline |
return Key CFEB ID
Definition at line 71 of file CSCCLCTDigi.h.
References cfeb_.
Referenced by CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2007::addCLCT0(), CSCTMBHeader2006::addCLCT1(), CSCTMBHeader2007::addCLCT1(), operator<<(), and print().
|
inline |
return 12-bit full BX.
Definition at line 103 of file CSCCLCTDigi.h.
References fullbx_.
Referenced by CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2007::addCLCT0(), CSCTMBHeader2013::addCLCT0(), CSCTMBHeader2007_rev0x50c3::addCLCT0(), CSCTMBHeader2006::addCLCT1(), CSCTMBHeader2007::addCLCT1(), CSCTMBHeader2013::addCLCT1(), CSCTMBHeader2007_rev0x50c3::addCLCT1(), and print().
|
inline |
Convert strip_ and cfeb_ to keyStrip. Each CFEB has up to 16 strips (32 halfstrips). There are 5 cfebs. The "strip_" variable is one of 32 halfstrips on the keylayer of a single CFEB, so that Distrip = (cfeb*32 + strip)/4. Halfstrip = (cfeb*32 + strip). Always return halfstrip number since this is what is stored in the correlated LCT digi. For distrip patterns, the convention is the same as for persistent strip numbers: low halfstrip of a distrip. SV, June 15th, 2006.
Definition at line 94 of file CSCCLCTDigi.h.
Referenced by CSCTMBHeader2007_rev0x50c3::addCLCT0(), CSCTMBHeader2013::addCLCT0(), CSCTMBHeader2013::addCLCT1(), CSCTMBHeader2007_rev0x50c3::addCLCT1(), CSCGEMMotherboard::bestMatchingPad(), CSCMotherboard::constructLCTs(), CSCGEMMotherboard::constructLCTsGEM(), CSCMotherboardLUTME11::doesALCTCrossCLCT(), CSCGEMMotherboard::getPad(), CSCCathodeLCTAnalyzer::lctDigis(), CSCGEMMotherboard::matchingPads(), operator<<(), operator==(), operator>(), and print().
|
inline |
return pattern
Definition at line 47 of file CSCCLCTDigi.h.
References pattern_.
Referenced by CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2007_rev0x50c3::addCLCT0(), CSCTMBHeader2013::addCLCT0(), CSCTMBHeader2007::addCLCT0(), CSCTMBHeader2006::addCLCT1(), CSCTMBHeader2007::addCLCT1(), CSCTMBHeader2007_rev0x50c3::addCLCT1(), CSCTMBHeader2013::addCLCT1(), CSCMotherboard::constructLCTs(), CSCGEMMotherboard::constructLCTsGEM(), CSCMotherboard::findQuality(), CSCGEMMotherboard::findQualityGEM(), CSCCathodeLCTAnalyzer::lctDigis(), operator<<(), operator==(), operator>(), and print().
|
inline |
return quality of a pattern (number of layers hit!)
Definition at line 41 of file CSCCLCTDigi.h.
References quality_.
Referenced by CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2007_rev0x50c3::addCLCT0(), CSCTMBHeader2013::addCLCT0(), CSCTMBHeader2007::addCLCT0(), CSCTMBHeader2006::addCLCT1(), CSCTMBHeader2007::addCLCT1(), CSCTMBHeader2007_rev0x50c3::addCLCT1(), CSCTMBHeader2013::addCLCT1(), CSCMotherboard::findQuality(), CSCGEMMotherboard::findQualityGEM(), operator<<(), operator==(), operator>(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
return halfstrip that goes from 0 to 31
Definition at line 65 of file CSCCLCTDigi.h.
References strip_.
Referenced by CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2007::addCLCT0(), CSCTMBHeader2006::addCLCT1(), CSCTMBHeader2007::addCLCT1(), operator<<(), and print().
|
inline |
return striptype
Definition at line 53 of file CSCCLCTDigi.h.
References striptype_.
Referenced by CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2006::addCLCT1(), CSCCathodeLCTAnalyzer::lctDigis(), operator<<(), operator==(), and print().
|
inline |
return track number (1,2)
Definition at line 83 of file CSCCLCTDigi.h.
References trknmb_.
Referenced by operator<<(), and print().
|
inline |
check CLCT validity (1 - valid CLCT)
Definition at line 35 of file CSCCLCTDigi.h.
References valid_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2007_rev0x50c3::addCLCT0(), CSCTMBHeader2013::addCLCT0(), CSCTMBHeader2007::addCLCT0(), CSCTMBHeader2006::addCLCT1(), CSCTMBHeader2007_rev0x50c3::addCLCT1(), CSCTMBHeader2013::addCLCT1(), CSCTMBHeader2007::addCLCT1(), CSCGEMMotherboard::bestMatchingPad(), CSCGEMMotherboard::constructLCTsGEM(), CSCUpgradeMotherboard::correlateLCTs(), CSCMotherboard::correlateLCTs(), CSCGEMMotherboardME21::correlateLCTsGEM(), CSCGEMMotherboardME11::correlateLCTsGEM(), CSCMotherboardME11::correlateLCTsME11(), CSCMotherboardLUTME11::doesALCTCrossCLCT(), CSCMotherboard::findQuality(), CSCGEMMotherboard::findQualityGEM(), CSCGEMMotherboard::matchingPads(), operator<<(), operator==(), print(), and core.AutoHandle.AutoHandle::ReallyLoad().
bool CSCCLCTDigi::operator!= | ( | const CSCCLCTDigi & | rhs | ) | const |
True if the preceding one is false.
Definition at line 105 of file CSCCLCTDigi.cc.
Referenced by setFullBX().
bool CSCCLCTDigi::operator== | ( | const CSCCLCTDigi & | rhs | ) | const |
True if the two LCTs have exactly the same members (except the number).
Definition at line 94 of file CSCCLCTDigi.cc.
References getBend(), getBX(), getKeyStrip(), getPattern(), getQuality(), getStripType(), and isValid().
Referenced by setFullBX().
bool CSCCLCTDigi::operator> | ( | const CSCCLCTDigi & | rhs | ) | const |
True if the left-hand side has a larger "quality". Full definition of "quality" depends on quality word itself, pattern type, and strip number.
Definition at line 67 of file CSCCLCTDigi.cc.
References getKeyStrip(), getPattern(), and getQuality().
Referenced by setFullBX().
void CSCCLCTDigi::print | ( | void | ) | const |
Print content of digi.
Debug.
Definition at line 114 of file CSCCLCTDigi.cc.
References getBend(), getBX(), getCFEB(), getFullBX(), getKeyStrip(), getPattern(), getQuality(), getStrip(), getStripType(), getTrknmb(), and isValid().
Referenced by setFullBX().
|
inline |
|
inline |
|
inline |
|
inline |
Set 12-bit full BX.
Definition at line 106 of file CSCCLCTDigi.h.
References fullbx_, operator!=(), operator==(), operator>(), and print().
Referenced by CSCUpgradeCathodeLCTProcessor::findLCTs().
|
inline |
set pattern
Definition at line 50 of file CSCCLCTDigi.h.
References listBenchmarks::pattern, and pattern_.
|
inline |
set quality
Definition at line 44 of file CSCCLCTDigi.h.
References jets_cff::quality, and quality_.
|
inline |
set strip
Definition at line 68 of file CSCCLCTDigi.h.
References digitizers_cfi::strip, and strip_.
|
inline |
|
inline |
Set track number (1,2) after sorting CLCTs.
Definition at line 100 of file CSCCLCTDigi.h.
References trknmb_.
Referenced by CSCCathodeLCTProcessor::run().
|
inline |
|
private |
Definition at line 127 of file CSCCLCTDigi.h.
|
private |
Definition at line 130 of file CSCCLCTDigi.h.
|
private |
Definition at line 129 of file CSCCLCTDigi.h.
Referenced by clear(), getCFEB(), getKeyStrip(), and setCFEB().
|
private |
Definition at line 132 of file CSCCLCTDigi.h.
Referenced by clear(), getFullBX(), and setFullBX().
|
private |
Definition at line 125 of file CSCCLCTDigi.h.
Referenced by clear(), getPattern(), and setPattern().
|
private |
Definition at line 124 of file CSCCLCTDigi.h.
Referenced by clear(), getQuality(), and setQuality().
|
private |
Definition at line 128 of file CSCCLCTDigi.h.
Referenced by clear(), getKeyStrip(), getStrip(), and setStrip().
|
private |
Definition at line 126 of file CSCCLCTDigi.h.
Referenced by clear(), getStripType(), and setStripType().
|
private |
Definition at line 131 of file CSCCLCTDigi.h.
Referenced by clear(), getTrknmb(), and setTrknmb().
|
private |
Definition at line 123 of file CSCCLCTDigi.h.
Referenced by clear(), isValid(), and setValid().