11 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 ):
13 ADCCounts(vADCCounts),
14 ADCOverflow(vADCOverflow),
15 OverlappedSample(vOverlap),
22 ADCCounts(vADCCounts),
24 OverlappedSample(8,0),
34 OverlappedSample(8,0),
44 std::vector<int> L1APhaseResult;
47 return L1APhaseResult;
72 for (
int i=0;
i<(int)vADCCounts.size();
i++) {
73 if (vADCCounts[
i] < 1) badVal =
true;
78 std::vector<int> ZeroCounts(8,0);
92 std::cout <<
" " <<
" OverflappedSample: ";
std::vector< int > getADCCounts() const
Get ADC readings.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
std::vector< int > ADCCounts
void setADCCounts(const std::vector< int > &ADCCounts)
std::vector< int > getL1APhase() const
Get L1APhase from OverlappedSample (9th bit)
std::vector< uint16_t > getADCOverflow() const
Other getters.
bool operator==(const CSCStripDigi &digi) const
std::vector< uint16_t > getOverlappedSample() const