#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. counts from 0. 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 CSCMotherboardME11::clear(), CSCMotherboard::clear(), CSCMotherboardME11GEM::clear(), Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), CSCCorrelatedLCTDigi(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), CSCMotherboardME11::run(), CSCMotherboardME3141RPC::run(), CSCMotherboardME21GEM::run(), CSCMotherboardME11GEM::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(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), l1t::EMTFHit::ImportCSCCorrelatedLCTDigi(), operator<<(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
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(), l1t::EMTFHit::ImportCSCCorrelatedLCTDigi(), operator<<(), print(), L1TMuonEndCapTrackProducer::produce(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
Definition at line 64 of file CSCCorrelatedLCTDigi.h.
References bx0.
Referenced by CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), l1t::EMTFHitExtra::ImportCSCCorrelatedLCTDigi(), operator<<(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
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(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), l1t::EMTFHit::ImportCSCCorrelatedLCTDigi(), operator<<(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
return the key wire group. counts from 0.
Definition at line 40 of file CSCCorrelatedLCTDigi.h.
References keywire.
Referenced by CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), AngleConverter::getGlobalEta(), l1t::EMTFHit::ImportCSCCorrelatedLCTDigi(), operator<<(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
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 l1t::EMTFHit::ImportCSCCorrelatedLCTDigi(), operator<<(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
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(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), AngleConverter::getGlobalEta(), l1t::EMTFHit::ImportCSCCorrelatedLCTDigi(), operator<<(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
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(), l1t::EMTFHit::ImportCSCCorrelatedLCTDigi(), csctf::TrackStub::operator<(), operator<<(), csctf::TrackStub::operator>(), print(), CSCMotherboard::sortByQuality(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
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(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), AngleConverter::getGlobalEta(), AngleConverter::getProcessorPhi(), l1t::EMTFHit::ImportCSCCorrelatedLCTDigi(), operator<<(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
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(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), l1t::EMTFHit::ImportCSCCorrelatedLCTDigi(), operator<<(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
return track number
Definition at line 31 of file CSCCorrelatedLCTDigi.h.
References trknmb.
Referenced by l1t::EMTFHit::ImportCSCCorrelatedLCTDigi(), L1EmulBias::ModifyCollection(), csctf::TrackStub::operator<(), operator<<(), csctf::TrackStub::operator>(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
return valid pattern bit
Definition at line 34 of file CSCCorrelatedLCTDigi.h.
References valid.
Referenced by ntupleDataFormat._Object::_checkIsValid(), CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), l1t::EMTFHit::ImportCSCCorrelatedLCTDigi(), csctf::TrackStub::operator<(), operator<<(), csctf::TrackStub::operator>(), print(), core.AutoHandle.AutoHandle::ReallyLoad(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
bool CSCCorrelatedLCTDigi::operator== | ( | const CSCCorrelatedLCTDigi & | rhs | ) | const |
Comparison.
Definition at line 59 of file CSCCorrelatedLCTDigi.cc.
References bend, bx, keywire, mpclink, pattern, quality, strip, trknmb, and valid.
Referenced by operator!=(), and setMPCLink().
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().
Referenced by setMPCLink().
|
inline |
|
inline |
set bx
Definition at line 100 of file CSCCorrelatedLCTDigi.h.
References b.
Referenced by L1TMuonEndCapTrackProducer::produce().
|
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 mpclink, operator==(), and print().
|
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.
Referenced by CSCMotherboardME11::correlateLCTs(), CSCMotherboardME11GEM::correlateLCTs(), CSCMotherboard::correlateLCTs(), CSCMotherboardME21GEM::correlateLCTsGEM(), CSCMotherboardME11GEM::correlateLCTsGEM(), CSCMotherboardME3141RPC::correlateLCTsRPC(), and L1EmulBias::ModifyCollection().
|
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(), operator==(), and dataset.BaseDataset::printFiles().
|
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==().