|
|
Go to the documentation of this file.
2 #include <unordered_map>
22 if (value < min_value or value >
max_value) {
101 clct.
getPattern(), min_pattern_run2, max_pattern_run2,
"CSCCLCTDigi with invalid Run-2 pattern ID: ",
errors);
105 clct.
getRun3Pattern(), min_pattern_run3, max_pattern_run3,
"CSCCLCTDigi with invalid Run-3 pattern ID: ",
errors);
176 "CSCCorrelatedLCTDigi with invalid CSCID: ",
185 edm::LogError(
"LCTQualityControl") <<
"CSCCorrelatedLCTDigi with invalid type (SIM): " << lct.
getType()
194 edm::LogError(
"LCTQualityControl") <<
"CSCCorrelatedLCTDigi with invalid type (SIM) in this station: "
203 edm::LogError(
"LCTQualityControl") <<
"CSCCorrelatedLCTDigi with invalid type (SIM) with GEM-CSC trigger not on: "
227 int slopeList[
CSCConstants::NUM_CLCT_PATTERNS] = {0, 0, -8, 8, -6, 6, -4, 4, -2, 2, 0};
232 int min_slope, max_slope;
246 return std::make_pair(min_slope, max_slope);
264 unsigned max_wire = 0;
290 max_strip = 128 + 96;
321 return std::make_pair(min_cfeb, max_cfeb);
325 int min_pattern, max_pattern;
336 return std::make_pair(min_pattern, max_pattern);
340 int min_pattern, max_pattern;
351 return std::make_pair(min_pattern, max_pattern);
369 int max_quality = 15;
uint16_t getBX() const
return BX - five low bits of BXN counter tagged by the ALCT
void checkValidReadout(const CSCALCTDigi &alct) const
int getSlopePhase1(int pattern) const
edm::ParameterSet clctParams_
std::pair< unsigned, unsigned > get_csc_min_max_pattern(bool isRun3) const
uint16_t getTrknmb() const
return track number (1,2)
unsigned nplanes_clct_hit_pattern
const unsigned theStation
unsigned get_csc_max_eightstrip(int station, int ring) const
int16_t getCompCode() const
uint16_t getKeyStrip(const uint16_t n=2) const
uint16_t getKeyWG() const
return key wire group
uint16_t getQuality() const
return quality of a pattern (number of layers hit!)
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
uint16_t getCollisionB() const
void checkRange(int parameter, int min_value, int max_value, const std::string &comment, unsigned &errors) const
unsigned get_csc_lct_max_quality() const
uint16_t getQuality() const
return quality of a pattern
unsigned get_csc_max_quartstrip(int station, int ring) const
unsigned get_csc_alct_max_quality(int station, int ring, bool runGEMCSC) const
uint16_t getStrip() const
return halfstrip that goes from 0 to 31 in a (D)CFEB
static int minTriggerCscId()
bool isValid() const
check CLCT validity (1 - valid CLCT)
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
uint16_t getSlope() const
return the slope
std::pair< unsigned, unsigned > get_csc_lct_min_max_pattern() const
uint16_t getBX() const
return BX
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
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
uint16_t getCFEB() const
return Key CFEB ID
T getParameter(std::string const &) const
static int maxTriggerCscId()
bool isValid() const
check ALCT validity (1 - valid ALCT)
Power< A, B >::type pow(const A &a, const B &b)
uint16_t getTrknmb() const
return track number (1,2)
uint16_t getPattern() const
return pattern
unsigned get_csc_clct_max_quality() const
unsigned get_csc_max_halfstrip(int station, int ring) const
uint16_t getRun3Pattern() const
return pattern