10 Voxel_tpc::Voxel_tpc(
int row,
int phi,
int z,
double pos[3],
double posRPhi[2],
double edep,
double RPhiRes,
double ZRes)
22 _isClusterHit =
false;
25 Voxel_tpc::Voxel_tpc(
int row,
int phi,
int z, CLHEP::Hep3Vector coord,
double edep,
double RPhiRes,
double ZRes)
35 _isClusterHit =
false;
50 if(!this->IsClusterHit()){
51 hitList->push_back(
this);
52 this->setIsClusterHit();
53 for(
int i=0; i<this->getNumberOfAdjacent();++i){
54 getAdjacent(i)->clusterFind(hitList);
58 return hitList->size();
int clusterFind(vector< Voxel_tpc * > *hitList)