#include <CSCUpgradeMotherboard.h>
Classes | |
class | LCTContainer |
Public Member Functions | |
void | clear () |
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 () |
enum CSCPart | getCSCPart (int keystrip) const |
template<class S > | |
void | intersection (const S &d1, const S &d2, S &result) const |
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 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 &) |
Protected Member Functions | |
void | setPrefIndex () |
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 clctPattern) const |
unsigned int | findQuality (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT) const |
CSCALCTDigi | getBXShiftedALCT (const CSCALCTDigi &) const |
Additional Inherited Members | |
Public Attributes inherited from CSCMotherboard | |
std::unique_ptr< CSCAnodeLCTProcessor > | alctProc |
std::unique_ptr< CSCCathodeLCTProcessor > | clctProc |
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 } |
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 57 of file CSCUpgradeMotherboard.cc.
References CSCTriggerNumbering::chamberFromTriggerLabels(), CSCMotherboard::clct_to_alct, debug_luts, debug_matching, CSCMotherboard::drop_used_clcts, Even, generator_, edm::ParameterSet::getParameter(), CSCMotherboard::isSLHC_, match_earliest_alct_only, match_earliest_clct_only, max_lcts, Odd, par, setPrefIndex(), theChamber, CSCMotherboard::theEndcap, theRegion, CSCMotherboard::theSector, CSCMotherboard::theStation, CSCMotherboard::theSubsector, CSCMotherboard::theTrigChamber, tmb_cross_bx_algo, and CSCMotherboard::tmbParams_.
CSCUpgradeMotherboard::CSCUpgradeMotherboard | ( | ) |
Definition at line 90 of file CSCUpgradeMotherboard.cc.
References CSCMotherboard::isSLHC_, and setPrefIndex().
|
override |
Definition at line 100 of file CSCUpgradeMotherboard.cc.
void CSCUpgradeMotherboard::clear | ( | void | ) |
Definition at line 172 of file CSCUpgradeMotherboard.cc.
References allLCTs, CSCUpgradeMotherboard::LCTContainer::clear(), and CSCMotherboard::clear().
Referenced by CSCMotherboardME11::clear(), CSCGEMMotherboard::clear(), and CSCMotherboardME3141::run().
Definition at line 150 of file CSCUpgradeMotherboard.h.
Referenced by intersection().
void CSCUpgradeMotherboard::debugLUTs | ( | ) |
Definition at line 128 of file CSCUpgradeMotherboard.cc.
References debug_luts, generator_, CSCMotherboard::theEndcap, CSCMotherboard::theSector, CSCMotherboard::theStation, CSCMotherboard::theSubsector, and CSCMotherboard::theTrigChamber.
Referenced by CSCGEMMotherboardME11::run(), and CSCGEMMotherboardME21::run().
enum CSCPart CSCUpgradeMotherboard::getCSCPart | ( | int | keystrip | ) | const |
get CSCPart from HS, station, ring number
Definition at line 104 of file CSCUpgradeMotherboard.cc.
References gangedME1a, CSCConstants::MAX_HALF_STRIP_ME1B, ME11, ME1A, ME1Ag, ME1B, ME21, ME31, ME41, or, CSCMotherboard::theRing, and CSCMotherboard::theStation.
Referenced by CSCGEMMotherboard::bestMatchingPad(), CSCGEMMotherboard::constructLCTsGEM(), and CSCGEMMotherboard::matchingPads().
void CSCUpgradeMotherboard::intersection | ( | const S & | d1, |
const S & | d2, | ||
S & | result | ||
) | const |
Definition at line 156 of file CSCUpgradeMotherboard.h.
References compare(), AlCaHLTBitMon_ParallelJobs::p, and lumiQueryAPI::q.
Referenced by CSCGEMMotherboard::matchingPads().
|
protected |
Definition at line 161 of file CSCUpgradeMotherboard.cc.
References funct::m, CSCMotherboard::match_trig_window_size, and pref.
Referenced by CSCUpgradeMotherboard().
void CSCUpgradeMotherboard::setupGeometry | ( | ) |
Definition at line 151 of file CSCUpgradeMotherboard.cc.
References CSCGeometry::chamber(), CSCTriggerNumbering::chamberFromTriggerLabels(), CSCMotherboard::csc_g, cscChamber, generator_, CSCMotherboard::theEndcap, CSCMotherboard::theSector, CSCMotherboard::theStation, CSCMotherboard::theSubsector, and CSCMotherboard::theTrigChamber.
Referenced by CSCGEMMotherboard::setupGeometry().
void CSCUpgradeMotherboard::sortLCTs | ( | std::vector< CSCCorrelatedLCTDigi > & | lcts, |
bool(*)(const CSCCorrelatedLCTDigi &, const CSCCorrelatedLCTDigi &) | sorter | ||
) | const |
Definition at line 143 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 138 of file CSCUpgradeMotherboard.cc.
Referenced by CSCGEMMotherboardME21::readoutLCTs(), and CSCGEMMotherboardME11::readoutLCTs().
|
static |
Methods to sort the LCTs
Definition at line 133 of file CSCUpgradeMotherboard.cc.
References CSCCorrelatedLCTDigi::getQuality().
Referenced by CSCMotherboardME3141::readoutLCTs(), CSCGEMMotherboardME21::readoutLCTs(), and CSCGEMMotherboardME11::readoutLCTs().
|
protected |
for the case when more than 2 LCTs/BX are allowed; maximum match window = 15
Definition at line 116 of file CSCUpgradeMotherboard.h.
Referenced by clear(), CSCMotherboardME11::getLCTs1a(), CSCMotherboardME11::getLCTs1b(), CSCMotherboardME3141::readoutLCTs(), CSCGEMMotherboardME21::readoutLCTs(), CSCGEMMotherboardME11::readoutLCTs(), CSCMotherboardME3141::run(), CSCGEMMotherboardME11::run(), CSCGEMMotherboardME21::run(), CSCMotherboardME11::run(), and CSCGEMMotherboardME11::sortLCTs().
|
protected |
Definition at line 126 of file CSCUpgradeMotherboard.h.
Referenced by CSCMotherboardME3141::run(), CSCGEMMotherboardME21::run(), CSCGEMMotherboardME11::run(), and setupGeometry().
|
protected |
Definition at line 146 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), and debugLUTs().
|
protected |
Definition at line 143 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), CSCMotherboardME3141::run(), CSCGEMMotherboardME11::run(), and CSCGEMMotherboardME21::run().
|
protected |
SLHC: special configuration parameters for ME11 treatment.
Definition at line 124 of file CSCUpgradeMotherboard.h.
Referenced by CSCMotherboardME11::getLCTs1a().
|
protected |
Definition at line 124 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboardME11::doesALCTCrossCLCT(), CSCMotherboardME11::doesALCTCrossCLCT(), and getCSCPart().
|
protected |
Definition at line 128 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), debugLUTs(), setupGeometry(), and CSCGEMMotherboard::setupGeometry().
|
protected |
Definition at line 133 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), and CSCMotherboardME11::run().
|
protected |
Definition at line 134 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), CSCMotherboardME3141::run(), CSCGEMMotherboardME21::run(), CSCGEMMotherboardME11::run(), and CSCMotherboardME11::run().
|
protected |
maximum lcts per BX in MEX1: 2, 3, 4 or 999
Definition at line 140 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), CSCGEMMotherboardME11::sortLCTs(), and sortLCTs().
|
protected |
Definition at line 121 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboard::constructLCTsGEM(), CSCGEMMotherboard::CSCGEMMotherboard(), CSCUpgradeMotherboard(), CSCGEMMotherboard::getPad(), CSCGEMMotherboard::getRoll(), CSCGEMMotherboard::isPadInOverlap(), CSCGEMMotherboard::matchingPads(), and CSCGEMMotherboard::setGEMGeometry().
|
protected |
"preferential" index array in matching window for cross-BX sorting
Definition at line 131 of file CSCUpgradeMotherboard.h.
Referenced by CSCMotherboardME3141::run(), CSCGEMMotherboardME21::run(), CSCMotherboardME11::run(), and setPrefIndex().
|
protected |
Definition at line 120 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboard::CSCGEMMotherboard(), CSCUpgradeMotherboard(), and CSCGEMMotherboard::retrieveGEMCoPads().
|
protected |
Chamber id (trigger-type labels).
Definition at line 119 of file CSCUpgradeMotherboard.h.
Referenced by CSCGEMMotherboard::CSCGEMMotherboard(), CSCUpgradeMotherboard(), and CSCGEMMotherboard::retrieveGEMCoPads().
|
protected |
Definition at line 137 of file CSCUpgradeMotherboard.h.
Referenced by CSCUpgradeMotherboard(), CSCMotherboardME3141::readoutLCTs(), CSCGEMMotherboardME21::readoutLCTs(), CSCGEMMotherboardME11::readoutLCTs(), CSCMotherboardME3141::run(), CSCGEMMotherboardME11::run(), CSCGEMMotherboardME21::run(), and CSCMotherboardME11::run().