20 const int& centerCellEven,
21 const int& centerCellOdd,
22 const unsigned int& firstView):
23 fFirstPlane(minPlane),
24 fLastPlane (minPlane + nPlane - 1),
25 fFirstCell{centerCellEven - nCell / 2,
26 centerCellOdd - nCell / 2},
27 fLastCell{centerCellEven + nCell / 2 + nCell % 2 - 1,
28 centerCellOdd + nCell / 2 + nCell % 2 - 1 },
45 return inPlaneRcvne && inCellRcvne;
int FirstCell(const unsigned int &view) const
int fLastCell[2]
Maximum cell in each view, inclusive.
std::ostream & operator<<(std::ostream &os, const PixelMapProducer &p)
int fFirstPlane
Minimum plane, inclusive.
Defines an enumeration for prong classification.
int fFirstCell[2]
Minimum cell in each view, inclusive.
int LastCell(const unsigned int &view) const
unsigned int fFirstView
View of first plane (0=XZ, 1=YZ)
assert(nhit_max >=nhit_nbins)
bool IsWithin(const unsigned int &plane, const unsigned int &cell, const unsigned int &view=0)
int fLastPlane
Maximum plane, inclusive.