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};
43 for(
int i=0;
i<7; ++
i) {
53 std::vector<CSCALCTDigi>
result;
56 CSCALCTDigi digi0(alct0_valid, alct0_quality, alct0_accel,
57 alct0_pattern, alct0_key_wire,
58 alct0_bxn_low|(alct0_bxn_high<<3),1);
59 CSCALCTDigi digi1(alct1_valid, alct1_quality, alct1_accel,
60 alct1_pattern, alct1_key_wire,
61 alct1_bxn_low|(alct1_bxn_high<<3),2);
62 result.push_back(digi0); result.push_back(digi1);
70 if(digis.size() > 0) addALCT0(digis[0]);
71 if(digis.size() > 1) addALCT1(digis[1]);
82 alct0_bxn_low = digi.
getBX();
94 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