14 hitsAndFractions_.clear();
17 string CaloCluster::printHitAndFraction(
unsigned i)
const {
20 if( i>=hitsAndFractions().
size() )
21 out<<
"out of range "<<
i;
23 out<<
"( "<<hitsAndFractions()[
i].first
24 <<
", "<<hitsAndFractions()[
i].second
37 out<<
"CaloCluster , algoID="<<cluster.
algoID()
40 <<
", eta,phi="<<pos.eta()<<
","<<pos.phi()
const math::XYZPoint & position() const
cluster centroid position
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.