32 ss << __func__ <<
" working on detid " << in.
detId() <<
" for a digi.size=" << in.
size();
98 vdigis.insert(
vdigis.end(),pFirstDigiOfApv[
i],pFirstDigiOfApv[i+1]);
103 std::stringstream ss;
120 std::stringstream ss;
121 ss <<
"case with strip64=0 --> detid= "<<
cacheDetId<<
"\n";
135 const bool is10bit =
apvDigis[0].adc() > 255;
144 std::stringstream ss;
145 ss <<
"[subtractCM] detid " <<
cacheDetId <<
" CM is " << CM <<
" the remaining strips after CM subtraction are " <<
i;
edm::DetSet< SiStripDigi >::const_iterator pFirstDigiOfApv[7]
unsigned short stripsPerApv
void dumpInVector(edm::DetSet< SiStripDigi >::const_iterator *, size_t)
det_id_type detId() const
std::vector< SiStripDigi > vdigis
void reset(edm::DetSet< SiStripDigi >::const_iterator &a, edm::DetSet< SiStripDigi >::const_iterator &b)
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
A Digi for the silicon strip detector, containing both strip and adc information, and suitable for st...
std::unique_ptr< edm::DetSet< SiStripDigi > > pDetSet
bool loop(const edmNew::DetSet< SiStripDigi > &in)
unsigned short maxNumOfApvs
std::vector< SiStripDigi > apvDigis
unsigned short stripsForMedian
bool clean(const edmNew::DetSet< SiStripDigi > &in, edmNew::DetSet< SiStripDigi >::const_iterator &scan, edmNew::DetSet< SiStripDigi >::const_iterator &end)
collection_type::const_iterator const_iterator
const uint16_t & adc() const