5 std::vector<uint8_t>
v;
8 uint16_t lastStrip = 0;
9 bool firstInloop =
true;
12 if (!firstInloop &&
i->strip() != lastStrip + 1) {
13 for (
int j = 0;
j <
i->strip() - (lastStrip + 1);
j++) {
17 lastStrip =
i->strip();
20 v.push_back(
i->adc());
31 float halfwidth_ = 0.5f *
float(cluster.
width());
44 return std::accumulate(
begin(),
end(),
int(0));
54 for (
auto i = 0
U;
i < asize; ++
i) {
std::pair< SiStripDigiIter, SiStripDigiIter > SiStripDigiRange
cms_uint8_t width() const
auto const * begin() const
bool isFromApprox() const
cms_uint8_t avgCharge() const
std::vector< SiStripDigi >::const_iterator SiStripDigiIter
cms_uint16_t barycenter() const
std::vector< uint8_t > amplitudes_
static const uint16_t stripIndexMask