#include <CSCUpgradeMotherboard.h>
Classes | |
class | LCTContainer |
Public Member Functions | |
template<class S > | |
bool | compare (const S &p, const S &q) const |
CSCUpgradeMotherboard (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf) | |
CSCUpgradeMotherboard () | |
void | debugLUTs () |
template<class S > | |
void | intersection (const S &d1, const S &d2, S &result) const |
void | setCSCGeometry (const CSCGeometry *g) |
void | setupGeometry () |
void | sortLCTs (std::vector< CSCCorrelatedLCTDigi > &lcts, bool(*sorter)(const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &)) const |
~CSCUpgradeMotherboard () override | |
Public Member Functions inherited from CSCMotherboard | |
void | clear () |
CSCMotherboard (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf) | |
CSCMotherboard () | |
std::vector< CSCCorrelatedLCTDigi > | getLCTs () const |
std::vector< CSCCorrelatedLCTDigi > | readoutLCTs () const |
void | run (const std::vector< int > w_time[CSCConstants::NUM_LAYERS][CSCConstants::MAX_NUM_WIRES], const std::vector< int > hs_times[CSCConstants::NUM_LAYERS][CSCConstants::NUM_HALF_STRIPS_7CFEBS], const std::vector< int > ds_times[CSCConstants::NUM_LAYERS][CSCConstants::NUM_HALF_STRIPS_7CFEBS]) |
void | run (const CSCWireDigiCollection *wiredc, const CSCComparatorDigiCollection *compdc) |
void | setConfigParameters (const CSCDBL1TPParameters *conf) |
void | setCSCGeometry (const CSCGeometry *g) |
virtual | ~CSCMotherboard ()=default |
Static Public Member Functions | |
static bool | sortLCTsByGEMDphi (const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &) |
static bool | sortLCTsByQuality (const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &) |
Additional Inherited Members | |
Public Attributes inherited from CSCMotherboard | |
std::unique_ptr< CSCAnodeLCTProcessor > | alct |
std::unique_ptr< CSCCathodeLCTProcessor > | clct |
Protected Types inherited from CSCMotherboard | |
enum | LCT_Quality { INVALID = 0, NO_CLCT = 1, NO_ALCT = 2, CLCT_LAYER_TRIGGER = 3, LOW_QUALITY = 4, MARGINAL_ANODE_CATHODE = 5, HQ_ANODE_MARGINAL_CATHODE = 6, HQ_CATHODE_MARGINAL_ANODE = 7, HQ_ACCEL_ALCT = 8, HQ_RESERVED_1 = 9, HQ_RESERVED_2 = 10, HQ_PATTERN_2_3 = 11, HQ_PATTERN_4_5 = 12, HQ_PATTERN_6_7 = 13, HQ_PATTERN_8_9 = 14, HQ_PATTERN_10 = 15 } |
Protected Member Functions inherited from CSCMotherboard | |
void | checkConfigParameters () |
CSCCorrelatedLCTDigi | constructLCTs (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT, int type, int trknmb) const |
void | correlateLCTs (const CSCALCTDigi &bestALCT, const CSCALCTDigi &secondALCT, const CSCCLCTDigi &bestCLCT, const CSCCLCTDigi &secondCLCT, int type) |
void | dumpConfigParams () const |
unsigned int | encodePattern (const int ptn, const int highPt) const |
unsigned int | findQuality (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT) const |
CSCALCTDigi | getBXShiftedALCT (const CSCALCTDigi &) const |
void | testLCT () |
Static Protected Attributes inherited from CSCMotherboard | |
static const unsigned int | def_alct_trig_enable = 0 |
static const unsigned int | def_clct_trig_enable = 0 |
static const unsigned int | def_match_trig_enable = 1 |
static const unsigned int | def_match_trig_window_size = 7 |
static const unsigned int | def_mpc_block_me1a = 1 |
static const unsigned int | def_tmb_l1a_window_size = 7 |
Base class for upgrade TMBs (MEX/1) chambers, that either run the upgrade CSC-only TMB algorithm or the CSC-GEM algorithm
Definition at line 38 of file CSCUpgradeMotherboard.h.
CSCUpgradeMotherboard::CSCUpgradeMotherboard | ( | unsigned | endcap, |
unsigned | station, | ||
unsigned | sector, | ||
unsigned | subsector, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | conf | ||
) |
Definition at line 35 of file CSCUpgradeMotherboard.cc.
References CSCTriggerNumbering::chamberFromTriggerLabels(), clct_to_alct, commonParams_, debug_luts, debug_matching, drop_used_clcts, Even, generator_, edm::ParameterSet::getParameter(), CSCMotherboard::isSLHC, funct::m, match_earliest_alct_only, match_earliest_clct_only, CSCMotherboard::match_trig_window_size, max_lcts, Odd, or, par, pref, theChamber, CSCMotherboard::theEndcap, theRegion, CSCMotherboard::theSector, CSCMotherboard::theStation, CSCMotherboard::theSubsector, CSCMotherboard::theTrigChamber, tmb_cross_bx_algo, and tmbParams_.
CSCUpgradeMotherboard::CSCUpgradeMotherboard | ( | ) |
Definition at line 72 of file CSCUpgradeMotherboard.cc.
References funct::m, CSCMotherboard::match_trig_window_size, and pref.
|
override |
Definition at line 82 of file CSCUpgradeMotherboard.cc.
Definition at line 146 of file CSCUpgradeMotherboard.h.
Referenced by intersection().
void CSCUpgradeMotherboard::debugLUTs | ( | ) |
Definition at line 86 of file CSCUpgradeMotherboard.cc.
References debug_luts, generator_, CSCMotherboard::theEndcap, CSCMotherboard::theSector, CSCMotherboard::theStation, CSCMotherboard::theSubsector, and CSCMotherboard::theTrigChamber.
Referenced by CSCGEMMotherboardME11::run(), CSCGEMMotherboardME21::run(), and setCSCGeometry().
void CSCUpgradeMotherboard::intersection | ( | const S & | d1, |
const S & | d2, | ||
S & | result | ||
) | const |
Definition at line 152 of file CSCUpgradeMotherboard.h.
References compare(), AlCaHLTBitMon_ParallelJobs::p, and lumiQueryAPI::q.
Referenced by CSCGEMMotherboard::matchingPads().
|
inline |
Definition at line 98 of file CSCUpgradeMotherboard.h.
References csc_g, debugLUTs(), g, and setupGeometry().
Referenced by CSCTriggerPrimitivesBuilder::build().
void CSCUpgradeMotherboard::setupGeometry | ( | ) |
Definition at line 109 of file CSCUpgradeMotherboard.cc.
References CSCGeometry::chamber(), CSCTriggerNumbering::chamberFromTriggerLabels(), csc_g, cscChamber, generator_, CSCMotherboard::theEndcap, CSCMotherboard::theSector, CSCMotherboard::theStation, CSCMotherboard::theSubsector, and CSCMotherboard::theTrigChamber.
Referenced by setCSCGeometry(), and CSCGEMMotherboard::setupGeometry().
void CSCUpgradeMotherboard::sortLCTs | ( | std::vector< CSCCorrelatedLCTDigi > & | lcts, |
bool(*)(const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &) | sorter | ||
) | const |
Definition at line 101 of file CSCUpgradeMotherboard.cc.
References max_lcts, and MCScenario_CRAFT1_22X::sorter().
Referenced by CSCMotherboardME3141::readoutLCTs(), CSCGEMMotherboardME21::readoutLCTs(), and CSCGEMMotherboardME11::sortLCTs().
|
static |
Definition at line 96 of file CSCUpgradeMotherboard.cc.
Referenced by CSCGEMMotherboardME21::readoutLCTs(), and CSCGEMMotherboardME11::readoutLCTs().
|
static |
Methods to sort the LCTs
Definition at line 91 of file CSCUpgradeMotherboard.cc.
References CSCCorrelatedLCTDigi::getQuality().
Referenced by CSCMotherboardME3141::readoutLCTs(), CSCGEMMotherboardME21::readoutLCTs(), and CSCGEMMotherboardME11::readoutLCTs().
|
protected |
Definition at line 115 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboardME11::getALCTs1b(), CSCMotherboardME3141::run(), CSCGEMMotherboardME21::run(), and CSCGEMMotherboardME11::run().
|
protected |
if true: use regular CLCT-to-ALCT matching in TMB if false: do ALCT-to-CLCT matching
Definition at line 127 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard().
|
protected |
Definition at line 110 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboardME11::CSCGEMMotherboardME11(), and CSCUpgradeMotherboard().
|
protected |
Definition at line 112 of file CSCUpgradeMotherboard.h.
Referenced by CSCMotherboardME3141::run(), CSCGEMMotherboardME21::run(), CSCGEMMotherboardME11::run(), setCSCGeometry(), and setupGeometry().
|
protected |
Definition at line 113 of file CSCUpgradeMotherboard.h.
Referenced by CSCMotherboardME3141::run(), CSCGEMMotherboardME21::run(), CSCGEMMotherboardME11::run(), and setupGeometry().
|
protected |
Definition at line 142 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), and debugLUTs().
|
protected |
Definition at line 139 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), CSCMotherboardME3141::run(), CSCGEMMotherboardME11::run(), and CSCGEMMotherboardME21::run().
|
protected |
whether to not reuse CLCTs that were used by previous matching ALCTs in ALCT-to-CLCT algorithm
Definition at line 131 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), CSCMotherboardME3141::run(), CSCGEMMotherboardME11::run(), and CSCGEMMotherboardME21::run().
|
protected |
Definition at line 117 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), debugLUTs(), setupGeometry(), and CSCGEMMotherboard::setupGeometry().
|
protected |
Definition at line 122 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard().
|
protected |
Definition at line 123 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), CSCMotherboardME3141::run(), CSCGEMMotherboardME11::run(), and CSCGEMMotherboardME21::run().
|
protected |
maximum lcts per BX in MEX1: 2, 3, 4 or 999
Definition at line 136 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), CSCGEMMotherboardME11::run(), CSCGEMMotherboardME11::sortLCTs(), and sortLCTs().
|
protected |
Definition at line 107 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboard::constructLCTsGEM(), CSCGEMMotherboard::CSCGEMMotherboard(), CSCUpgradeMotherboard(), CSCGEMMotherboard::getPad(), CSCGEMMotherboard::getRoll(), CSCGEMMotherboard::isPadInOverlap(), and CSCGEMMotherboard::matchingPads().
|
protected |
"preferential" index array in matching window for cross-BX sorting
Definition at line 120 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), CSCMotherboardME3141::run(), CSCGEMMotherboardME11::run(), and CSCGEMMotherboardME21::run().
|
protected |
Definition at line 106 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboard::CSCGEMMotherboard(), CSCUpgradeMotherboard(), CSCGEMMotherboard::retrieveGEMCoPads(), and CSCGEMMotherboardME11::run().
|
protected |
Chamber id (trigger-type labels).
Definition at line 105 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboard::CSCGEMMotherboard(), CSCUpgradeMotherboard(), and CSCGEMMotherboard::retrieveGEMCoPads().
|
protected |
Definition at line 133 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), CSCMotherboardME3141::readoutLCTs(), CSCGEMMotherboardME21::readoutLCTs(), CSCGEMMotherboardME11::readoutLCTs(), CSCMotherboardME3141::run(), CSCGEMMotherboardME21::run(), and CSCGEMMotherboardME11::run().
|
protected |
Definition at line 109 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboard::CSCGEMMotherboard(), CSCGEMMotherboardME11::CSCGEMMotherboardME11(), and CSCUpgradeMotherboard().