#include <AnodePlane.h>
Public Member Functions | |
AnodePlane () | |
virtual | ~AnodePlane () |
virtual void | configure (const WireCell::Configuration &config) |
Accept a configuration. More... | |
virtual WireCell::Configuration | default_configuration () const |
Optional, override to return a hard-coded default configuration. More... | |
virtual int | ident () const |
IAnodePlane interface. More... | |
virtual int | nfaces () const |
Return number of faces (eg, MicroBooNE=1, DUNE=2) More... | |
virtual IAnodeFace::pointer | face (int ident) const |
Return a anode face by its ident number. More... | |
virtual IAnodeFace::vector | faces () const |
Return all faces. More... | |
virtual WirePlaneId | resolve (int channel) const |
Resolve a channel ident number to a WirePlaneId. More... | |
virtual std::vector< int > | channels () const |
Return a collection of all channels. More... | |
virtual IChannel::pointer | channel (int chident) const |
Return an IChannel with the associated channel ID. More... | |
virtual IWire::vector | wires (int channel) const |
Return all wires connected into the given channel ident number. More... | |
Public Member Functions inherited from WireCell::IAnodePlane | |
virtual | ~IAnodePlane () |
Public Member Functions inherited from WireCell::IComponent< IAnodePlane > | |
virtual | ~IComponent () |
Public Member Functions inherited from WireCell::Interface | |
virtual | ~Interface () |
Public Member Functions inherited from WireCell::IConfigurable | |
virtual | ~IConfigurable () |
Public Member Functions inherited from WireCell::IComponent< IConfigurable > | |
virtual | ~IComponent () |
Private Attributes | |
int | m_ident |
IAnodeFace::vector | m_faces |
std::unordered_map< int, int > | m_c2wpid |
std::unordered_map< int, IWire::vector > | m_c2wires |
std::vector< int > | m_channels |
std::unordered_map< int, IChannel::pointer > | m_ichannels |
Log::logptr_t | l |
Additional Inherited Members | |
Public Types inherited from WireCell::IComponent< IAnodePlane > | |
typedef std::shared_ptr< IAnodePlane > | pointer |
Access subclass facet by pointer. More... | |
typedef std::vector< pointer > | vector |
Vector of shared pointers. More... | |
Public Types inherited from WireCell::Interface | |
typedef std::shared_ptr< Interface > | pointer |
Public Types inherited from WireCell::IComponent< IConfigurable > | |
typedef std::shared_ptr< IConfigurable > | pointer |
Access subclass facet by pointer. More... | |
typedef std::vector< pointer > | vector |
Vector of shared pointers. More... | |
Definition at line 18 of file AnodePlane.h.
Gen::AnodePlane::AnodePlane | ( | ) |
Definition at line 28 of file AnodePlane.cxx.
|
inlinevirtual |
Definition at line 22 of file AnodePlane.h.
|
virtual |
Return an IChannel with the associated channel ID.
Implements WireCell::IAnodePlane.
Definition at line 297 of file AnodePlane.cxx.
|
virtual |
Return a collection of all channels.
Implements WireCell::IAnodePlane.
Definition at line 306 of file AnodePlane.cxx.
|
virtual |
Accept a configuration.
Implements WireCell::IConfigurable.
Definition at line 108 of file AnodePlane.cxx.
|
virtual |
Optional, override to return a hard-coded default configuration.
This number is used to take from the wire file the anode
Name of a IWireSchema component.
Reimplemented from WireCell::IConfigurable.
Definition at line 38 of file AnodePlane.cxx.
|
virtual |
Return a anode face by its ident number.
Implements WireCell::IAnodePlane.
Definition at line 275 of file AnodePlane.cxx.
|
inlinevirtual |
|
inlinevirtual |
IAnodePlane interface.
Implements WireCell::IAnodePlane.
Definition at line 31 of file AnodePlane.h.
|
inlinevirtual |
Return number of faces (eg, MicroBooNE=1, DUNE=2)
Implements WireCell::IAnodePlane.
Definition at line 32 of file AnodePlane.h.
|
virtual |
Resolve a channel ident number to a WirePlaneId.
Implements WireCell::IAnodePlane.
Definition at line 286 of file AnodePlane.cxx.
|
virtual |
Return all wires connected into the given channel ident number.
Implements WireCell::IAnodePlane.
Definition at line 311 of file AnodePlane.cxx.
|
private |
Definition at line 49 of file AnodePlane.h.
|
private |
Definition at line 46 of file AnodePlane.h.
|
private |
Definition at line 45 of file AnodePlane.h.
|
private |
Definition at line 47 of file AnodePlane.h.
|
private |
Definition at line 43 of file AnodePlane.h.
|
private |
Definition at line 48 of file AnodePlane.h.
|
private |
Definition at line 42 of file AnodePlane.h.