L1Trigger/CSCTriggerPrimitives/src/CSCMotherboard.cc
unsigned int CSCMotherboard::encodePattern(const int ptn,
                                           const int stripType) const {
  const int kPatternBitWidth = 4;

  // In the TMB07 firmware, LCT pattern is just a 4-bit CLCT pattern.
  unsigned int pattern = (abs(ptn) & ((1<<kPatternBitWidth)-1));

  return pattern;
}
// CLCT pattern number: encodes the pattern number itself and
// whether the pattern consists of half-strips or di-strips.
CLCT pattern number: encodes the pattern number itself and
whether the pattern consists of half-strips or di-strips.
CLCT pattern number : encodes the pattern number itself and whether the pattern consists of half - strips or di - strips .
unsigned int CSCMotherboard::encodePattern(const int ptn,
                                           const int stripType) const {
  const int kPatternBitWidth = 4;
  unsigned int pattern = (abs(ptn) & ((1<<kPatternBitWidth)-1));
  return pattern;
}
unsigned int CSCMotherboard :: encodePattern ( const int ptn , const int stripType ) const { const int kPatternBitWidth = 4 ; unsigned int pattern = ( abs ( ptn ) & ( ( 1 << kPatternBitWidth ) - 1 ) ) ; return pattern ; }
CLCT pattern number: encodes the pattern number itself and
whether the pattern consists of half-strips or di-strips.
CLCT pattern number : encodes the pattern number itself and whether the pattern consists of half - strips or di - strips .
// In the TMB07 firmware, LCT pattern is just a 4-bit CLCT pattern.