9 :
CSCBaseboard(endcap, station, sector, subsector, chamber, conf) {
129 if (pattern == 2 || pattern == 3)
132 else if (pattern == 4 || pattern == 5)
135 else if (pattern == 6 || pattern == 7)
138 else if (pattern == 8 || pattern == 9)
141 else if (pattern == 10)
145 edm::LogWarning(
"LCTQualityAssignment") <<
"findQualityRun2: Unexpected CLCT pattern id = " << pattern;
152 return static_cast<unsigned>(qual);
181 return static_cast<unsigned>(qual);
188 return static_cast<unsigned>(qual);
193 if (pattern == 2 || pattern == 3)
196 else if (pattern == 4 || pattern == 5)
199 else if (pattern == 6 || pattern == 7)
202 else if (pattern == 8 || pattern == 9)
205 else if (pattern == 10)
209 edm::LogWarning(
"CSCGEMMotherboard") <<
"findQualityGEMv1: Unexpected CLCT pattern id = " << pattern;
213 return static_cast<unsigned>(qual);
289 if (pattern == 2 || pattern == 3)
292 else if (pattern == 4 || pattern == 5)
295 else if (pattern == 6 || pattern == 7)
298 else if (pattern == 8 || pattern == 9)
301 else if (pattern == 10)
305 edm::LogWarning(
"CSCGEMMotherboard") <<
"findQualityGEMv1: Unexpected CLCT pattern id = " << pattern;
312 return static_cast<unsigned>(qual);
320 const bool aValid(aLCT.
isValid());
321 const bool cValid(cLCT.
isValid());
322 const bool gValid(cl.
isValid());
326 if (aValid and cValid and ggValid) {
334 else if (aValid and cValid and gValid) {
342 else if (aValid and cValid and !gValid and !ggValid) {
347 else if (!aValid and cValid and ggValid) {
352 else if (!cValid and aValid and ggValid) {
361 return static_cast<unsigned>(qual);
uint16_t getQuality() const
return quality of a pattern
unsigned findQualityGEMv1(const CSCCLCTDigi &, const GEMInternalCluster &cl) 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::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
bool isValid() const
check ALCT validity (1 - valid ALCT)
unsigned findQualityRun2(const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT) const
unsigned findQualityGEMv2(const CSCALCTDigi &, const CSCCLCTDigi &, const GEMInternalCluster &cl) const
bool assignGEMCSCBending_
bool isValid() const
check CLCT validity (1 - valid CLCT)
unsigned findQualityRun3(const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT) const
unsigned findQuality(const CSCALCTDigi &aLCT, const CSCCLCTDigi &cLCT) const
uint16_t getPattern() const
return pattern
LCTQualityAssignment(unsigned endcap, unsigned station, unsigned sector, unsigned subsector, unsigned chamber, const edm::ParameterSet &conf)
uint16_t getQuality() const
return quality of a pattern (number of layers hit!)
Log< level::Warning, false > LogWarning
bool isCoincidence() const
uint16_t getAccelerator() const