#include <LCTQualityControl.h>
Public Member Functions | |
void | checkMultiplicityBX (const std::vector< CSCALCTDigi > &alcts) const |
void | checkMultiplicityBX (const std::vector< CSCCLCTDigi > &clcts) const |
void | checkMultiplicityBX (const std::vector< CSCCorrelatedLCTDigi > &lcts) const |
template<class T > | |
void | checkMultiplicityBX (const std::vector< T > &lcts, unsigned nLCT) const |
void | checkRange (int parameter, int min_value, int max_value, const std::string &comment, unsigned &errors) const |
void | checkValid (const CSCALCTDigi &alct, unsigned max_stubs=CSCConstants::MAX_ALCTS_PER_PROCESSOR) const |
void | checkValid (const CSCCLCTDigi &lct, unsigned max_stubs=CSCConstants::MAX_CLCTS_PER_PROCESSOR) const |
void | checkValid (const CSCCorrelatedLCTDigi &lct) const |
void | checkValid (const CSCCorrelatedLCTDigi &lct, const unsigned station, const unsigned ring) const |
void | checkValidReadout (const CSCALCTDigi &alct) const |
unsigned | get_csc_alct_max_quality (int station, int ring, bool runGEMCSC) const |
unsigned | get_csc_clct_max_quality () const |
std::pair< int, int > | get_csc_clct_min_max_slope () const |
unsigned | get_csc_lct_max_quality () const |
std::pair< unsigned, unsigned > | get_csc_lct_min_max_pattern () const |
unsigned | get_csc_max_eighthstrip (int station, int ring) const |
unsigned | get_csc_max_halfstrip (int station, int ring) const |
unsigned | get_csc_max_quartstrip (int station, int ring) const |
unsigned | get_csc_max_wire (int station, int ring) const |
std::pair< unsigned, unsigned > | get_csc_min_max_cfeb (int station, int ring) const |
std::pair< unsigned, unsigned > | get_csc_min_max_pattern (bool isRun3) const |
int | getSlopePhase1 (int pattern) const |
LCTQualityControl (unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf) | |
template<class T > | |
void | reportErrors (const T &lct, const unsigned errors) const |
~LCTQualityControl () 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 | |
unsigned | nplanes_clct_hit_pattern |
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_ |
unsigned | theChamber |
std::string | theCSCName_ |
const unsigned | theEndcap |
unsigned | theRegion |
unsigned | theRing |
const unsigned | theSector |
const unsigned | theStation |
const unsigned | theSubsector |
const unsigned | theTrigChamber |
edm::ParameterSet | tmbParams_ |
Definition at line 20 of file LCTQualityControl.h.
LCTQualityControl::LCTQualityControl | ( | unsigned | endcap, |
unsigned | station, | ||
unsigned | sector, | ||
unsigned | subsector, | ||
unsigned | chamber, | ||
const edm::ParameterSet & | conf | ||
) |
Definition at line 5 of file LCTQualityControl.cc.
References CSCBaseboard::clctParams_, edm::ParameterSet::getParameter(), and nplanes_clct_hit_pattern.
|
overridedefault |
Default destructor.
void LCTQualityControl::checkMultiplicityBX | ( | const std::vector< CSCALCTDigi > & | alcts | ) | const |
Definition at line 212 of file LCTQualityControl.cc.
References universalConfigTemplate::collection, and CSCConstants::MAX_ALCTS_READOUT.
Referenced by checkMultiplicityBX().
void LCTQualityControl::checkMultiplicityBX | ( | const std::vector< CSCCLCTDigi > & | clcts | ) | const |
Definition at line 216 of file LCTQualityControl.cc.
References checkMultiplicityBX(), universalConfigTemplate::collection, and CSCConstants::MAX_CLCTS_READOUT.
void LCTQualityControl::checkMultiplicityBX | ( | const std::vector< CSCCorrelatedLCTDigi > & | lcts | ) | const |
Definition at line 220 of file LCTQualityControl.cc.
References checkMultiplicityBX(), universalConfigTemplate::collection, and CSCConstants::MAX_LCTS_PER_CSC.
void LCTQualityControl::checkMultiplicityBX | ( | const std::vector< T > & | lcts, |
unsigned | nLCT | ||
) | const |
Definition at line 88 of file LCTQualityControl.h.
References universalConfigTemplate::collection, and AlCaHLTBitMon_ParallelJobs::p.
void LCTQualityControl::checkRange | ( | int | parameter, |
int | min_value, | ||
int | max_value, | ||
const std::string & | comment, | ||
unsigned & | errors | ||
) | const |
Definition at line 20 of file LCTQualityControl.cc.
References hcaldqm::quantity::max_value, and hcaldqm::quantity::min_value.
Referenced by checkValid().
void LCTQualityControl::checkValid | ( | const CSCALCTDigi & | alct, |
unsigned | max_stubs = CSCConstants::MAX_ALCTS_PER_PROCESSOR |
||
) | const |
Definition at line 36 of file LCTQualityControl.cc.
References checkRange(), debug_messages_cfi::errors, get_csc_alct_max_quality(), get_csc_max_wire(), CSCALCTDigi::getBX(), CSCALCTDigi::getCollisionB(), CSCALCTDigi::getKeyWG(), CSCALCTDigi::getQuality(), CSCALCTDigi::getTrknmb(), CSCALCTDigi::isValid(), CSCConstants::MAX_ALCT_TBINS, reportErrors(), CSCBaseboard::runME21ILT_, CSCBaseboard::theRing, and CSCBaseboard::theStation.
Referenced by checkValid(), and checkValidReadout().
void LCTQualityControl::checkValid | ( | const CSCCLCTDigi & | lct, |
unsigned | max_stubs = CSCConstants::MAX_CLCTS_PER_PROCESSOR |
||
) | const |
Definition at line 65 of file LCTQualityControl.cc.
References checkRange(), debug_messages_cfi::errors, get_csc_clct_max_quality(), get_csc_clct_min_max_slope(), get_csc_max_eighthstrip(), get_csc_max_halfstrip(), get_csc_max_quartstrip(), get_csc_min_max_cfeb(), get_csc_min_max_pattern(), CSCCLCTDigi::getBend(), CSCCLCTDigi::getBX(), CSCCLCTDigi::getCFEB(), CSCCLCTDigi::getCompCode(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getQuality(), CSCCLCTDigi::getRun3Pattern(), CSCCLCTDigi::getSlope(), CSCCLCTDigi::getStrip(), CSCCLCTDigi::getTrknmb(), CSCCLCTDigi::isValid(), CSCConstants::MAX_CLCT_TBINS, nplanes_clct_hit_pattern, CSCConstants::NUM_HALF_STRIPS_PER_CFEB, funct::pow(), reportErrors(), CSCBaseboard::runCCLUT_, CSCBaseboard::theRing, and CSCBaseboard::theStation.
void LCTQualityControl::checkValid | ( | const CSCCorrelatedLCTDigi & | lct | ) | const |
Definition at line 130 of file LCTQualityControl.cc.
References checkValid(), CSCBaseboard::theRing, and CSCBaseboard::theStation.
void LCTQualityControl::checkValid | ( | const CSCCorrelatedLCTDigi & | lct, |
const unsigned | station, | ||
const unsigned | ring | ||
) | const |
Definition at line 132 of file LCTQualityControl.cc.
References CSCCorrelatedLCTDigi::ALCTCLCT, CSCCorrelatedLCTDigi::ALCTONLY, checkRange(), CSCCorrelatedLCTDigi::CLCT2GEM, CSCCorrelatedLCTDigi::CLCTALCT, CSCCorrelatedLCTDigi::CLCTONLY, debug_messages_cfi::errors, get_csc_lct_max_quality(), get_csc_lct_min_max_pattern(), get_csc_max_eighthstrip(), get_csc_max_halfstrip(), get_csc_max_quartstrip(), get_csc_max_wire(), CSCCorrelatedLCTDigi::getBend(), CSCCorrelatedLCTDigi::getBX(), CSCCorrelatedLCTDigi::getCSCID(), CSCCorrelatedLCTDigi::getKeyWG(), CSCCorrelatedLCTDigi::getMPCLink(), CSCCorrelatedLCTDigi::getPattern(), CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getStrip(), CSCCorrelatedLCTDigi::getTrknmb(), CSCCorrelatedLCTDigi::getType(), CSCCorrelatedLCTDigi::isValid(), CSCConstants::MAX_LCT_TBINS, CSCConstants::MAX_LCTS_PER_MPC, CSCTriggerNumbering::maxTriggerCscId(), CSCTriggerNumbering::minTriggerCscId(), or, reportErrors(), relativeConstraints::ring, CSCBaseboard::runME11ILT_, CSCBaseboard::runME21ILT_, and relativeConstraints::station.
void LCTQualityControl::checkValidReadout | ( | const CSCALCTDigi & | alct | ) | const |
Definition at line 16 of file LCTQualityControl.cc.
References checkValid(), and CSCConstants::MAX_ALCTS_READOUT.
unsigned LCTQualityControl::get_csc_alct_max_quality | ( | int | station, |
int | ring, | ||
bool | runGEMCSC | ||
) | const |
Definition at line 354 of file LCTQualityControl.cc.
References relativeConstraints::ring, and relativeConstraints::station.
Referenced by checkValid().
unsigned LCTQualityControl::get_csc_clct_max_quality | ( | ) | const |
Definition at line 363 of file LCTQualityControl.cc.
Referenced by checkValid().
std::pair< int, int > LCTQualityControl::get_csc_clct_min_max_slope | ( | ) | const |
Definition at line 231 of file LCTQualityControl.cc.
References CSCBaseboard::runCCLUT_.
Referenced by checkValid().
unsigned LCTQualityControl::get_csc_lct_max_quality | ( | ) | const |
Definition at line 368 of file LCTQualityControl.cc.
Referenced by checkValid().
std::pair< unsigned, unsigned > LCTQualityControl::get_csc_lct_min_max_pattern | ( | ) | const |
Definition at line 339 of file LCTQualityControl.cc.
References CSCBaseboard::runCCLUT_.
Referenced by checkValid().
unsigned LCTQualityControl::get_csc_max_eighthstrip | ( | int | station, |
int | ring | ||
) | const |
Definition at line 309 of file LCTQualityControl.cc.
References get_csc_max_halfstrip(), relativeConstraints::ring, and relativeConstraints::station.
Referenced by checkValid().
unsigned LCTQualityControl::get_csc_max_halfstrip | ( | int | station, |
int | ring | ||
) | const |
Definition at line 283 of file LCTQualityControl.cc.
References relativeConstraints::ring, and relativeConstraints::station.
Referenced by checkValid(), get_csc_max_eighthstrip(), and get_csc_max_quartstrip().
unsigned LCTQualityControl::get_csc_max_quartstrip | ( | int | station, |
int | ring | ||
) | const |
Definition at line 305 of file LCTQualityControl.cc.
References get_csc_max_halfstrip(), relativeConstraints::ring, and relativeConstraints::station.
Referenced by checkValid().
unsigned LCTQualityControl::get_csc_max_wire | ( | int | station, |
int | ring | ||
) | const |
Definition at line 263 of file LCTQualityControl.cc.
References relativeConstraints::ring, and relativeConstraints::station.
Referenced by checkValid().
std::pair< unsigned, unsigned > LCTQualityControl::get_csc_min_max_cfeb | ( | int | station, |
int | ring | ||
) | const |
Definition at line 313 of file LCTQualityControl.cc.
References CSCConstants::MAX_CFEBS, relativeConstraints::ring, and relativeConstraints::station.
Referenced by checkValid().
std::pair< unsigned, unsigned > LCTQualityControl::get_csc_min_max_pattern | ( | bool | isRun3 | ) | const |
Definition at line 324 of file LCTQualityControl.cc.
References auxiliaryParams::runCCLUT.
Referenced by checkValid().
int LCTQualityControl::getSlopePhase1 | ( | int | pattern | ) | const |
Definition at line 224 of file LCTQualityControl.cc.
References CSCConstants::NUM_CLCT_PATTERNS, and topSingleLeptonDQM_PU_cfi::pattern.
void LCTQualityControl::reportErrors | ( | const T & | lct, |
const unsigned | errors | ||
) | const |
Definition at line 29 of file LCTQualityControl.cc.
References CSCBaseboard::cscId_.
Referenced by checkValid().
|
private |
Definition at line 84 of file LCTQualityControl.h.
Referenced by checkValid(), and LCTQualityControl().