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

#include <AnodePlane.h>

Inheritance diagram for WireCell::Gen::AnodePlane:
Collaboration diagram for WireCell::Gen::AnodePlane:

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

Additional Inherited Members

- Public Types inherited from WireCell::IComponent< IAnodePlane >
typedef std::shared_ptr< IAnodePlanepointer
 Access subclass facet by pointer. More...
 
typedef std::vector< pointervector
 Vector of shared pointers. More...
 
- Public Types inherited from WireCell::Interface
typedef std::shared_ptr< Interfacepointer
 
- Public Types inherited from WireCell::IComponent< IConfigurable >
typedef std::shared_ptr< IConfigurablepointer
 Access subclass facet by pointer. More...
 
typedef std::vector< pointervector
 Vector of shared pointers. More...
 

Detailed Description

Definition at line 18 of file AnodePlane.h.

Constructor & Destructor Documentation

◆ AnodePlane()

Gen::AnodePlane::AnodePlane ( )

Definition at line 28 of file AnodePlane.cxx.

◆ ~AnodePlane()

virtual WireCell::Gen::AnodePlane::~AnodePlane ( )
inlinevirtual

Definition at line 22 of file AnodePlane.h.

Here is the call graph for this function:

Member Function Documentation

◆ channel()

IChannel::pointer Gen::AnodePlane::channel ( int  chident) const
virtual

Return an IChannel with the associated channel ID.

Implements WireCell::IAnodePlane.

Definition at line 297 of file AnodePlane.cxx.

Here is the caller graph for this function:

◆ channels()

std::vector< int > Gen::AnodePlane::channels ( ) const
virtual

Return a collection of all channels.

Implements WireCell::IAnodePlane.

Definition at line 306 of file AnodePlane.cxx.

Here is the caller graph for this function:

◆ configure()

void Gen::AnodePlane::configure ( const WireCell::Configuration config)
virtual

Accept a configuration.

Implements WireCell::IConfigurable.

Definition at line 108 of file AnodePlane.cxx.

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

◆ default_configuration()

WireCell::Configuration Gen::AnodePlane::default_configuration ( ) const
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.

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

◆ face()

IAnodeFace::pointer Gen::AnodePlane::face ( int  ident) const
virtual

Return a anode face by its ident number.

Implements WireCell::IAnodePlane.

Definition at line 275 of file AnodePlane.cxx.

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

◆ faces()

virtual IAnodeFace::vector WireCell::Gen::AnodePlane::faces ( ) const
inlinevirtual

Return all faces.

Implements WireCell::IAnodePlane.

Definition at line 34 of file AnodePlane.h.

Here is the call graph for this function:

◆ ident()

virtual int WireCell::Gen::AnodePlane::ident ( ) const
inlinevirtual

IAnodePlane interface.

Implements WireCell::IAnodePlane.

Definition at line 31 of file AnodePlane.h.

Here is the caller graph for this function:

◆ nfaces()

virtual int WireCell::Gen::AnodePlane::nfaces ( ) const
inlinevirtual

Return number of faces (eg, MicroBooNE=1, DUNE=2)

Implements WireCell::IAnodePlane.

Definition at line 32 of file AnodePlane.h.

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

◆ resolve()

WirePlaneId Gen::AnodePlane::resolve ( int  channel) const
virtual

Resolve a channel ident number to a WirePlaneId.

Implements WireCell::IAnodePlane.

Definition at line 286 of file AnodePlane.cxx.

Here is the caller graph for this function:

◆ wires()

IWire::vector Gen::AnodePlane::wires ( int  chident) const
virtual

Return all wires connected into the given channel ident number.

Implements WireCell::IAnodePlane.

Definition at line 311 of file AnodePlane.cxx.

Here is the caller graph for this function:

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