#include <Boundary.h>
Public Member Functions | |
Boundary (const int &nWire, const double &tRes, const int &minWireX, const int &minWireY, const int &minWireZ, const double ¢erTDCX, const double ¢erTDCY, const double ¢erTDCZ) | |
Boundary () | |
bool | IsWithin (const unsigned int &wire, const double &cell, const unsigned int &view) |
int | FirstWire (const unsigned int &view) const |
int | LastWire (const unsigned int &view) const |
double | FirstTDC (const unsigned int &view) const |
double | LastTDC (const unsigned int &view) const |
Private Attributes | |
int | fFirstWire [3] |
Minimum wire, inclusive. More... | |
int | fLastWire [3] |
Maximum wire, inclusive. More... | |
double | fFirstTDC [3] |
Minimum cell in each view, inclusive. More... | |
double | fLastTDC [3] |
Maximum cell in each view, inclusive. More... | |
Boundary object intended for use with cvn::PixelMap. Stores first and last wires, as well as first and last cell for even and odd view. CVN doesn't carefully define X/Y view, but instead simply uses odd/even wire (wire%2) as a proxy.
Definition at line 26 of file Boundary.h.
cvn::Boundary::Boundary | ( | const int & | nWire, |
const double & | tRes, | ||
const int & | minWireX, | ||
const int & | minWireY, | ||
const int & | minWireZ, | ||
const double & | centerTDCX, | ||
const double & | centerTDCY, | ||
const double & | centerTDCZ | ||
) |
Create new Boundary object based on number of wires, number of cells, minumum wire and mean cell in odd and even view.
Definition at line 18 of file Boundary.cxx.
|
inline |
Definition at line 40 of file Boundary.h.
|
inline |
Definition at line 46 of file Boundary.h.
|
inline |
Definition at line 44 of file Boundary.h.
bool cvn::Boundary::IsWithin | ( | const unsigned int & | wire, |
const double & | cell, | ||
const unsigned int & | view | ||
) |
Definition at line 45 of file Boundary.cxx.
|
inline |
Definition at line 47 of file Boundary.h.
|
inline |
Definition at line 45 of file Boundary.h.
|
private |
Minimum cell in each view, inclusive.
Definition at line 54 of file Boundary.h.
|
private |
Minimum wire, inclusive.
Definition at line 47 of file Boundary.h.
|
private |
Maximum cell in each view, inclusive.
Definition at line 55 of file Boundary.h.
|
private |
Maximum wire, inclusive.
Definition at line 53 of file Boundary.h.