5 : id_(0), eeRing_(0), chStatus_(0), nHits_(0), etSum_(1, 0.), et2Sum_(0), lcSum_(0), lc2Sum_(0) {}
8 : id_(
id), eeRing_(0), chStatus_(
status), nHits_(0), etSum_(nMisCalibV, 0.), et2Sum_(0), lcSum_(0), lc2Sum_(0) {}
15 etSum_(etValues.begin(), etValues.
end()),
22 if (etValues[0] > 0.) {
24 et2Sum_ += etValues[0] * etValues[0];
26 lc2Sum_ += laserCorr * laserCorr;
44 assert(
"EcalPhiSymRecHit operator+= : attempting to sum RecHits belonging to different channels" &&
50 for (
unsigned int i = 0;
i <
etSum_.size(); ++
i)
std::vector< float > etSum_
float sumEt(int i=0) const
EcalPhiSymRecHit & operator+=(const EcalPhiSymRecHit &rhs)
void addHit(const std::vector< float > &etValues, const float laserCorr=0)