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();
34 out <<
", eta,phi=" << pos.eta() <<
"," << pos.phi() <<
", nhits=" << cluster.
hitsAndFractions().size() << endl;
const math::XYZPoint & position() const
cluster centroid position
double correctedEnergy() const
const std::vector< std::pair< DetId, float > > & hitsAndFractions() const
std::ostream & operator<<(std::ostream &, BeamSpot beam)
const CaloID & caloID() const
double energy() const
cluster energy
std::string printHitAndFraction(unsigned i) const
print hitAndFraction
XYZPointD XYZPoint
point in space with cartesian internal representation
void reset(double vett[256])
tuple size
Write out results.