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()
39 <<
", E="<<cluster.
energy();
43 out<<
", eta,phi="<<pos.eta()<<
","<<pos.phi()
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])