WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::WirePlaneId Class Reference

#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)
 

Detailed Description

Definition at line 16 of file WirePlaneId.h.

Constructor & Destructor Documentation

◆ WirePlaneId() [1/2]

WireCell::WirePlaneId::WirePlaneId ( WirePlaneLayer_t  layer,
int  face = 0,
int  apa = 0 
)
explicit

Definition at line 9 of file WirePlaneId.cxx.

◆ WirePlaneId() [2/2]

WireCell::WirePlaneId::WirePlaneId ( int  packed)
explicit

Definition at line 13 of file WirePlaneId.cxx.

Member Function Documentation

◆ apa()

int WireCell::WirePlaneId::apa ( ) const

APA number.

Definition at line 48 of file WirePlaneId.cxx.

Here is the caller graph for this function:

◆ face()

int WireCell::WirePlaneId::face ( ) const

APA face number.

Definition at line 44 of file WirePlaneId.cxx.

Here is the caller graph for this function:

◆ ident()

int WireCell::WirePlaneId::ident ( ) const

Unit ID as integer.

Definition at line 21 of file WirePlaneId.cxx.

Here is the caller graph for this function:

◆ ilayer()

int WireCell::WirePlaneId::ilayer ( ) const

Layer as integer (not index!)

Definition at line 29 of file WirePlaneId.cxx.

Here is the caller graph for this function:

◆ index()

int WireCell::WirePlaneId::index ( ) const

Layer as index number (0,1 or 2). -1 if unknown.

Definition at line 34 of file WirePlaneId.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ layer()

WireCell::WirePlaneLayer_t WireCell::WirePlaneId::layer ( ) const

Layer as enum.

Definition at line 25 of file WirePlaneId.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

bool WireCell::WirePlaneId::operator!= ( const WirePlaneId rhs)

Definition at line 64 of file WirePlaneId.cxx.

◆ operator<()

bool WireCell::WirePlaneId::operator< ( const WirePlaneId rhs)

Definition at line 69 of file WirePlaneId.cxx.

Here is the call graph for this function:

◆ operator==()

bool WireCell::WirePlaneId::operator== ( const WirePlaneId rhs)

Definition at line 59 of file WirePlaneId.cxx.

◆ valid()

bool WireCell::WirePlaneId::valid ( ) const

return true if valid

Definition at line 53 of file WirePlaneId.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: