#include <CSCCorrelatedLCTDigi.h>
Public Types | |
enum | Type { CLCTALCT, ALCTCLCT, ALCTCLCTGEM, ALCTCLCT2GEM, ALCT2GEM, CLCT2GEM, CLCTONLY, ALCTONLY } |
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 () const |
int | getBend () const |
return bend More... | |
int | getBX () const |
return BX More... | |
uint16_t | getBX0 () const |
const CSCCLCTDigi & | getCLCT () const |
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 |
const GEMPadDigi & | getGEM2 () 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... | |
int | getType () const |
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 | |
CLCTONLY | |
ALCTONLY |
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(), 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 |
Definition at line 135 of file CSCCorrelatedLCTDigi.h.
References alct_.
Referenced by L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
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(), 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(), operator<<(), print(), 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(), operator<<(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
Definition at line 136 of file CSCCorrelatedLCTDigi.h.
References clct_.
Referenced by L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
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(), 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(), 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 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(), 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(), csctf::TrackStub::operator<(), operator<<(), csctf::TrackStub::operator>(), print(), 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(), 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(), operator<<(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
return track number
Definition at line 34 of file CSCCorrelatedLCTDigi.h.
References trknmb.
Referenced by L1EmulBias::ModifyCollection(), csctf::TrackStub::operator<(), operator<<(), csctf::TrackStub::operator>(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().
|
inline |
Definition at line 128 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(), CSCGEMMotherboardME21::correlateLCTsGEM(), 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 131 of file CSCCorrelatedLCTDigi.h.
References alct_.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
set bend
Definition at line 103 of file CSCCorrelatedLCTDigi.h.
References b.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
set bx
Definition at line 106 of file CSCCorrelatedLCTDigi.h.
References b.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
set bx0
Definition at line 109 of file CSCCorrelatedLCTDigi.h.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
Definition at line 132 of file CSCCorrelatedLCTDigi.h.
References clct_.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
set cscID
Definition at line 115 of file CSCCorrelatedLCTDigi.h.
References EnergyCorrector::c, and cscID.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
Definition at line 133 of file CSCCorrelatedLCTDigi.h.
References mixOne_premix_on_sim_cfi::gem, and gem1_.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
Definition at line 134 of file CSCCorrelatedLCTDigi.h.
References mixOne_premix_on_sim_cfi::gem, and gem2_.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
Set mpc link number after MPC sorting.
Definition at line 77 of file CSCCorrelatedLCTDigi.h.
References mpclink, operator==(), and print().
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
set pattern
Definition at line 100 of file CSCCorrelatedLCTDigi.h.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
set quality code
Definition at line 91 of file CSCCorrelatedLCTDigi.h.
References lumiQueryAPI::q.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
set strip
Definition at line 97 of file CSCCorrelatedLCTDigi.h.
References alignCSCRings::s.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
set syncErr
Definition at line 112 of file CSCCorrelatedLCTDigi.h.
References alignCSCRings::s, and syncErr.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
Set track number (1,2) after sorting LCTs.
Definition at line 74 of file CSCCorrelatedLCTDigi.h.
Referenced by CSCGEMMotherboard::constructLCTsGEM(), and L1EmulBias::ModifyCollection().
|
inline |
Definition at line 129 of file CSCCorrelatedLCTDigi.h.
References type_.
Referenced by CSCMotherboard::constructLCTs(), and CSCGEMMotherboard::constructLCTsGEM().
|
inline |
set valid
Definition at line 94 of file CSCCorrelatedLCTDigi.h.
References findQualityFiles::v.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
inline |
set wiregroup number
Definition at line 88 of file CSCCorrelatedLCTDigi.h.
Referenced by CSCGEMMotherboard::constructLCTsGEM().
|
private |
Definition at line 157 of file CSCCorrelatedLCTDigi.h.
|
private |
Definition at line 147 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getBend(), and operator==().
|
private |
Definition at line 148 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getBX(), and operator==().
|
private |
Definition at line 150 of file CSCCorrelatedLCTDigi.h.
|
private |
Definition at line 158 of file CSCCorrelatedLCTDigi.h.
|
private |
Definition at line 152 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getCSCID(), and setCSCID().
|
private |
Definition at line 159 of file CSCCorrelatedLCTDigi.h.
|
private |
Definition at line 160 of file CSCCorrelatedLCTDigi.h.
|
private |
Definition at line 144 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getKeyWG(), and operator==().
|
private |
Definition at line 149 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getMPCLink(), operator==(), and setMPCLink().
|
private |
Definition at line 146 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getPattern(), operator==(), and dataset.BaseDataset::printFiles().
|
private |
Definition at line 143 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getQuality(), and operator==().
|
private |
Definition at line 145 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getStrip(), and operator==().
|
private |
Definition at line 151 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getSyncErr(), and setSyncErr().
|
private |
Definition at line 141 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), getTrknmb(), and operator==().
|
private |
SIMULATION ONLY ////.
Definition at line 155 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 142 of file CSCCorrelatedLCTDigi.h.
Referenced by clear(), isValid(), and operator==().