LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "Boundary.h"
Public Member Functions | |
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) | |
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 lcvn::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 19 of file Boundary.h.
lcvn::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 16 of file Boundary.cxx.
References fFirstTDC, fFirstWire, fLastTDC, and fLastWire.
|
inline |
|
inline |
Definition at line 39 of file Boundary.h.
References fFirstTDC.
Referenced by lcvn::PixelMap::GlobalToIndex(), lcvn::PixelMap::GlobalToIndexSingle(), and lcvn::operator<<().
|
inline |
Definition at line 37 of file Boundary.h.
References fFirstWire.
Referenced by lcvn::PixelMap::GlobalToIndex(), lcvn::PixelMap::GlobalToIndexSingle(), and lcvn::operator<<().
bool lcvn::Boundary::IsWithin | ( | const unsigned int | wire, |
const double | cell, | ||
const unsigned int | view | ||
) |
Definition at line 40 of file Boundary.cxx.
References fFirstTDC, fFirstWire, fLastTDC, and fLastWire.
Referenced by lcvn::PixelMap::Add(), and Boundary().
|
inline |
Definition at line 40 of file Boundary.h.
References fFirstWire, and fLastTDC.
Referenced by lcvn::PixelMap::GlobalToIndex(), lcvn::PixelMap::GlobalToIndexSingle(), and lcvn::operator<<().
|
inline |
|
private |
Minimum cell in each view, inclusive.
Definition at line 45 of file Boundary.h.
Referenced by Boundary(), FirstTDC(), and IsWithin().
|
private |
Minimum wire, inclusive.
Definition at line 40 of file Boundary.h.
Referenced by Boundary(), FirstWire(), IsWithin(), and LastTDC().
|
private |
Maximum cell in each view, inclusive.
Definition at line 46 of file Boundary.h.
Referenced by Boundary(), IsWithin(), and LastTDC().
|
private |
Maximum wire, inclusive.
Definition at line 44 of file Boundary.h.
Referenced by Boundary(), IsWithin(), and LastWire().