Public Member Functions | List of all members
WireCell::IWirePlane Class Referenceabstract

#include <IWirePlane.h>

Inheritance diagram for WireCell::IWirePlane:
WireCell::IComponent< IWirePlane > WireCell::Interface WireCell::Gen::WirePlane

Public Member Functions

virtual ~IWirePlane ()
 
virtual int ident () const =0
 
virtual const Pimpospimpos () const =0
 Return a Pimpos object for this wire plane. More...
 
virtual const IWire::vectorwires () const =0
 Return vector of wire objects ordered by increasing Z. More...
 
virtual const IChannel::vectorchannels () const =0
 
virtual WirePlaneId planeid () const
 The ID of the plane of wire zero. This is just sugar. More...
 
- Public Member Functions inherited from WireCell::IComponent< IWirePlane >
virtual ~IComponent ()
 
- Public Member Functions inherited from WireCell::Interface
virtual ~Interface ()
 

Additional Inherited Members

- Public Types inherited from WireCell::IComponent< IWirePlane >
typedef std::shared_ptr< IWirePlanepointer
 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
 

Detailed Description

Definition at line 19 of file IWirePlane.h.

Constructor & Destructor Documentation

IWirePlane::~IWirePlane ( )
virtual

Definition at line 5 of file IWirePlane.cxx.

6 {
7 }

Member Function Documentation

virtual const IChannel::vector& WireCell::IWirePlane::channels ( ) const
pure virtual

Return vector of channel objects ordered by their index (NOT their channel ident number).

Implemented in WireCell::Gen::WirePlane.

virtual int WireCell::IWirePlane::ident ( ) const
pure virtual

Implemented in WireCell::Gen::WirePlane.

virtual const Pimpos* WireCell::IWirePlane::pimpos ( ) const
pure virtual

Return a Pimpos object for this wire plane.

Implemented in WireCell::Gen::WirePlane.

WirePlaneId IWirePlane::planeid ( ) const
virtual

The ID of the plane of wire zero. This is just sugar.

Definition at line 9 of file IWirePlane.cxx.

10 {
11  static const WirePlaneId bogus(kUnknownLayer, -1, -1);
12  const IWire::vector& w = wires();
13  if (w.empty()) { return bogus; }
14  return w.front()->planeid();
15 }
virtual const IWire::vector & wires() const =0
Return vector of wire objects ordered by increasing Z.
std::vector< pointer > vector
Definition: IData.h:21
virtual const IWire::vector& WireCell::IWirePlane::wires ( ) const
pure virtual

Return vector of wire objects ordered by increasing Z.

Implemented in WireCell::Gen::WirePlane.


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