#include <WirePlaneId.h>
Definition at line 16 of file WirePlaneId.h.
WireCell::WirePlaneId::WirePlaneId |
( |
WirePlaneLayer_t |
layer, |
|
|
int |
face = 0 , |
|
|
int |
apa = 0 |
|
) |
| |
|
explicit |
Definition at line 9 of file WirePlaneId.cxx.
WirePlaneLayer_t layer() const
Layer as enum.
static const int face_shift
static const int apa_shift
static const int layer_mask
int face() const
APA face number.
WireCell::WirePlaneId::WirePlaneId |
( |
int |
packed | ) |
|
|
explicit |
int WireCell::WirePlaneId::apa |
( |
| ) |
const |
APA number.
Definition at line 48 of file WirePlaneId.cxx.
static const int apa_shift
int WireCell::WirePlaneId::face |
( |
| ) |
const |
APA face number.
Definition at line 44 of file WirePlaneId.cxx.
static const int face_shift
int WireCell::WirePlaneId::ident |
( |
| ) |
const |
int WireCell::WirePlaneId::ilayer |
( |
| ) |
const |
Layer as integer (not index!)
Definition at line 29 of file WirePlaneId.cxx.
static const int layer_mask
int WireCell::WirePlaneId::index |
( |
| ) |
const |
Layer as index number (0,1 or 2). -1 if unknown.
Definition at line 34 of file WirePlaneId.cxx.
WirePlaneLayer_t layer() const
Layer as enum.
Layer as enum.
Definition at line 25 of file WirePlaneId.cxx.
int ilayer() const
Layer as integer (not index!)
WirePlaneLayer_t
Enumerate layer IDs. These are not indices!
Definition at line 69 of file WirePlaneId.cxx.
71 if (!this->
valid() || !rhs.
valid()) {
return false; }
bool valid() const
return true if valid
int apa() const
APA number.
int index() const
Layer as index number (0,1 or 2). -1 if unknown.
int face() const
APA face number.
bool WireCell::WirePlaneId::valid |
( |
| ) |
const |
return true if valid
Definition at line 53 of file WirePlaneId.cxx.
56 return 0 <= ind && ind < 3;
int index() const
Layer as index number (0,1 or 2). -1 if unknown.
int WireCell::WirePlaneId::m_pack |
|
private |
The documentation for this class was generated from the following files: