#include <CSCUpgradeMotherboard.h>
Classes | |
class | LCTContainer |
Public Member Functions | |
template<class S > | |
bool | compare (const S &p, const S &q) |
CSCUpgradeMotherboard (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf) | |
CSCUpgradeMotherboard () | |
void | debugLUTs () |
template<class S > | |
S | intersection (const S &d1, const S &d2) |
void | setCSCGeometry (const CSCGeometry *g) |
void | setupGeometry () |
void | sortLCTs (std::vector< CSCCorrelatedLCTDigi > &lcts, bool(*sorter)(const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &)) |
virtual | ~CSCUpgradeMotherboard () |
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 () |
std::vector< CSCCorrelatedLCTDigi > | readoutLCTs () |
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) |
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 | { MAX_LCT_BINS = 16 } |
Protected Member Functions inherited from CSCMotherboard | |
void | checkConfigParameters () |
CSCCorrelatedLCTDigi | constructLCTs (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT) |
void | correlateLCTs (CSCALCTDigi bestALCT, CSCALCTDigi secondALCT, CSCCLCTDigi bestCLCT, CSCCLCTDigi secondCLCT) |
void | dumpConfigParams () const |
unsigned int | encodePattern (const int ptn, const int highPt) |
unsigned int | findQuality (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT) |
void | testLCT () |
Static Protected Member Functions inherited from CSCMotherboard | |
static bool | sortByGEMDphi (const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &) |
static bool | sortByQuality (const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &) |
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 |
Definition at line 26 of file CSCUpgradeMotherboard.h.
CSCUpgradeMotherboard::CSCUpgradeMotherboard | ( | unsigned | endcap, |
unsigned | station, | ||
unsigned | sector, | ||
unsigned | subsector, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | conf | ||
) |
Definition at line 21 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 58 of file CSCUpgradeMotherboard.cc.
References funct::m, CSCMotherboard::match_trig_window_size, and pref.
|
virtual |
Definition at line 68 of file CSCUpgradeMotherboard.cc.
void CSCUpgradeMotherboard::debugLUTs | ( | ) |
Definition at line 72 of file CSCUpgradeMotherboard.cc.
References debug_luts, generator_, CSCMotherboard::theEndcap, CSCMotherboard::theSector, CSCMotherboard::theStation, CSCMotherboard::theSubsector, and CSCMotherboard::theTrigChamber.
Referenced by setCSCGeometry().
Definition at line 116 of file CSCUpgradeMotherboard.h.
References compare(), AlCaHLTBitMon_ParallelJobs::p, lumiQueryAPI::q, mps_fire::result, and S().
Referenced by CSCGEMMotherboard::matchingPads().
|
inline |
Definition at line 62 of file CSCUpgradeMotherboard.h.
References csc_g, debugLUTs(), g, and setupGeometry().
void CSCUpgradeMotherboard::setupGeometry | ( | ) |
Definition at line 93 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 | ||
) |
Definition at line 87 of file CSCUpgradeMotherboard.cc.
References max_lcts, and MCScenario_CRAFT1_22X::sorter().
|
static |
Definition at line 82 of file CSCUpgradeMotherboard.cc.
|
static |
Methods to sort the LCTs
Definition at line 77 of file CSCUpgradeMotherboard.cc.
References CSCCorrelatedLCTDigi::getQuality().
|
protected |
Definition at line 79 of file CSCUpgradeMotherboard.h.
|
protected |
if true: use regular CLCT-to-ALCT matching in TMB if false: do ALCT-to-CLCT matching
Definition at line 91 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard().
|
protected |
Definition at line 74 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard().
|
protected |
Definition at line 76 of file CSCUpgradeMotherboard.h.
Referenced by setCSCGeometry(), and setupGeometry().
|
protected |
Definition at line 77 of file CSCUpgradeMotherboard.h.
Referenced by setupGeometry().
|
protected |
Definition at line 106 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), and debugLUTs().
|
protected |
Definition at line 103 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard().
|
protected |
whether to not reuse CLCTs that were used by previous matching ALCTs in ALCT-to-CLCT algorithm
Definition at line 95 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard().
|
protected |
Definition at line 81 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), debugLUTs(), setupGeometry(), and CSCGEMMotherboard::setupGeometry().
|
protected |
Definition at line 86 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard().
|
protected |
Definition at line 87 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard().
|
protected |
maximum lcts per BX in MEX1: 2, 3, 4 or 999
Definition at line 100 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), and sortLCTs().
|
protected |
Definition at line 71 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboard::constructLCTsGEM(), CSCGEMMotherboard::CSCGEMMotherboard(), CSCUpgradeMotherboard(), CSCGEMMotherboard::getAvePad(), CSCGEMMotherboard::getRoll(), CSCGEMMotherboard::isPadInOverlap(), and CSCGEMMotherboard::matchingPads().
|
protected |
"preferential" index array in matching window for cross-BX sorting
Definition at line 84 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard().
|
protected |
Definition at line 70 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboard::CSCGEMMotherboard(), and CSCUpgradeMotherboard().
|
protected |
Chamber id (trigger-type labels).
Definition at line 69 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboard::CSCGEMMotherboard(), and CSCUpgradeMotherboard().
|
protected |
Definition at line 97 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard().
|
protected |
Definition at line 73 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboard::CSCGEMMotherboard(), and CSCUpgradeMotherboard().