#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 () | |
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 Member Functions | |
unsigned | findQualityGEMv1 (const CSCALCTDigi &, const CSCCLCTDigi &, const GEMInternalCluster &cl) const |
unsigned | findQualityGEMv1 (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) |
Protected Attributes inherited from CSCBaseboard | |
edm::ParameterSet | alctParams_ |
edm::ParameterSet | clctParams_ |
edm::ParameterSet | commonParams_ |
const CSCChamber * | cscChamber_ |
const CSCGeometry * | cscGeometry_ |
CSCDetId | cscId_ |
bool | disableME1a_ |
bool | enableAlctPhase2_ |
bool | gangedME1a_ |
int | infoV |
bool | isME11_ |
bool | isME21_ |
bool | isME31_ |
bool | isME41_ |
bool | runCCLUT_ |
bool | runME11ILT_ |
bool | runME11Up_ |
bool | runME21ILT_ |
bool | runME21Up_ |
bool | runME31Up_ |
bool | runME41Up_ |
bool | runPhase2_ |
edm::ParameterSet | showerParams_ |
unsigned | theChamber |
std::string | theCSCName_ |
const unsigned | theEndcap |
int | theRegion |
unsigned | theRing |
const unsigned | theSector |
const unsigned | theStation |
const unsigned | theSubsector |
const unsigned | theTrigChamber |
edm::ParameterSet | tmbParams_ |
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 GetRecoTauVFromDQM_MC_cff::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 GetRecoTauVFromDQM_MC_cff::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 GetRecoTauVFromDQM_MC_cff::cl, findQualityGEMv1(), findQualityGEMv2(), and CSCBaseboard::runCCLUT_.
|
private |
Definition at line 216 of file LCTQualityAssignment.cc.
References GetRecoTauVFromDQM_MC_cff::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, and topSingleLeptonDQM_PU_cfi::pattern.
|
private |
Definition at line 184 of file LCTQualityAssignment.cc.
References GetRecoTauVFromDQM_MC_cff::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, and topSingleLeptonDQM_PU_cfi::pattern.
Referenced by findQuality().
|
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_, GetRecoTauVFromDQM_MC_cff::cl, CLCT_2GEM, INVALID, 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, NO_CLCT, and topSingleLeptonDQM_PU_cfi::pattern.
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 |
|
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().