3 #include <boost/foreach.hpp>
34 ss << __func__ <<
" working on detid " << in.
detId() <<
" for a digi.size=" << in.
size();
101 vdigis.insert(
vdigis.end(),pFirstDigiOfApv[
i],pFirstDigiOfApv[i+1]);
106 std::stringstream ss;
109 ss <<
"\t " <<
i <<
" strip " <<
vdigis[
i].strip() <<
" adc " <<
vdigis[
i].adc() ;
122 std::stringstream ss;
123 ss <<
"case with strip64=0 --> detid= "<<
cacheDetId<<
"\n";
145 std::stringstream ss;
146 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]
edm::DetSet< SiStripDigi > * pDetSet
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...
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