#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-02-25/CVN/func/Boundary.h"
Public Member Functions | |
Boundary (const int &nPlane, const int &nCell, const int &minPlane, const int ¢erCellEven, const int ¢erCellOdd, const unsigned int &firstView=0) | |
Boundary () | |
bool | IsWithin (const unsigned int &plane, const unsigned int &cell, const unsigned int &view=0) |
int | FirstPlane () const |
int | LastPlane () const |
int | FirstCell (const unsigned int &view) const |
int | LastCell (const unsigned int &view) const |
unsigned int | FirstView () const |
Private Attributes | |
int | fFirstPlane |
Minimum plane, inclusive. More... | |
int | fLastPlane |
Maximum plane, inclusive. More... | |
int | fFirstCell [2] |
Minimum cell in each view, inclusive. More... | |
int | fLastCell [2] |
Maximum cell in each view, inclusive. More... | |
unsigned int | fFirstView |
View of first plane (0=XZ, 1=YZ) More... | |
Boundary object intended for use with cvn::PixelMap. Stores first and last planes, 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 plane (plane%2) as a proxy.
Definition at line 26 of file Boundary.h.
cvn::Boundary::Boundary | ( | const int & | nPlane, |
const int & | nCell, | ||
const int & | minPlane, | ||
const int & | centerCellEven, | ||
const int & | centerCellOdd, | ||
const unsigned int & | firstView = 0 |
||
) |
Create new Boundary object based on number of planes, number of cells, minumum plane and mean cell in odd and even view.
Definition at line 17 of file Boundary.cxx.
References ana::assert(), fFirstCell, fFirstPlane, fFirstView, fLastCell, and fLastPlane.
|
inline |
Definition at line 38 of file Boundary.h.
References getBrightness::cell, IsWithin(), NDAPDHVSetting::plane, and POTSpillRate::view.
Definition at line 44 of file Boundary.h.
References fFirstCell, and POTSpillRate::view.
Referenced by caf::FillCVNPixelMaps(), cvn::RegPixelMap::GlobalToIndex(), cvn::PixelMap::GlobalToIndex(), cvn::RegPixelMap::GlobalToIndexSingle(), cvn::PixelMap::GlobalToIndexSingle(), and cvn::operator<<().
|
inline |
Definition at line 42 of file Boundary.h.
References fFirstPlane.
Referenced by caf::FillCVNPixelMaps(), cvn::RegPixelMap::GlobalToIndex(), cvn::PixelMap::GlobalToIndex(), cvn::RegPixelMap::GlobalToIndexSingle(), cvn::PixelMap::GlobalToIndexSingle(), and cvn::operator<<().
|
inline |
Definition at line 46 of file Boundary.h.
References fFirstPlane, and fFirstView.
Referenced by cvn::PixelMap::ToLabTH2(), cvn::PixelMap::ToObjTH2(), and cvn::PixelMap::ToTH2().
bool cvn::Boundary::IsWithin | ( | const unsigned int & | plane, |
const unsigned int & | cell, | ||
const unsigned int & | view = 0 |
||
) |
Definition at line 40 of file Boundary.cxx.
References fFirstCell, fFirstPlane, fLastCell, fLastPlane, makeTrainCVSamples::int, and POTSpillRate::view.
Referenced by cvn::RegPixelMap::Add(), cvn::PixelMap::Add(), Boundary(), and nerd::NERDProng::MakeCluster().
Definition at line 45 of file Boundary.h.
References fLastCell, and POTSpillRate::view.
Referenced by caf::FillCVNPixelMaps(), and cvn::operator<<().
|
inline |
Definition at line 43 of file Boundary.h.
References fLastPlane.
Referenced by caf::FillCVNPixelMaps(), and cvn::operator<<().
|
private |
Minimum cell in each view, inclusive.
Definition at line 52 of file Boundary.h.
Referenced by Boundary(), FirstCell(), and IsWithin().
|
private |
Minimum plane, inclusive.
Definition at line 46 of file Boundary.h.
Referenced by Boundary(), FirstPlane(), FirstView(), and IsWithin().
|
private |
View of first plane (0=XZ, 1=YZ)
Definition at line 54 of file Boundary.h.
Referenced by Boundary(), and FirstView().
|
private |
Maximum cell in each view, inclusive.
Definition at line 53 of file Boundary.h.
Referenced by Boundary(), IsWithin(), and LastCell().
|
private |
Maximum plane, inclusive.
Definition at line 51 of file Boundary.h.
Referenced by Boundary(), IsWithin(), and LastPlane().