13 CSCStripDigi::CSCStripDigi (
const int & istrip,
const std::vector<int> & vADCCounts,
const std::vector<uint16_t> & vADCOverflow,
const std::vector<uint16_t> & vOverlap,
const std::vector<uint16_t> & vErrorstat ):
15 ADCCounts(vADCCounts),
16 ADCOverflow(vADCOverflow),
17 OverlappedSample(vOverlap),
24 ADCCounts(vADCCounts),
26 OverlappedSample(8,0),
36 OverlappedSample(8,0),
46 std::vector<int> L1APhaseResult;
49 return L1APhaseResult;
74 for (
int i=0;
i<(int)vADCCounts.size();
i++) {
75 if (vADCCounts[
i] < 1) badVal =
true;
80 std::vector<int> ZeroCounts(8,0);
94 std::cout <<
" " <<
" OverflappedSample: ";
std::vector< int > getADCCounts() const
Get ADC readings.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
std::vector< int > ADCCounts
std::vector< int > getL1APhase() const
Get L1APhase from OverlappedSample (9th bit)
void setADCCounts(std::vector< int > ADCCounts)
std::vector< uint16_t > getADCOverflow() const
Other getters.
bool operator==(const CSCStripDigi &digi) const
std::vector< uint16_t > getOverlappedSample() const