5 static int activeFEBsForChamberType[11] = {0, 7, 7, 0xf, 7, 0x7f, 0xf, 0x3f, 0xf, 0x3f, 0xf};
6 static int nTBinsForChamberType[11] = {7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7};
8 constexpr int activeFEBsForChamberType[11] = {0, 7, 7, 0xf, 7, 0x7f, 0xf, 0x3f, 0xf, 0x3f, 0xf};
9 constexpr int nTBinsForChamberType[11] = {7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7};
37 for (
int i = 0;
i < 7; ++
i) {
45 std::vector<CSCALCTDigi>
result;
49 alct0_valid, alct0_quality, alct0_accel, alct0_pattern, alct0_key_wire, alct0_bxn_low | (alct0_bxn_high << 3), 1);
51 alct1_valid, alct1_quality, alct1_accel, alct1_pattern, alct1_key_wire, alct1_bxn_low | (alct1_bxn_high << 3), 2);
52 result.push_back(digi0);
53 result.push_back(digi1);
72 alct0_bxn_low = digi.
getBX();
82 alct1_bxn_low = digi.
getBX();
bool isValid() const
check ALCT validity (1 - valid ALCT)
void addALCT0(const CSCALCTDigi &digi)
void addALCT1(const CSCALCTDigi &digi)
int getBX() const
return BX - five low bits of BXN counter tagged by the ALCT
int getQuality() const
return quality of a pattern
int getAccelerator() const
std::vector< CSCALCTDigi > ALCTDigis() const
void add(const std::vector< CSCALCTDigi > &digis)
should try to sort, but doesn't for now
int getKeyWG() const
return key wire group
int getCollisionB() const