11 std::cout <<
"CaloCluster { "
12 <<
"Energy: " << energy_ <<
", "
13 <<
"Number of hits: " << nHits_ <<
" }" << std::endl;
33 std::vector<unsigned int> vecIDs;
34 for (
unsigned int iHit = 0; iHit < hitsVec.size(); iHit++) {
35 vecIDs.push_back(hitsVec[iHit]->getID());
Class that stores calorimeter cluster information.
Stores cluster information from the ECal.
void Print() const
Print a description of this object.
void addHits(const std::vector< const ldmx::CalorimeterHit * > hitsVec)
Take in the hits that make up the cluster.
void Clear()
Reset the CaloCluster object.
virtual ~CaloCluster()
Class destructor.
void setIDs(std::vector< unsigned int > &hitIDs)
Sets a sorted vector for the IDs of the hits that make up the cluster.
CaloCluster()
Class constructor.