14 std::vector<unsigned int> vecIDs;
15 for (
unsigned int iHit = 0; iHit < hitsVec.size(); iHit++) {
16 vecIDs.push_back(hitsVec[iHit]->getID());
Class that stores cluster information from the ECal.
void Clear()
Reset the CaloCluster object.
void setIDs(std::vector< unsigned int > &hitIDs)
Sets a sorted vector for the IDs of the hits that make up the cluster.
Stores cluster information from the HCal.
void Clear()
Reset the HcalCluster object.
void addHits(const std::vector< const ldmx::HcalHit * > hitsVec)
Take in the hits that make up the cluster.
virtual ~HcalCluster()
Class destructor.