21 const double& x_length,
22 const double& y_length,
23 const double& z_length,
24 const float& center_X,
25 const float& center_Y,
26 const float& center_Z):
30 fStop{x_length, y_length, z_length},
31 fCenter{center_X, center_Y, center_Z}
37 bool inX = (rel_x >=
fStart[0]) && (rel_x <
fStop[0]);
38 bool inY = (rel_y >=
fStart[1]) && (rel_y <
fStop[1]);
39 bool inZ = (rel_z >=
fStart[2]) && (rel_z <
fStop[2]);
41 return inX && inY && inZ;
46 os<<
"RegCNNBoundary3D actual pixel map coverage (in cm)\n" 48 <<
"Actual pixel size\n" double fStop[3]
Maximum wire, inclusive.
int fStopBin[3]
Maximum TDC in each view, inclusive.
bool IsWithin(const float &rel_x, const float &rel_y, const float &rel_z)
int NBins(const unsigned int &axis) const
RegCNNBoundary3D for 3D RegCNN PixelMap modified from CVNBoundary.h.
Defines an enumeration for cellhit classification.
double fStart[3]
Minimum wire, inclusive.
std::ostream & operator<<(std::ostream &os, const RegPixelMap3DProducer &p)
double Length(const unsigned int &axis) const