Go to the documentation of this file. 1 #ifndef L1Trigger_CSCTriggerPrimitives_LCTQualityControl_h
2 #define L1Trigger_CSCTriggerPrimitives_LCTQualityControl_h
89 std::unordered_map<int, unsigned> freq;
96 if (freq[
p.getBX()] > nLCT) {
97 edm::LogError(
"LCTQualityControl") <<
"Collection with more than " << nLCT <<
" in BX " <<
p.getBX();
void checkValidReadout(const CSCALCTDigi &alct) const
int getSlopePhase1(int pattern) const
std::pair< unsigned, unsigned > get_csc_min_max_pattern(bool isRun3) const
unsigned nplanes_clct_hit_pattern
~LCTQualityControl() override=default
LCTQualityControl(unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf)
void reportErrors(const T &lct, const unsigned errors) const
const std::map< ValueQuantityType, double > min_value
void checkRange(int parameter, int min_value, int max_value, const std::string &comment, unsigned &errors) const
unsigned get_csc_lct_max_quality() const
unsigned get_csc_max_quartstrip(int station, int ring) const
unsigned get_csc_alct_max_quality(int station, int ring, bool runGEMCSC) const
std::pair< unsigned, unsigned > get_csc_min_max_cfeb(int station, int ring) const
void checkValid(const CSCALCTDigi &alct, unsigned max_stubs=CSCConstants::MAX_ALCTS_PER_PROCESSOR) const
Log< level::Error, false > LogError
std::pair< unsigned, unsigned > get_csc_lct_min_max_pattern() const
const std::map< ValueQuantityType, double > max_value
unsigned get_csc_max_wire(int station, int ring) const
void checkMultiplicityBX(const std::vector< CSCALCTDigi > &alcts) const
std::pair< int, int > get_csc_clct_min_max_slope() const
unsigned get_csc_max_eighthstrip(int station, int ring) const
unsigned get_csc_clct_max_quality() const
unsigned get_csc_max_halfstrip(int station, int ring) const