WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
|
#include <WirePlaneId.h>
Public Member Functions | |
WirePlaneId (WirePlaneLayer_t layer, int face=0, int apa=0) | |
WirePlaneId (int packed) | |
int | ident () const |
Unit ID as integer. More... | |
WirePlaneLayer_t | layer () const |
Layer as enum. More... | |
int | ilayer () const |
Layer as integer (not index!) More... | |
int | index () const |
Layer as index number (0,1 or 2). -1 if unknown. More... | |
int | face () const |
APA face number. More... | |
int | apa () const |
APA number. More... | |
bool | valid () const |
return true if valid More... | |
bool | operator== (const WirePlaneId &rhs) |
bool | operator!= (const WirePlaneId &rhs) |
bool | operator< (const WirePlaneId &rhs) |
Definition at line 16 of file WirePlaneId.h.
|
explicit |
Definition at line 9 of file WirePlaneId.cxx.
|
explicit |
Definition at line 13 of file WirePlaneId.cxx.
int WireCell::WirePlaneId::apa | ( | ) | const |
APA number.
Definition at line 48 of file WirePlaneId.cxx.
int WireCell::WirePlaneId::face | ( | ) | const |
APA face number.
Definition at line 44 of file WirePlaneId.cxx.
int WireCell::WirePlaneId::ident | ( | ) | const |
Unit ID as integer.
Definition at line 21 of file WirePlaneId.cxx.
int WireCell::WirePlaneId::ilayer | ( | ) | const |
Layer as integer (not index!)
Definition at line 29 of file WirePlaneId.cxx.
int WireCell::WirePlaneId::index | ( | ) | const |
Layer as index number (0,1 or 2). -1 if unknown.
Definition at line 34 of file WirePlaneId.cxx.
WireCell::WirePlaneLayer_t WireCell::WirePlaneId::layer | ( | ) | const |
Layer as enum.
Definition at line 25 of file WirePlaneId.cxx.
bool WireCell::WirePlaneId::operator!= | ( | const WirePlaneId & | rhs | ) |
Definition at line 64 of file WirePlaneId.cxx.
bool WireCell::WirePlaneId::operator< | ( | const WirePlaneId & | rhs | ) |
bool WireCell::WirePlaneId::operator== | ( | const WirePlaneId & | rhs | ) |
Definition at line 59 of file WirePlaneId.cxx.
bool WireCell::WirePlaneId::valid | ( | ) | const |
return true if valid
Definition at line 53 of file WirePlaneId.cxx.