#include <CSCCorrelatedLCTDigi.h>
Public Types | |
enum | Type { CLCTALCT, ALCTCLCT, ALCTCLCTGEM, ALCTCLCT2GEM, ALCT2GEM, CLCT2GEM } |
SIMULATION ONLY ////. More... | |
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... | |
const CSCALCTDigi & | getALCT () |
int | getBend () const |
return bend More... | |
int | getBX () const |
return BX More... | |
uint16_t | getBX0 () const |
const CSCCLCTDigi & | getCLCT () |
int | getCLCTPattern () const |
return CLCT pattern number (in use again Feb 2011) More... | |
uint16_t | getCSCID () const |
float | getFractionalStrip () const |
return the fractional strip. counts from 0.25 More... | |
const GEMPadDigi & | getGEM1 () |
const GEMPadDigi & | getGEM2 () |
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... | |
int | getType () |
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 | setALCT (const CSCALCTDigi &alct) |
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 | setCLCT (const CSCCLCTDigi &clct) |
void | setCSCID (unsigned int c) |
set cscID More... | |
void | setGEM1 (const GEMPadDigi &gem) |
void | setGEM2 (const GEMPadDigi &gem) |
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 | setType (int type) |
void | setValid (unsigned int v) |
set valid More... | |
void | setWireGroup (unsigned int wiregroup) |
set wiregroup number More... | |
Private Attributes | |
CSCALCTDigi | alct_ |
uint16_t | bend |
uint16_t | bx |
uint16_t | bx0 |
CSCCLCTDigi | clct_ |
uint16_t | cscID |
GEMPadDigi | gem1_ |
GEMPadDigi | gem2_ |
uint16_t | keywire |
uint16_t | mpclink |
uint16_t | pattern |
uint16_t | quality |
uint16_t | strip |
uint16_t | syncErr |
uint16_t | trknmb |
int | type_ |
SIMULATION ONLY ////. More... | |
uint16_t | valid |
Digi for Correlated LCT trigger primitives.
Digi for Correlated LCT trigger primitives.
Definition at line 18 of file CSCCorrelatedLCTDigi.h.
SIMULATION ONLY ////.
Enumerator | |
---|---|
CLCTALCT | |
ALCTCLCT | |
ALCTCLCTGEM | |
ALCTCLCT2GEM | |
ALCT2GEM | |
CLCT2GEM |
Definition at line 118 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(), CSCMotherboardME21GEM::run(), CSCMotherboardME3141RPC::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 |
|
inline |
return bend
Definition at line 55 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::EMTFHit2016::ImportCSCCorrelatedLCTDigi(), operator<<(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
return BX
Definition at line 58 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::EMTFHit2016::ImportCSCCorrelatedLCTDigi(), operator<<(), print(), L1TMuonEndCapTrackProducer::produce(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
Definition at line 70 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::EMTFHit2016Extra::ImportCSCCorrelatedLCTDigi(), operator<<(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
|
inline |
return CLCT pattern number (in use again Feb 2011)
Definition at line 61 of file CSCCorrelatedLCTDigi.h.
|
inline |
Definition at line 69 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::EMTFHit2016::ImportCSCCorrelatedLCTDigi(), operator<<(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
float CSCCorrelatedLCTDigi::getFractionalStrip | ( | ) | const |
return the fractional strip. counts from 0.25
return the fractional strip
Definition at line 59 of file CSCCorrelatedLCTDigi.cc.
References f, and getStrip().
Referenced by CSCComparatorDigiFitter::fit(), and getStrip().
|
inline |
|
inline |
|
inline |
return the key wire group. counts from 0.
Definition at line 43 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(), CSCComparatorDigiFitter::fit(), CSCComparatorDigiFitter::getComparatorDigiCoordinates(), AngleConverter::getGlobalEta(), l1t::EMTFHit2016::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 67 of file CSCCorrelatedLCTDigi.h.
References mpclink.
Referenced by l1t::EMTFHit2016::ImportCSCCorrelatedLCTDigi(), operator<<(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
return pattern
Definition at line 52 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::EMTFHit2016::ImportCSCCorrelatedLCTDigi(), CSCComparatorDigiFitter::matchingComparatorDigisLCT(), operator<<(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
return the 4 bit Correlated LCT Quality
Definition at line 40 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::EMTFHit2016::ImportCSCCorrelatedLCTDigi(), csctf::TrackStub::operator<(), operator<<(), csctf::TrackStub::operator>(), print(), CSCMotherboard::sortByQuality(), CSCUpgradeMotherboard::sortLCTsByQuality(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
return the key halfstrip from 0,159
Definition at line 46 of file CSCCorrelatedLCTDigi.h.
References getFractionalStrip(), and strip.
Referenced by CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2007::addCorrelatedLCT1(), getFractionalStrip(), AngleConverter::getGlobalEta(), AngleConverter::getProcessorPhi(), l1t::EMTFHit2016::ImportCSCCorrelatedLCTDigi(), CSCComparatorDigiFitter::matchingComparatorDigisLCT(), operator<<(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
|
inline |
Definition at line 71 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::EMTFHit2016::ImportCSCCorrelatedLCTDigi(), operator<<(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
return track number
Definition at line 34 of file CSCCorrelatedLCTDigi.h.
References trknmb.
Referenced by l1t::EMTFHit2016::ImportCSCCorrelatedLCTDigi(), L1EmulBias::ModifyCollection(), csctf::TrackStub::operator<(), operator<<(), csctf::TrackStub::operator>(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
Definition at line 126 of file CSCCorrelatedLCTDigi.h.
References type_.
Referenced by Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getDaughterObjects(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getObjectRef(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::getShortType(), and Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::properties().
|
inline |
return valid pattern bit
Definition at line 37 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::EMTFHit2016::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 64 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 72 of file CSCCorrelatedLCTDigi.cc.
References getBend(), getBX(), getKeyWG(), getMPCLink(), getPattern(), getQuality(), getStrip(), getTrknmb(), and isValid().
Referenced by setMPCLink().
|
inline |
Definition at line 129 of file CSCCorrelatedLCTDigi.h.
References alct_.
Referenced by CSCMotherboardME21GEM::constructLCTsGEM(), CSCMotherboardME11GEM::constructLCTsGEM(), CSCMotherboardME21GEM::correlateLCTsGEM(), and CSCMotherboardME11GEM::correlateLCTsGEM().
|
inline |
|
inline |
set bx
Definition at line 106 of file CSCCorrelatedLCTDigi.h.
References b.
Referenced by L1TMuonEndCapTrackProducer::produce().
|
inline |
|
inline |
Definition at line 130 of file CSCCorrelatedLCTDigi.h.
References clct_.
Referenced by CSCMotherboardME21GEM::correlateLCTsGEM(), and CSCMotherboardME11GEM::correlateLCTsGEM().
|
inline |
set cscID
Definition at line 115 of file CSCCorrelatedLCTDigi.h.
References EnergyCorrector::c, and cscID.
|
inline |
Definition at line 131 of file CSCCorrelatedLCTDigi.h.
References gem1_.
Referenced by CSCMotherboardME21GEM::correlateLCTsGEM(), and CSCMotherboardME11GEM::correlateLCTsGEM().
|
inline |
|
inline |
Set mpc link number after MPC sorting.
Definition at line 77 of file CSCCorrelatedLCTDigi.h.
References mpclink, operator==(), and print().
|
inline |
set pattern
Definition at line 100 of file CSCCorrelatedLCTDigi.h.
References AlCaHLTBitMon_ParallelJobs::p.
|
inline |
|
inline |
|
inline |
set syncErr
Definition at line 112 of file CSCCorrelatedLCTDigi.h.
References alignCSCRings::s, and syncErr.
|
inline |
Set track number (1,2) after sorting LCTs.
Definition at line 74 of file CSCCorrelatedLCTDigi.h.
Referenced by CSCMotherboardME11::correlateLCTs(), CSCMotherboard::correlateLCTs(), CSCMotherboardME21GEM::correlateLCTsGEM(), CSCMotherboardME11GEM::correlateLCTsGEM(), CSCMotherboardME3141RPC::correlateLCTsRPC(), and L1EmulBias::ModifyCollection().
|
inline |
Definition at line 127 of file CSCCorrelatedLCTDigi.h.
References type_.
Referenced by CSCMotherboard::constructLCTs(), CSCMotherboardME21GEM::correlateLCTsGEM(), and CSCMotherboardME11GEM::correlateLCTsGEM().
|
inline |
|
inline |
|
private |
Definition at line 155 of file CSCCorrelatedLCTDigi.h.
|
private |
Definition at line 145 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getBend(), and operator==().
|
private |
Definition at line 146 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getBX(), and operator==().
|
private |
Definition at line 148 of file CSCCorrelatedLCTDigi.h.
|
private |
Definition at line 156 of file CSCCorrelatedLCTDigi.h.
|
private |
Definition at line 150 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getCSCID(), and setCSCID().
|
private |
Definition at line 157 of file CSCCorrelatedLCTDigi.h.
|
private |
Definition at line 158 of file CSCCorrelatedLCTDigi.h.
|
private |
Definition at line 142 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getKeyWG(), and operator==().
|
private |
Definition at line 147 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getMPCLink(), operator==(), and setMPCLink().
|
private |
Definition at line 144 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getPattern(), operator==(), and dataset.BaseDataset::printFiles().
|
private |
Definition at line 141 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getQuality(), and operator==().
|
private |
Definition at line 143 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getStrip(), and operator==().
|
private |
Definition at line 149 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getSyncErr(), and setSyncErr().
|
private |
Definition at line 139 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getTrknmb(), and operator==().
|
private |
SIMULATION ONLY ////.
Definition at line 153 of file CSCCorrelatedLCTDigi.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), getType(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and setType().
|
private |
Definition at line 140 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), isValid(), and operator==().