Go to the documentation of this file.
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();
constexpr auto size(const C &c) -> decltype(c.size())
XYZPointD XYZPoint
point in space with cartesian internal representation
const std::vector< std::pair< DetId, float > > & hitsAndFractions() const
std::string printHitAndFraction(unsigned i) const
print hitAndFraction
std::ostream & operator<<(std::ostream &, BeamSpot beam)
const math::XYZPoint & position() const
cluster centroid position
const CaloID & caloID() const
double correctedEnergy() const
void reset(double vett[256])
double energy() const
cluster energy