1 #ifndef _voxel_included_
2 #define _voxel_included_
7 #include <CLHEP/Vector/ThreeVector.h>
23 Voxel_tpc(
int row,
int phi,
int z,
double pos[3],
double posRPhi[2],
double edep,
double rPhiRes,
double zRes);
24 Voxel_tpc(
int row,
int phi,
int z, CLHEP::Hep3Vector coord,
double edep,
double rPhiRes,
double zRes);
32 int clusterFind(vector <Voxel_tpc*>* hitList);
41 double getX() {
return _coord.x();};
42 double getY() {
return _coord.y();};
43 double getZ() {
return _coord.z();};
44 double getR() {
return _coord.perp();};
45 double getPhi() {
return _coord.phi();};
58 vector <Voxel_tpc *> _adjacent_voxels{};
59 CLHEP::Hep3Vector _coord{};
int getNumberOfAdjacent()
Voxel_tpc * getAdjacent(int i)
Voxel_tpc * getFirstAdjacent()
const CLHEP::Hep3Vector getHep3Vector()
void setAdjacent(Voxel_tpc *p_voxel)