3 #include <boost/foreach.hpp>
33 ss << __func__ <<
" working on detid " << in.
detId() <<
" for a digi.size=" << in.
size();
99 vdigis.insert(
vdigis.end(),pFirstDigiOfApv[
i],pFirstDigiOfApv[i+1]);
104 std::stringstream
ss;
107 ss <<
"\t " <<
i <<
" strip " <<
vdigis[
i].strip() <<
" adc " <<
vdigis[
i].adc() ;
121 std::stringstream
ss;
122 ss <<
"case with strip64=0 --> detid= "<<
cacheDetId<<
"\n";
144 std::stringstream
ss;
145 ss <<
"[subtractCM] detid " <<
cacheDetId <<
" CM is " << CM <<
" the remaining strips after CM subtraction are " <<
i;
int adc(sample_type sample)
get the ADC sample (12 bits)
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)
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