#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) |
~CSCMotherboard () override=default | |
Public Member Functions inherited from CSCBaseboard | |
CSCBaseboard () | |
CSCBaseboard (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf) | |
std::string | getCSCName () const |
void | setCSCGeometry (const CSCGeometry *g) |
virtual | ~CSCBaseboard ()=default |
Private Attributes | |
bool | assign_gem_csc_bending_ |
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 21 of file CSCGEMMotherboard.h.
typedef std::vector<GEMInternalCluster> CSCGEMMotherboard::GEMInternalClusters |
Definition at line 23 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 47 of file CSCGEMMotherboard.cc.
void CSCGEMMotherboard::clear | ( | void | ) |
Definition at line 49 of file CSCGEMMotherboard.cc.
References CSCMotherboard::clear(), and clusterProc_.
Referenced by run().
|
inline |
Definition at line 52 of file CSCGEMMotherboard.h.
References clusterProc_.
Referenced by CSCTriggerPrimitivesBuilder::build().
|
private |
Definition at line 465 of file CSCGEMMotherboard.cc.
References CSCCorrelatedLCTDigi::ALCTCLCT, CSCCorrelatedLCTDigi::ALCTCLCT2GEM, CSCCorrelatedLCTDigi::ALCTCLCTGEM, assign_gem_csc_bending_, cscGEMMatcher_, CSCMotherboard::encodePattern(), 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 540 of file CSCGEMMotherboard.cc.
References CSCCorrelatedLCTDigi::ALCT2GEM, 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 507 of file CSCGEMMotherboard.cc.
References assign_gem_csc_bending_, CSCCorrelatedLCTDigi::CLCT2GEM, cscGEMMatcher_, CSCMotherboard::encodePattern(), 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 273 of file CSCGEMMotherboard.cc.
References CSCCorrelatedLCTDigi::ALCTCLCT, bsc_activity_cfg::clusters, constructLCTsGEM(), CSCMotherboard::copyValidToInValid(), CSCMotherboard::correlateLCTs(), cscGEMMatcher_, dropLowQualityALCTNoClusters(), dropLowQualityCLCTNoClusters(), hasGE21Geometry16Partitions_, CSCBaseboard::isME21_, 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 429 of file CSCGEMMotherboard.cc.
References CSCALCTDigi::clear(), bsc_activity_cfg::clusters, constructLCTsGEM(), cscGEMMatcher_, dropLowQualityALCTNoClusters(), GEMInternalCluster::isCoincidence(), and CSCALCTDigi::isValid().
|
private |
Definition at line 393 of file CSCGEMMotherboard.cc.
References CSCCLCTDigi::clear(), bsc_activity_cfg::clusters, constructLCTsGEM(), cscGEMMatcher_, dropLowQualityCLCTNoClusters(), GEMInternalCluster::isCoincidence(), and CSCCLCTDigi::isValid().
|
private |
Definition at line 570 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 576 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 222 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 |
Definition at line 117 of file CSCGEMMotherboard.cc.
References CSCConstants::ALCT_CLCT_OFFSET, CSCMotherboard::alctProc, CSCMotherboard::allLCTs_, CSCMotherboard::clctProc, clusterProc_, correlateLCTsGEM(), CSCMotherboard::drop_used_clcts, LogTrace, CSCMotherboard::match_earliest_clct_only_, CSCMotherboard::match_trig_window_size, CSCConstants::MAX_ALCT_TBINS, CSCConstants::MAX_CLCT_TBINS, max_delta_bx_alct_gem_, and CSCMotherboard::preferred_bx_match_.
Referenced by run().
|
private |
Definition at line 164 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 54 of file CSCGEMMotherboard.cc.
References CSCMotherboard::alctProc, CSCMotherboard::alctV, build_lct_from_alct_gem_, build_lct_from_clct_gem_, CSCMotherboard::clctProc, CSCMotherboard::clctV, clear(), clusterProc_, CSCBaseboard::cscGeometry_, CSCMotherboard::encodeHighMultiplicityBits(), gem_g, hasGE21Geometry16Partitions_, matchALCT2GEM(), matchALCTCLCTGEM(), matchCLCT2GEM(), CSCConstants::MAX_ALCT_TBINS, and CSCMotherboard::selectLCTs().
Referenced by CSCTriggerPrimitivesBuilder::build().
|
inline |
Definition at line 55 of file CSCGEMMotherboard.h.
Referenced by CSCTriggerPrimitivesBuilder::build().
|
private |
Definition at line 587 of file CSCGEMMotherboard.cc.
References CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getSlope(), CSCBaseboard::runCCLUT_, and jetUpdater_cfi::sort.
Referenced by correlateLCTsGEM().
|
private |
Definition at line 160 of file CSCGEMMotherboard.h.
Referenced by constructLCTsGEM(), and CSCGEMMotherboard().
|
private |
Definition at line 146 of file CSCGEMMotherboard.h.
Referenced by run().
|
private |
Definition at line 147 of file CSCGEMMotherboard.h.
Referenced by run().
|
private |
Definition at line 153 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard(), and matchCLCT2GEM().
|
private |
Definition at line 139 of file CSCGEMMotherboard.h.
Referenced by clear(), clusterProc(), CSCGEMMotherboard(), matchALCT2GEM(), matchALCTCLCTGEM(), matchCLCT2GEM(), and run().
|
private |
Definition at line 134 of file CSCGEMMotherboard.h.
|
private |
Definition at line 136 of file CSCGEMMotherboard.h.
Referenced by constructLCTsGEM(), correlateLCTsGEM(), and CSCGEMMotherboard().
|
private |
Definition at line 142 of file CSCGEMMotherboard.h.
Referenced by dropLowQualityALCTNoClusters().
|
private |
Definition at line 143 of file CSCGEMMotherboard.h.
Referenced by dropLowQualityCLCTNoClusters().
|
private |
Definition at line 150 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard(), and dropLowQualityCLCTNoClusters().
|
private |
Definition at line 162 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard(), and matchALCT2GEM().
|
private |
Definition at line 131 of file CSCGEMMotherboard.h.
Referenced by run(), and setGEMGeometry().
|
private |
Chamber id (trigger-type labels).
Definition at line 130 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard().
|
private |
Definition at line 167 of file CSCGEMMotherboard.h.
Referenced by correlateLCTsGEM(), matchALCT2GEM(), matchCLCT2GEM(), and run().
|
private |
Definition at line 163 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard(), and matchALCT2GEM().
|
private |
Definition at line 156 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard(), matchALCT2GEM(), and matchALCTCLCTGEM().
|
private |
Definition at line 157 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard(), and matchCLCT2GEM().