#include <LCTQualityAssignment.h>
Public Member Functions | |
unsigned | findQuality (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT) const |
unsigned | findQuality (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT, const GEMInternalCluster &cl) const |
unsigned | findQuality (const CSCALCTDigi &aLCT, const GEMInternalCluster &cl) const |
unsigned | findQuality (const CSCCLCTDigi &cLCT, const GEMInternalCluster &cl) const |
LCTQualityAssignment (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf) | |
void | setGEMCSCBending (const bool setBend) |
~LCTQualityAssignment () override | |
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 Member Functions | |
unsigned | findQualityGEMv1 (const CSCCLCTDigi &, const GEMInternalCluster &cl) const |
unsigned | findQualityGEMv1 (const CSCALCTDigi &, const CSCCLCTDigi &, const GEMInternalCluster &cl) const |
unsigned | findQualityGEMv2 (const CSCALCTDigi &, const CSCCLCTDigi &, const GEMInternalCluster &cl) const |
unsigned | findQualityRun2 (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT) const |
unsigned | findQualityRun3 (const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT) const |
Private Attributes | |
bool | assignGEMCSCBending_ |
bool | runILT_ |
Helper class to calculate the quality of an LCT. There is a Run-2 quality (also used for Run-1) based on the pattern Id and the number of layers. There are two Run-3 LCTs qualities. One for the non-GEM TMBs and one for OTMBs which receive GEM information.
Definition at line 21 of file LCTQualityAssignment.h.
|
strong |
Definition at line 24 of file LCTQualityAssignment.h.
|
strong |
|
strong |
Enumerator | |
---|---|
INVALID | |
ALCT_2GEM | |
CLCT_2GEM | |
ALCT_CLCT | |
ALCT_CLCT_1GEM_CSCBend | |
ALCT_CLCT_1GEM_GEMCSCBend | |
ALCT_CLCT_2GEM_CSCBend | |
ALCT_CLCT_2GEM_GEMCSCBend |
Definition at line 47 of file LCTQualityAssignment.h.
LCTQualityAssignment::LCTQualityAssignment | ( | unsigned | endcap, |
unsigned | station, | ||
unsigned | sector, | ||
unsigned | subsector, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | conf | ||
) |
Definition at line 3 of file LCTQualityAssignment.cc.
References CSCBaseboard::isME11_, CSCBaseboard::isME21_, or, runILT_, CSCBaseboard::runME11ILT_, and CSCBaseboard::runME21ILT_.
|
inlineoverride |
unsigned LCTQualityAssignment::findQuality | ( | const CSCALCTDigi & | aLCT, |
const CSCCLCTDigi & | cLCT | ||
) | const |
Definition at line 14 of file LCTQualityAssignment.cc.
References findQualityGEMv1(), findQualityGEMv2(), findQualityRun2(), findQualityRun3(), CSCBaseboard::runCCLUT_, and runILT_.
unsigned LCTQualityAssignment::findQuality | ( | const CSCALCTDigi & | aLCT, |
const CSCCLCTDigi & | cLCT, | ||
const GEMInternalCluster & | cl | ||
) | const |
Definition at line 36 of file LCTQualityAssignment.cc.
References findQualityGEMv1(), findQualityGEMv2(), and CSCBaseboard::runCCLUT_.
unsigned LCTQualityAssignment::findQuality | ( | const CSCALCTDigi & | aLCT, |
const GEMInternalCluster & | cl | ||
) | const |
Definition at line 49 of file LCTQualityAssignment.cc.
References findQualityGEMv2(), HQ_PATTERN_10, and CSCBaseboard::runCCLUT_.
unsigned LCTQualityAssignment::findQuality | ( | const CSCCLCTDigi & | cLCT, |
const GEMInternalCluster & | cl | ||
) | const |
Definition at line 60 of file LCTQualityAssignment.cc.
References findQualityGEMv1(), findQualityGEMv2(), and CSCBaseboard::runCCLUT_.
|
private |
Definition at line 184 of file LCTQualityAssignment.cc.
References CSCCLCTDigi::getPattern(), HQ_PATTERN_10, HQ_PATTERN_2_3, HQ_PATTERN_4_5, HQ_PATTERN_6_7, HQ_PATTERN_8_9, INVALID, GEMInternalCluster::isCoincidence(), CSCCLCTDigi::isValid(), and or.
Referenced by findQuality().
|
private |
Definition at line 216 of file LCTQualityAssignment.cc.
References CLCT_LAYER_TRIGGER, CSCALCTDigi::getAccelerator(), CSCCLCTDigi::getPattern(), CSCALCTDigi::getQuality(), CSCCLCTDigi::getQuality(), HQ_ACCEL_ALCT, HQ_ANODE_MARGINAL_CATHODE, HQ_CATHODE_MARGINAL_ANODE, HQ_PATTERN_10, HQ_PATTERN_2_3, HQ_PATTERN_4_5, HQ_PATTERN_6_7, HQ_PATTERN_8_9, INVALID, GEMInternalCluster::isCoincidence(), CSCBaseboard::isME11_, CSCBaseboard::isME21_, GEMInternalCluster::isValid(), CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), MARGINAL_ANODE_CATHODE, NO_ALCT, NO_CLCT, and or.
|
private |
Definition at line 315 of file LCTQualityAssignment.cc.
References ALCT_2GEM, ALCT_CLCT, ALCT_CLCT_1GEM_CSCBend, ALCT_CLCT_1GEM_GEMCSCBend, ALCT_CLCT_2GEM_CSCBend, ALCT_CLCT_2GEM_GEMCSCBend, assignGEMCSCBending_, CLCT_2GEM, INVALID, GEMInternalCluster::isCoincidence(), GEMInternalCluster::isValid(), CSCALCTDigi::isValid(), and CSCCLCTDigi::isValid().
Referenced by findQuality().
|
private |
Definition at line 72 of file LCTQualityAssignment.cc.
References CLCT_LAYER_TRIGGER, CSCALCTDigi::getAccelerator(), CSCCLCTDigi::getPattern(), CSCALCTDigi::getQuality(), CSCCLCTDigi::getQuality(), HQ_ACCEL_ALCT, HQ_ANODE_MARGINAL_CATHODE, HQ_CATHODE_MARGINAL_ANODE, HQ_PATTERN_10, HQ_PATTERN_2_3, HQ_PATTERN_4_5, HQ_PATTERN_6_7, HQ_PATTERN_8_9, INVALID, CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), MARGINAL_ANODE_CATHODE, NO_ALCT, and NO_CLCT.
Referenced by findQuality().
|
private |
Definition at line 156 of file LCTQualityAssignment.cc.
References CSCALCTDigi::getQuality(), CSCCLCTDigi::getQuality(), HighQ, INVALID, CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), LowQ, MedQ, and or.
Referenced by findQuality().
|
inline |
Definition at line 70 of file LCTQualityAssignment.h.
References assignGEMCSCBending_.
|
private |
Definition at line 93 of file LCTQualityAssignment.h.
Referenced by findQualityGEMv2(), and setGEMCSCBending().
|
private |
Definition at line 94 of file LCTQualityAssignment.h.
Referenced by findQuality(), and LCTQualityAssignment().