12 hitsAndFractions_.clear();
15 string CaloCluster::printHitAndFraction(
unsigned i)
const {
17 if (
i >= hitsAndFractions().
size())
18 out <<
"out of range " <<
i;
20 out <<
"( " << hitsAndFractions()[
i].first <<
", " << hitsAndFractions()[
i].second <<
" )";
30 out <<
"CaloCluster , algoID=" << cluster.
algoID() <<
", " << cluster.
caloID() <<
", E=" << cluster.
energy();
const math::XYZPoint & position() const
cluster centroid position
std::string printHitAndFraction(unsigned i) const
print hitAndFraction
const std::vector< std::pair< DetId, float > > & hitsAndFractions() const
const CaloID & caloID() const
double correctedEnergy() const
std::ostream & operator<<(std::ostream &, BeamSpot beam)
double energy() const
cluster energy
XYZPointD XYZPoint
point in space with cartesian internal representation
void reset(double vett[256])