21 const double centerTDCX,
22 const double centerTDCY,
23 const double centerTDCZ)
24 : fFirstWire{minWireX, minWireY, minWireZ}
25 ,
fLastWire{minWireX + nWire - 1, minWireY + nWire - 1, minWireZ + nWire - 1}
43 bool inTDCRcvne = (double)cell >=
fFirstTDC[view] && (
double)cell <=
fLastTDC[view];
44 return inWireRcvne && inTDCRcvne;
49 os <<
"Boundary with " 53 <<
"), (first,last) tdc X: (" << b.
FirstTDC(0) <<
", " << b.
LastTDC(0) <<
")" 54 <<
"), (first,last) tdc Y: (" << b.
FirstTDC(1) <<
", " << b.
LastTDC(1) <<
")" 55 <<
"), (first,last) tdc Z: (" << b.
FirstTDC(2) <<
", " << b.
LastTDC(2) <<
")";
int fFirstWire[3]
Minimum wire, inclusive.
int LastWire(const unsigned int view) const
Utility class for truth labels.
int FirstWire(const unsigned int view) const
double fLastTDC[3]
Maximum cell in each view, inclusive.
double fFirstTDC[3]
Minimum cell in each view, inclusive.
double FirstTDC(const unsigned int view) const
double LastTDC(const unsigned int view) const
std::ostream & operator<<(std::ostream &os, const Boundary &b)
int fLastWire[3]
Maximum wire, inclusive.
bool IsWithin(const unsigned int wire, const double cell, const unsigned int view)
Boundary for CVN PixelMap.