#include <CSCALCTDigi.h>
Public Member Functions | |
void | clear () |
clear this ALCT More... | |
CSCALCTDigi (const int valid, const int quality, const int accel, const int patternb, const int keywire, const int bx, const int trknmb=0) | |
Constructors. More... | |
CSCALCTDigi () | |
default More... | |
int | getAccelerator () const |
int | getBX () const |
return BX - five low bits of BXN counter tagged by the ALCT More... | |
int | getCollisionB () const |
int | getFullBX () const |
return 12-bit full BX. More... | |
int | getKeyWG () const |
return key wire group More... | |
int | getQuality () const |
return quality of a pattern More... | |
int | getTrknmb () const |
return track number (1,2) More... | |
bool | isValid () const |
check ALCT validity (1 - valid ALCT) More... | |
bool | operator!= (const CSCALCTDigi &) const |
True if the preceding one is false. More... | |
bool | operator== (const CSCALCTDigi &) const |
True if all members (except the number) of both ALCTs are equal. More... | |
bool | operator> (const CSCALCTDigi &) const |
void | print () const |
Print content of digi. More... | |
void | setFullBX (const uint16_t fullbx) |
Set 12-bit full BX. More... | |
void | setTrknmb (const uint16_t number) |
Set track number (1,2) after sorting ALCTs. More... | |
void | setWireGroup (unsigned int wiregroup) |
set wiregroup number More... | |
Private Attributes | |
uint16_t | accel_ |
uint16_t | bx_ |
uint16_t | fullbx_ |
uint16_t | keywire_ |
uint16_t | patternb_ |
uint16_t | quality_ |
uint16_t | trknmb_ |
uint16_t | valid_ |
Digi for ALCT trigger primitives.
Definition at line 15 of file CSCALCTDigi.h.
CSCALCTDigi::CSCALCTDigi | ( | const int | valid, |
const int | quality, | ||
const int | accel, | ||
const int | patternb, | ||
const int | keywire, | ||
const int | bx, | ||
const int | trknmb = 0 |
||
) |
Constructors.
Definition at line 17 of file CSCALCTDigi.cc.
References HLT_25ns10e33_v2_cff::quality, and sistrip::valid_.
CSCALCTDigi::CSCALCTDigi | ( | ) |
void CSCALCTDigi::clear | ( | void | ) |
clear this ALCT
Clears this ALCT.
Definition at line 35 of file CSCALCTDigi.cc.
References sistrip::valid_.
Referenced by CSCAnodeLCTProcessor::clear(), Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), CSCMotherboardME11::correlateLCTs(), CSCMotherboardME11GEM::correlateLCTsGEM(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), CSCAnodeLCTProcessor::lctSearch(), 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 Accelerator bit 1-Accelerator pattern, 0-CollisionA or CollisionB pattern
Definition at line 37 of file CSCALCTDigi.h.
References accel_.
Referenced by CSCALCTs2006::addALCT0(), CSCALCTs2006::addALCT1(), CSCMotherboard::findQuality(), CSCMotherboardME21GEM::findQualityGEM(), CSCMotherboardME11GEM::findQualityGEM(), CSCMotherboardME3141RPC::findQualityRPC(), CSCAnodeLCTProcessor::isBetterALCT(), operator<<(), and operator==().
|
inline |
return BX - five low bits of BXN counter tagged by the ALCT
Definition at line 48 of file CSCALCTDigi.h.
References bx_.
Referenced by CSCALCTs2006::addALCT0(), CSCALCTs2006::addALCT1(), CSCAnodeLCTProcessor::bestTrackSelector(), CSCMotherboard::constructLCTs(), CSCMotherboardME21GEM::constructLCTsGEM(), CSCMotherboardME11GEM::constructLCTsGEM(), CSCMotherboardME3141RPC::constructLCTsRPC(), CSCAnodeLCTProcessor::isBetterALCT(), CSCMotherboardME21GEM::matchingGEMPads(), operator<<(), operator==(), operator>(), and CSCMotherboard::testLCT().
|
inline |
return Collision Pattern B bit 1-CollisionB pattern (accel_ = 0), 0-CollisionA pattern (accel_ = 0)
Definition at line 42 of file CSCALCTDigi.h.
References patternb_.
Referenced by CSCALCTs2006::addALCT0(), CSCALCTs2006::addALCT1(), operator<<(), and operator==().
|
inline |
return 12-bit full BX.
Definition at line 57 of file CSCALCTDigi.h.
References fullbx_.
Referenced by CSCAnodeLCTProcessor::lctSearch().
|
inline |
return key wire group
Definition at line 45 of file CSCALCTDigi.h.
References keywire_.
Referenced by CSCALCTs2006::addALCT0(), CSCALCTs2006::addALCT1(), CSCAnodeLCTProcessor::bestTrackSelector(), CSCMotherboard::constructLCTs(), CSCMotherboardME21GEM::constructLCTsGEM(), CSCMotherboardME11GEM::constructLCTsGEM(), CSCMotherboardME3141RPC::constructLCTsRPC(), CSCMotherboardME11GEM::correlateLCTsGEM(), CSCMotherboardME11::doesALCTCrossCLCT(), CSCMotherboardME11GEM::doesALCTCrossCLCT(), CSCAnodeLCTProcessor::isBetterALCT(), CSCMotherboardME21GEM::matchingGEMPads(), CSCMotherboardME11GEM::matchingGEMPads(), CSCMotherboardME3141RPC::matchingRPCDigis(), operator<<(), operator==(), operator>(), and CSCMotherboard::testLCT().
|
inline |
return quality of a pattern
Definition at line 33 of file CSCALCTDigi.h.
References quality_.
Referenced by CSCALCTs2006::addALCT0(), CSCALCTs2006::addALCT1(), CSCAnodeLCTProcessor::bestTrackSelector(), CSCMotherboard::findQuality(), CSCMotherboardME21GEM::findQualityGEM(), CSCMotherboardME11GEM::findQualityGEM(), CSCMotherboardME3141RPC::findQualityRPC(), CSCAnodeLCTProcessor::isBetterALCT(), operator<<(), operator==(), and operator>().
|
inline |
return track number (1,2)
Definition at line 51 of file CSCALCTDigi.h.
References trknmb_.
Referenced by operator<<().
|
inline |
check ALCT validity (1 - valid ALCT)
Definition at line 30 of file CSCALCTDigi.h.
References valid_.
Referenced by CSCALCTs2006::addALCT0(), CSCALCTs2006::addALCT1(), CSCAnodeLCTProcessor::bestTrackSelector(), CSCMotherboard::constructLCTs(), CSCMotherboardME21GEM::constructLCTsGEM(), CSCMotherboardME11GEM::constructLCTsGEM(), CSCMotherboardME3141RPC::constructLCTsRPC(), CSCMotherboardME11::correlateLCTs(), CSCMotherboardME11GEM::correlateLCTs(), CSCMotherboard::correlateLCTs(), CSCMotherboardME21GEM::correlateLCTsGEM(), CSCMotherboardME11GEM::correlateLCTsGEM(), CSCMotherboardME3141RPC::correlateLCTsRPC(), CSCMotherboardME11::doesALCTCrossCLCT(), CSCMotherboardME11GEM::doesALCTCrossCLCT(), CSCMotherboard::findQuality(), CSCMotherboardME21GEM::findQualityGEM(), CSCMotherboardME11GEM::findQualityGEM(), CSCMotherboardME3141RPC::findQualityRPC(), CSCAnodeLCTProcessor::isBetterALCT(), operator<<(), operator==(), and core.AutoHandle.AutoHandle::ReallyLoad().
bool CSCALCTDigi::operator!= | ( | const CSCALCTDigi & | rhs | ) | const |
True if the preceding one is false.
Definition at line 76 of file CSCALCTDigi.cc.
bool CSCALCTDigi::operator== | ( | const CSCALCTDigi & | rhs | ) | const |
True if all members (except the number) of both ALCTs are equal.
Definition at line 64 of file CSCALCTDigi.cc.
References getAccelerator(), getBX(), getCollisionB(), getKeyWG(), getQuality(), and isValid().
bool CSCALCTDigi::operator> | ( | const CSCALCTDigi & | rhs | ) | const |
True if the first ALCT has a larger quality, or if it has the same quality but a larger wire group.
Definition at line 46 of file CSCALCTDigi.cc.
References getBX(), getKeyWG(), and getQuality().
void CSCALCTDigi::print | ( | void | ) | const |
Print content of digi.
Debug.
Definition at line 84 of file CSCALCTDigi.cc.
|
inline |
Set 12-bit full BX.
Definition at line 60 of file CSCALCTDigi.h.
References fullbx_.
Referenced by CSCAnodeLCTProcessor::lctSearch().
|
inline |
Set track number (1,2) after sorting ALCTs.
Definition at line 54 of file CSCALCTDigi.h.
References contentValuesFiles::number, and trknmb_.
Referenced by CSCAnodeLCTProcessor::lctSearch().
|
inline |
|
private |
Definition at line 82 of file CSCALCTDigi.h.
Referenced by getAccelerator().
|
private |
Definition at line 85 of file CSCALCTDigi.h.
Referenced by getBX().
|
private |
Definition at line 87 of file CSCALCTDigi.h.
Referenced by getFullBX(), and setFullBX().
|
private |
Definition at line 84 of file CSCALCTDigi.h.
Referenced by getKeyWG(), and setWireGroup().
|
private |
Definition at line 83 of file CSCALCTDigi.h.
Referenced by getCollisionB().
|
private |
Definition at line 81 of file CSCALCTDigi.h.
Referenced by getQuality().
|
private |
Definition at line 86 of file CSCALCTDigi.h.
Referenced by getTrknmb(), and setTrknmb().
|
private |
Definition at line 80 of file CSCALCTDigi.h.
Referenced by isValid().