#include <CSCGEMMotherboard.h>
Public Types | |
typedef std::vector< GEMInternalCluster > | GEMInternalClusters |
Public Member Functions | |
void | clear () |
std::shared_ptr< GEMClusterProcessor > | clusterProc () const |
CSCGEMMotherboard (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf) | |
void | run (const CSCWireDigiCollection *wiredc, const CSCComparatorDigiCollection *compdc, const GEMPadDigiClusterCollection *gemPads) |
void | setGEMGeometry (const GEMGeometry *g) |
~CSCGEMMotherboard () override | |
Public Member Functions inherited from CSCMotherboard | |
void | clear () |
CSCMotherboard (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf) | |
virtual std::vector< CSCCorrelatedLCTDigi > | readoutLCTs () const |
CSCShowerDigi | readoutShower () const |
void | run (const CSCWireDigiCollection *wiredc, const CSCComparatorDigiCollection *compdc) |
void | selectLCTs () |
void | setConfigParameters (const CSCDBL1TPParameters *conf) |
void | setESLookupTables (const CSCL1TPLookupTableCCLUT *conf) |
void | setESLookupTables (const CSCL1TPLookupTableME11ILT *conf) |
void | setESLookupTables (const CSCL1TPLookupTableME21ILT *conf) |
~CSCMotherboard () override=default | |
Public Member Functions inherited from CSCBaseboard | |
CSCBaseboard (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf) | |
CSCBaseboard () | |
std::string | getCSCName () const |
CSCDetId | id () const |
void | setCSCGeometry (const CSCGeometry *g) |
virtual | ~CSCBaseboard ()=default |
Private Attributes | |
bool | assign_gem_csc_bending_ |
bool | build_lct_from_alct_clct_1gem_ |
bool | build_lct_from_alct_clct_2gem_ |
bool | build_lct_from_alct_gem_ |
bool | build_lct_from_clct_gem_ |
bool | build_lct_from_clct_gem_me1a_ |
std::shared_ptr< GEMClusterProcessor > | clusterProc_ |
std::map< int, GEMInternalClusters > | clusters_ |
std::unique_ptr< CSCGEMMatcher > | cscGEMMatcher_ |
bool | drop_low_quality_alct_no_gems_ |
bool | drop_low_quality_clct_no_gems_ |
bool | drop_low_quality_clct_no_gems_me1a_ |
bool | drop_used_gems_ |
const GEMGeometry * | gem_g |
unsigned | gemId |
bool | hasGE21Geometry16Partitions_ |
bool | match_earliest_gem_only_ |
unsigned | max_delta_bx_alct_gem_ |
unsigned | max_delta_bx_clct_gem_ |
Class for TMBs for the GEM-CSC integrated local trigger. Inherits from CSCMotherboard. Provides functionality to match ALCT/CLCT to GEM single clusters or coincidences of clusters
Definition at line 19 of file CSCGEMMotherboard.h.
typedef std::vector<GEMInternalCluster> CSCGEMMotherboard::GEMInternalClusters |
Definition at line 21 of file CSCGEMMotherboard.h.
CSCGEMMotherboard::CSCGEMMotherboard | ( | unsigned | endcap, |
unsigned | station, | ||
unsigned | sector, | ||
unsigned | subsector, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | conf | ||
) |
Definition at line 4 of file CSCGEMMotherboard.cc.
References assign_gem_csc_bending_, build_lct_from_clct_gem_me1a_, clusterProc_, cscGEMMatcher_, drop_low_quality_clct_no_gems_me1a_, drop_used_gems_, gemId, edm::ParameterSet::getParameter(), CSCBaseboard::isME11_, CSCBaseboard::isME21_, match_earliest_gem_only_, max_delta_bx_alct_gem_, max_delta_bx_clct_gem_, CSCMotherboard::qualityAssignment_, DetId::rawId(), CSCBaseboard::runME11ILT_, CSCBaseboard::runME21ILT_, CSCBaseboard::theChamber, CSCBaseboard::theRegion, CSCBaseboard::theStation, and CSCBaseboard::tmbParams_.
|
override |
Definition at line 54 of file CSCGEMMotherboard.cc.
void CSCGEMMotherboard::clear | ( | void | ) |
Definition at line 56 of file CSCGEMMotherboard.cc.
References CSCMotherboard::clear(), and clusterProc_.
Referenced by run().
|
inline |
Definition at line 50 of file CSCGEMMotherboard.h.
References clusterProc_.
Referenced by CSCTriggerPrimitivesBuilder::build().
|
private |
Definition at line 505 of file CSCGEMMotherboard.cc.
References CSCCorrelatedLCTDigi::ALCTCLCT, CSCCorrelatedLCTDigi::ALCTCLCT2GEM, CSCCorrelatedLCTDigi::ALCTCLCTGEM, assign_gem_csc_bending_, cscGEMMatcher_, CSCMotherboard::encodePattern(), mixOne_premix_on_sim_cfi::gem, CSCCLCTDigi::getBend(), CSCALCTDigi::getBX(), CSCMotherboard::getBXShiftedALCT(), CSCMotherboard::getBXShiftedCLCT(), CSCCLCTDigi::getEighthStripBit(), CSCCLCTDigi::getKeyStrip(), CSCALCTDigi::getKeyWG(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getQuartStripBit(), CSCCLCTDigi::getRun3Pattern(), CSCCLCTDigi::getSlope(), CSCMotherboard::qualityAssignment_, CSCBaseboard::runCCLUT_, CSCCorrelatedLCTDigi::setALCT(), CSCCorrelatedLCTDigi::setBend(), CSCCorrelatedLCTDigi::setBX(), CSCCorrelatedLCTDigi::setBX0(), CSCCorrelatedLCTDigi::setCLCT(), CSCCorrelatedLCTDigi::setCSCID(), CSCCorrelatedLCTDigi::setEighthStripBit(), CSCCorrelatedLCTDigi::setGEM1(), CSCCorrelatedLCTDigi::setGEM2(), CSCCorrelatedLCTDigi::setMPCLink(), CSCCorrelatedLCTDigi::setPattern(), CSCCorrelatedLCTDigi::setQuality(), CSCCorrelatedLCTDigi::setQuartStripBit(), CSCCorrelatedLCTDigi::setRun3(), CSCCorrelatedLCTDigi::setRun3Pattern(), CSCCorrelatedLCTDigi::setSlope(), CSCCorrelatedLCTDigi::setStrip(), CSCCorrelatedLCTDigi::setSyncErr(), CSCCorrelatedLCTDigi::setTrknmb(), CSCCorrelatedLCTDigi::setType(), CSCCorrelatedLCTDigi::setValid(), CSCCorrelatedLCTDigi::setWireGroup(), and CSCBaseboard::theTrigChamber.
Referenced by correlateLCTsGEM().
|
private |
Definition at line 547 of file CSCGEMMotherboard.cc.
References assign_gem_csc_bending_, CSCCorrelatedLCTDigi::CLCT2GEM, cscGEMMatcher_, CSCMotherboard::encodePattern(), mixOne_premix_on_sim_cfi::gem, CSCCLCTDigi::getBend(), CSCMotherboard::getBXShiftedCLCT(), CSCCLCTDigi::getEighthStripBit(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getQuartStripBit(), CSCCLCTDigi::getRun3Pattern(), CSCCLCTDigi::getSlope(), CSCMotherboard::qualityAssignment_, CSCBaseboard::runCCLUT_, CSCCorrelatedLCTDigi::setBend(), CSCCorrelatedLCTDigi::setBX(), CSCCorrelatedLCTDigi::setBX0(), CSCCorrelatedLCTDigi::setCLCT(), CSCCorrelatedLCTDigi::setCSCID(), CSCCorrelatedLCTDigi::setEighthStripBit(), CSCCorrelatedLCTDigi::setGEM1(), CSCCorrelatedLCTDigi::setGEM2(), CSCCorrelatedLCTDigi::setMPCLink(), CSCCorrelatedLCTDigi::setPattern(), CSCCorrelatedLCTDigi::setQuality(), CSCCorrelatedLCTDigi::setQuartStripBit(), CSCCorrelatedLCTDigi::setRun3(), CSCCorrelatedLCTDigi::setRun3Pattern(), CSCCorrelatedLCTDigi::setSlope(), CSCCorrelatedLCTDigi::setStrip(), CSCCorrelatedLCTDigi::setSyncErr(), CSCCorrelatedLCTDigi::setTrknmb(), CSCCorrelatedLCTDigi::setType(), CSCCorrelatedLCTDigi::setValid(), CSCCorrelatedLCTDigi::setWireGroup(), and CSCBaseboard::theTrigChamber.
|
private |
Definition at line 580 of file CSCGEMMotherboard.cc.
References CSCCorrelatedLCTDigi::ALCT2GEM, mixOne_premix_on_sim_cfi::gem, CSCALCTDigi::getBX(), CSCMotherboard::getBXShiftedALCT(), CSCALCTDigi::getKeyWG(), CSCMotherboard::qualityAssignment_, CSCBaseboard::runCCLUT_, CSCCorrelatedLCTDigi::setALCT(), CSCCorrelatedLCTDigi::setBend(), CSCCorrelatedLCTDigi::setBX(), CSCCorrelatedLCTDigi::setBX0(), CSCCorrelatedLCTDigi::setCSCID(), CSCCorrelatedLCTDigi::setEighthStripBit(), CSCCorrelatedLCTDigi::setGEM1(), CSCCorrelatedLCTDigi::setGEM2(), CSCCorrelatedLCTDigi::setMPCLink(), CSCCorrelatedLCTDigi::setPattern(), CSCCorrelatedLCTDigi::setQuality(), CSCCorrelatedLCTDigi::setQuartStripBit(), CSCCorrelatedLCTDigi::setRun3(), CSCCorrelatedLCTDigi::setRun3Pattern(), CSCCorrelatedLCTDigi::setSlope(), CSCCorrelatedLCTDigi::setStrip(), CSCCorrelatedLCTDigi::setSyncErr(), CSCCorrelatedLCTDigi::setTrknmb(), CSCCorrelatedLCTDigi::setType(), CSCCorrelatedLCTDigi::setValid(), CSCCorrelatedLCTDigi::setWireGroup(), and CSCBaseboard::theTrigChamber.
|
private |
Definition at line 327 of file CSCGEMMotherboard.cc.
References bsc_activity_cfg::clusters, constructLCTsGEM(), CSCMotherboard::copyValidToInValid(), cscGEMMatcher_, dropLowQualityALCTNoClusters(), dropLowQualityCLCTNoClusters(), CSCALCTDigi::isValid(), sistrip::SpyUtilities::isValid(), CSCCLCTDigi::isValid(), CSCConstants::MAX_LCTS_PER_CSC, CSCCorrelatedLCTDigi::setTrknmb(), and sortLCTsByBending().
Referenced by matchALCT2GEM(), matchALCTCLCTGEM(), and matchCLCT2GEM().
|
private |
Definition at line 433 of file CSCGEMMotherboard.cc.
References CSCCLCTDigi::clear(), bsc_activity_cfg::clusters, constructLCTsGEM(), cscGEMMatcher_, dropLowQualityCLCTNoClusters(), GEMInternalCluster::isCoincidence(), and CSCCLCTDigi::isValid().
|
private |
Definition at line 469 of file CSCGEMMotherboard.cc.
References CSCALCTDigi::clear(), bsc_activity_cfg::clusters, constructLCTsGEM(), cscGEMMatcher_, dropLowQualityALCTNoClusters(), GEMInternalCluster::isCoincidence(), and CSCALCTDigi::isValid().
|
private |
Definition at line 610 of file CSCGEMMotherboard.cc.
References CSCALCTDigi::clear(), drop_low_quality_alct_no_gems_, CSCALCTDigi::getQuality(), and GEMInternalCluster::isValid().
Referenced by correlateLCTsGEM().
|
private |
Definition at line 616 of file CSCGEMMotherboard.cc.
References CSCCLCTDigi::clear(), drop_low_quality_clct_no_gems_, drop_low_quality_clct_no_gems_me1a_, CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getQuality(), CSCBaseboard::isME11_, GEMInternalCluster::isValid(), and CSCConstants::MAX_HALF_STRIP_ME1B.
Referenced by correlateLCTsGEM().
|
private |
Definition at line 275 of file CSCGEMMotherboard.cc.
References CSCMotherboard::alctProc, CSCMotherboard::allLCTs_, clusterProc_, correlateLCTsGEM(), drop_used_gems_, hasGE21Geometry16Partitions_, CSCBaseboard::isME21_, match_earliest_gem_only_, CSCConstants::MAX_ALCT_TBINS, max_delta_bx_alct_gem_, and CSCMotherboard::preferred_bx_match_.
Referenced by run().
|
private |
|
private |
Definition at line 158 of file CSCGEMMotherboard.cc.
References CSCConstants::ALCT_CLCT_OFFSET, CSCMotherboard::alctProc, GEMClusterProcessor::AllClusters, CSCMotherboard::allLCTs_, build_lct_from_alct_clct_2gem_, CSCMotherboard::clctProc, clusterProc_, correlateLCTsGEM(), CSCMotherboard::drop_used_clcts, hasGE21Geometry16Partitions_, CSCBaseboard::isME21_, LogTrace, CSCMotherboard::match_earliest_clct_only_, CSCMotherboard::match_trig_window_size, CSCConstants::MAX_ALCT_TBINS, CSCConstants::MAX_CLCT_TBINS, max_delta_bx_alct_gem_, fileinputsource_cfi::option, CSCMotherboard::preferred_bx_match_, and GEMClusterProcessor::SingleClusters.
Referenced by run().
|
private |
Definition at line 216 of file CSCGEMMotherboard.cc.
References CSCConstants::ALCT_CLCT_OFFSET, CSCMotherboard::allLCTs_, build_lct_from_clct_gem_me1a_, CSCMotherboard::clctProc, clusterProc_, correlateLCTsGEM(), CSCMotherboard::drop_used_clcts, hasGE21Geometry16Partitions_, CSCBaseboard::isME11_, CSCBaseboard::isME21_, CSCMotherboard::match_earliest_clct_only_, CSCConstants::MAX_ALCT_TBINS, CSCConstants::MAX_CLCT_TBINS, max_delta_bx_clct_gem_, CSCConstants::MAX_HALF_STRIP_ME1B, and CSCMotherboard::preferred_bx_match_.
Referenced by run().
void CSCGEMMotherboard::run | ( | const CSCWireDigiCollection * | wiredc, |
const CSCComparatorDigiCollection * | compdc, | ||
const GEMPadDigiClusterCollection * | gemPads | ||
) |
Definition at line 61 of file CSCGEMMotherboard.cc.
References CSCMotherboard::alctProc, CSCMotherboard::alctV, build_lct_from_alct_clct_1gem_, build_lct_from_alct_clct_2gem_, build_lct_from_alct_gem_, build_lct_from_clct_gem_, CSCMotherboard::clctProc, CSCMotherboard::clctV, clear(), clusterProc_, cscGEMMatcher_, CSCBaseboard::cscGeometry_, CSCMotherboard::encodeHighMultiplicityBits(), gem_g, hasGE21Geometry16Partitions_, CSCBaseboard::isME11_, CSCBaseboard::isME21_, CSCMotherboard::lookupTableCCLUT_, CSCMotherboard::lookupTableME11ILT_, CSCMotherboard::lookupTableME21ILT_, matchALCT2GEM(), CSCMotherboard::matchALCTCLCT(), matchALCTCLCTGEM(), matchCLCT2GEM(), CSCConstants::MAX_ALCT_TBINS, or, CSCBaseboard::runCCLUT_, CSCMotherboard::selectLCTs(), and CSCBaseboard::theCSCName_.
Referenced by CSCTriggerPrimitivesBuilder::build().
|
inline |
Definition at line 53 of file CSCGEMMotherboard.h.
Referenced by CSCTriggerPrimitivesBuilder::build().
|
private |
Definition at line 627 of file CSCGEMMotherboard.cc.
References CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getSlope(), CSCBaseboard::runCCLUT_, and jetUpdater_cfi::sort.
Referenced by correlateLCTsGEM().
|
private |
Definition at line 163 of file CSCGEMMotherboard.h.
Referenced by constructLCTsGEM(), and CSCGEMMotherboard().
|
private |
Definition at line 148 of file CSCGEMMotherboard.h.
Referenced by run().
|
private |
Definition at line 147 of file CSCGEMMotherboard.h.
Referenced by matchALCTCLCTGEM(), and run().
|
private |
Definition at line 149 of file CSCGEMMotherboard.h.
Referenced by run().
|
private |
Definition at line 150 of file CSCGEMMotherboard.h.
Referenced by run().
|
private |
Definition at line 156 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard(), and matchCLCT2GEM().
|
private |
Definition at line 140 of file CSCGEMMotherboard.h.
Referenced by clear(), clusterProc(), CSCGEMMotherboard(), matchALCT2GEM(), matchALCTCLCTGEM(), matchCLCT2GEM(), and run().
|
private |
Definition at line 135 of file CSCGEMMotherboard.h.
|
private |
Definition at line 137 of file CSCGEMMotherboard.h.
Referenced by constructLCTsGEM(), correlateLCTsGEM(), CSCGEMMotherboard(), and run().
|
private |
Definition at line 143 of file CSCGEMMotherboard.h.
Referenced by dropLowQualityALCTNoClusters().
|
private |
Definition at line 144 of file CSCGEMMotherboard.h.
Referenced by dropLowQualityCLCTNoClusters().
|
private |
Definition at line 153 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard(), and dropLowQualityCLCTNoClusters().
|
private |
Definition at line 165 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard(), and matchALCT2GEM().
|
private |
Definition at line 132 of file CSCGEMMotherboard.h.
Referenced by run(), and setGEMGeometry().
|
private |
Chamber id (trigger-type labels).
Definition at line 131 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard().
|
private |
Definition at line 170 of file CSCGEMMotherboard.h.
Referenced by matchALCT2GEM(), matchALCTCLCTGEM(), matchCLCT2GEM(), and run().
|
private |
Definition at line 166 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard(), and matchALCT2GEM().
|
private |
Definition at line 159 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard(), matchALCT2GEM(), and matchALCTCLCTGEM().
|
private |
Definition at line 160 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard(), and matchCLCT2GEM().