#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, CSCBaseboard::Parameters &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, Parameters &conf) | |
CSCBaseboard () | |
std::string | getCSCName () const |
CSCDetId | id () const |
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_ |
Additional Inherited Members | |
Protected Member Functions inherited from CSCBaseboard | |
void | checkConfigParameters (unsigned int &var, const unsigned int var_max, const unsigned int var_def, const std::string &var_str) |
const CSCChamber * | cscChamber (CSCGeometry const &) const |
Protected Attributes inherited from CSCBaseboard | |
CSCDetId | cscId_ |
bool | disableME1a_ |
bool | enableAlctPhase2_ |
bool | gangedME1a_ |
int | infoV |
bool | isME11_ |
bool | isME12_ |
bool | isME13_ |
bool | isME21_ |
bool | isME22_ |
bool | isME31_ |
bool | isME32_ |
bool | isME41_ |
bool | isME42_ |
bool | run3_ |
bool | runCCLUT_ |
bool | runCCLUT_OTMB_ |
bool | runCCLUT_TMB_ |
bool | runME11ILT_ |
bool | runME11Up_ |
bool | runME21ILT_ |
bool | runME21Up_ |
bool | runME31Up_ |
bool | runME41Up_ |
bool | runPhase2_ |
unsigned | theChamber |
std::string | theCSCName_ |
const unsigned | theEndcap |
int | theRegion |
unsigned | theRing |
const unsigned | theSector |
const unsigned | theStation |
const unsigned | theSubsector |
const unsigned | theTrigChamber |
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 22 of file LCTQualityAssignment.h.
|
strong |
Definition at line 25 of file LCTQualityAssignment.h.
|
strong |
|
strong |
Enumerator | |
---|---|
INVALID | |
CLCT_2GEM | |
ALCT_2GEM | |
ALCT_CLCT | |
ALCT_CLCT_1GEM_CSCBend | |
ALCT_CLCT_1GEM_GEMCSCBend | |
ALCT_CLCT_2GEM_CSCBend | |
ALCT_CLCT_2GEM_GEMCSCBend |
Definition at line 48 of file LCTQualityAssignment.h.
LCTQualityAssignment::LCTQualityAssignment | ( | unsigned | endcap, |
unsigned | station, | ||
unsigned | sector, | ||
unsigned | subsector, | ||
unsigned | chamber, | ||
CSCBaseboard::Parameters & | 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::run3_, 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 haddnano::cl, findQualityGEMv1(), findQualityGEMv2(), and CSCBaseboard::runCCLUT_.
unsigned LCTQualityAssignment::findQuality | ( | const CSCALCTDigi & | aLCT, |
const GEMInternalCluster & | cl | ||
) | const |
Definition at line 49 of file LCTQualityAssignment.cc.
References haddnano::cl, 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 haddnano::cl, findQualityGEMv1(), findQualityGEMv2(), and CSCBaseboard::runCCLUT_.
|
private |
Definition at line 184 of file LCTQualityAssignment.cc.
References haddnano::cl, CSCCLCTDigi::getPattern(), HQ_PATTERN_10, HQ_PATTERN_2_3, HQ_PATTERN_4_5, HQ_PATTERN_6_7, HQ_PATTERN_8_9, INVALID, CSCCLCTDigi::isValid(), or, topSingleLeptonDQM_PU_cfi::pattern, and l1tGTMenu_lepSeeds_cff::qual.
Referenced by findQuality().
|
private |
Definition at line 216 of file LCTQualityAssignment.cc.
References haddnano::cl, 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, CSCBaseboard::isME11_, CSCBaseboard::isME21_, CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), MARGINAL_ANODE_CATHODE, NO_ALCT, NO_CLCT, or, topSingleLeptonDQM_PU_cfi::pattern, and l1tGTMenu_lepSeeds_cff::qual.
|
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_, haddnano::cl, CLCT_2GEM, INVALID, CSCALCTDigi::isValid(), CSCCLCTDigi::isValid(), and l1tGTMenu_lepSeeds_cff::qual.
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, NO_CLCT, topSingleLeptonDQM_PU_cfi::pattern, and l1tGTMenu_lepSeeds_cff::qual.
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, or, and l1tGTMenu_lepSeeds_cff::qual.
Referenced by findQuality().
|
inline |
Definition at line 71 of file LCTQualityAssignment.h.
References assignGEMCSCBending_.
|
private |
Definition at line 94 of file LCTQualityAssignment.h.
Referenced by findQualityGEMv2(), and setGEMCSCBending().
|
private |
Definition at line 95 of file LCTQualityAssignment.h.
Referenced by findQuality(), and LCTQualityAssignment().