#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) |
uint16_t | Run2PatternConverter (const int slope) const |
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 | |
unsigned | alct_gem_bx_window_size_ |
bool | assign_gem_csc_bending_ |
bool | build_lct_from_alct_gem_ |
bool | build_lct_from_clct_gem_ |
unsigned | clct_gem_bx_window_size_ |
std::shared_ptr< GEMClusterProcessor > | clusterProc_ |
std::map< int, GEMInternalClusters > | clusters_ |
std::unique_ptr< CSCGEMMatcher > | cscGEMMatcher_ |
bool | drop_low_quality_alct_ |
bool | drop_low_quality_clct_ |
bool | drop_low_quality_clct_me1a_ |
const GEMGeometry * | gem_g |
unsigned | gemId |
bool | hasGE21Geometry16Partitions_ |
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 alct_gem_bx_window_size_, assign_gem_csc_bending_, clct_gem_bx_window_size_, clusterProc_, cscGEMMatcher_, drop_low_quality_clct_me1a_, gemId, edm::ParameterSet::getParameter(), CSCBaseboard::isME11_, CSCBaseboard::isME21_, CSCMotherboard::qualityAssignment_, DetId::rawId(), CSCBaseboard::runME11ILT_, CSCBaseboard::runME21ILT_, CSCBaseboard::theChamber, CSCBaseboard::theRegion, CSCBaseboard::theStation, and CSCBaseboard::tmbParams_.
|
override |
Definition at line 43 of file CSCGEMMotherboard.cc.
void CSCGEMMotherboard::clear | ( | void | ) |
Definition at line 45 of file CSCGEMMotherboard.cc.
References CSCMotherboard::clear(), and clusterProc_.
Referenced by run().
|
inline |
Definition at line 46 of file CSCGEMMotherboard.h.
References clusterProc_.
Referenced by CSCTriggerPrimitivesBuilder::build().
|
private |
Definition at line 496 of file CSCGEMMotherboard.cc.
References funct::abs(), 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_, Run2PatternConverter(), 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(), slope, and CSCBaseboard::theTrigChamber.
Referenced by correlateLCTsGEM().
|
private |
Definition at line 538 of file CSCGEMMotherboard.cc.
References CSCCorrelatedLCTDigi::ALCTCLCT, 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::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 567 of file CSCGEMMotherboard.cc.
References funct::abs(), 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(), funct::pow(), CSCMotherboard::qualityAssignment_, Run2PatternConverter(), 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(), slope, and CSCBaseboard::theTrigChamber.
|
private |
Definition at line 603 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 382 of file CSCGEMMotherboard.cc.
References cscdqm::ALCT, haddnano::cl, bsc_activity_cfg::clusters, constructLCTsGEM(), cscGEMMatcher_, GEMInternalCluster::isValid(), CSCCLCTDigi::isValid(), and LogTrace.
Referenced by matchALCTCLCTGEM().
|
private |
Definition at line 413 of file CSCGEMMotherboard.cc.
References cscdqm::ALCT, constructLCTsGEM(), CSCMotherboard::doesALCTCrossCLCT(), drop_low_quality_alct_, drop_low_quality_clct_, drop_low_quality_clct_me1a_, CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getQuality(), CSCBaseboard::isME11_, CSCCLCTDigi::isValid(), LogTrace, CSCMotherboard::match_trig_enable, CSCConstants::MAX_HALF_STRIP_ME1B, and or.
|
private |
Definition at line 438 of file CSCGEMMotherboard.cc.
References haddnano::cl, bsc_activity_cfg::clusters, constructLCTsGEM(), cscGEMMatcher_, drop_low_quality_clct_, drop_low_quality_clct_me1a_, CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getQuality(), GEMInternalCluster::isCoincidence(), CSCBaseboard::isME11_, CSCCLCTDigi::isValid(), LogTrace, CSCConstants::MAX_HALF_STRIP_ME1B, and or.
|
private |
Definition at line 469 of file CSCGEMMotherboard.cc.
References cscdqm::ALCT, haddnano::cl, bsc_activity_cfg::clusters, constructLCTsGEM(), cscGEMMatcher_, drop_low_quality_alct_, GEMInternalCluster::isCoincidence(), LogTrace, and or.
|
private |
Definition at line 128 of file CSCGEMMotherboard.cc.
References CSCConstants::ALCT_CLCT_OFFSET, alct_gem_bx_window_size_, CSCMotherboard::alctProc, GEMClusterProcessor::AllClusters, CSCMotherboard::allLCTs_, build_lct_from_alct_gem_, build_lct_from_clct_gem_, CSCMotherboard::clctProc, clusterProc_, GEMClusterProcessor::CoincidenceClusters, correlateLCTsGEM(), CSCCorrelatedLCTDigi::getQuality(), hasGE21Geometry16Partitions_, CSCBaseboard::isME21_, CSCALCTDigi::isValid(), sistrip::SpyUtilities::isValid(), CSCCLCTDigi::isValid(), CSCCorrelatedLCTDigi::isValid(), CSCMotherboard::match_trig_window_size, CSCConstants::MAX_ALCT_TBINS, CSCConstants::MAX_CLCT_TBINS, CSCConstants::MAX_LCTS_PER_CSC, SiStripPI::min, CSCMotherboard::preferred_bx_match_, CSCCorrelatedLCTDigi::setTrknmb(), and sortLCTs().
Referenced by run().
void CSCGEMMotherboard::run | ( | const CSCWireDigiCollection * | wiredc, |
const CSCComparatorDigiCollection * | compdc, | ||
const GEMPadDigiClusterCollection * | gemPads | ||
) |
Definition at line 70 of file CSCGEMMotherboard.cc.
References CSCMotherboard::alctProc, CSCMotherboard::alctV, CSCMotherboard::clctProc, CSCMotherboard::clctV, clear(), clusterProc_, cscGEMMatcher_, CSCBaseboard::cscGeometry_, CSCMotherboard::encodeHighMultiplicityBits(), gem_g, hasGE21Geometry16Partitions_, CSCBaseboard::isME11_, CSCBaseboard::isME21_, CSCMotherboard::lookupTableCCLUT_, CSCMotherboard::lookupTableME11ILT_, CSCMotherboard::lookupTableME21ILT_, matchALCTCLCTGEM(), CSCBaseboard::runCCLUT_, and CSCMotherboard::selectLCTs().
Referenced by CSCTriggerPrimitivesBuilder::build().
uint16_t CSCGEMMotherboard::Run2PatternConverter | ( | const int | slope | ) | const |
Definition at line 51 of file CSCGEMMotherboard.cc.
References funct::abs(), Validation_hcalonly_cfi::sign, and slope.
Referenced by constructLCTsGEM().
|
inline |
Definition at line 49 of file CSCGEMMotherboard.h.
Referenced by CSCTriggerPrimitivesBuilder::build().
|
private |
Definition at line 632 of file CSCGEMMotherboard.cc.
References CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getSlope(), and jetUpdater_cfi::sort.
Referenced by matchALCTCLCTGEM().
|
private |
Definition at line 123 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard(), and matchALCTCLCTGEM().
|
private |
Definition at line 127 of file CSCGEMMotherboard.h.
Referenced by constructLCTsGEM(), and CSCGEMMotherboard().
|
private |
Definition at line 119 of file CSCGEMMotherboard.h.
Referenced by matchALCTCLCTGEM().
|
private |
Definition at line 120 of file CSCGEMMotherboard.h.
Referenced by matchALCTCLCTGEM().
|
private |
Definition at line 124 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard().
|
private |
Definition at line 110 of file CSCGEMMotherboard.h.
Referenced by clear(), clusterProc(), CSCGEMMotherboard(), matchALCTCLCTGEM(), and run().
|
private |
Definition at line 104 of file CSCGEMMotherboard.h.
|
private |
Definition at line 107 of file CSCGEMMotherboard.h.
Referenced by constructLCTsGEM(), correlateLCTsGEM(), CSCGEMMotherboard(), and run().
|
private |
Definition at line 113 of file CSCGEMMotherboard.h.
Referenced by correlateLCTsGEM().
|
private |
Definition at line 114 of file CSCGEMMotherboard.h.
Referenced by correlateLCTsGEM().
|
private |
Definition at line 116 of file CSCGEMMotherboard.h.
Referenced by correlateLCTsGEM(), and CSCGEMMotherboard().
|
private |
Definition at line 101 of file CSCGEMMotherboard.h.
Referenced by run(), and setGEMGeometry().
|
private |
Chamber id (trigger-type labels).
Definition at line 100 of file CSCGEMMotherboard.h.
Referenced by CSCGEMMotherboard().
|
private |
Definition at line 131 of file CSCGEMMotherboard.h.
Referenced by matchALCTCLCTGEM(), and run().