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

#include <SimpleWire.h>

Inheritance diagram for WireCell::SimpleWire:
Collaboration diagram for WireCell::SimpleWire:

Public Member Functions

 SimpleWire (WireCell::WirePlaneId wpid, int ident, int index, int channel, const WireCell::Ray &ray, int segment=0)
 
virtual ~SimpleWire ()
 
int ident () const
 
WireCell::WirePlaneId planeid () const
 The ID of the plane this wire is in. More...
 
int index () const
 
int channel () const
 
WireCell::Ray ray () const
 Return the ray representing the wire segment. More...
 
int segment () const
 
- Public Member Functions inherited from WireCell::IWire
virtual ~IWire ()
 
virtual WireCell::Point center () const
 Return the center point of the wire. Convenience method. More...
 
- Public Member Functions inherited from WireCell::IData< IWire >
virtual ~IData ()
 

Additional Inherited Members

- Public Types inherited from WireCell::IData< IWire >
typedef IWire value_type
 
typedef std::shared_ptr< const IWirepointer
 
typedef std::vector< pointervector
 
typedef std::shared_ptr< const vectorshared_vector
 

Detailed Description

A wire that simply holds all its data.

Definition at line 10 of file SimpleWire.h.

Constructor & Destructor Documentation

◆ SimpleWire()

WireCell::SimpleWire::SimpleWire ( WireCell::WirePlaneId  wpid,
int  ident,
int  index,
int  channel,
const WireCell::Ray ray,
int  segment = 0 
)
inline

Definition at line 18 of file SimpleWire.h.

Here is the call graph for this function:

◆ ~SimpleWire()

SimpleWire::~SimpleWire ( )
virtual

Definition at line 174 of file IfaceDesctructors.cxx.

Here is the caller graph for this function:

Member Function Documentation

◆ channel()

int WireCell::SimpleWire::channel ( ) const
inlinevirtual

Detector-dependent electronics channel number, negative is illegal. All wires with a common channel number are considered electrically connected.

Implements WireCell::IWire.

Definition at line 35 of file SimpleWire.h.

◆ ident()

int WireCell::SimpleWire::ident ( ) const
inlinevirtual

Detector-dependent, globally unique ID number. Negative is illegal, not guaranteed consecutive.

Implements WireCell::IWire.

Definition at line 29 of file SimpleWire.h.

◆ index()

int WireCell::SimpleWire::index ( ) const
inlinevirtual

Consecutive, zero-based index into an ordered sequence of wires in their plane

Implements WireCell::IWire.

Definition at line 33 of file SimpleWire.h.

◆ planeid()

WireCell::WirePlaneId WireCell::SimpleWire::planeid ( ) const
inlinevirtual

The ID of the plane this wire is in.

Implements WireCell::IWire.

Definition at line 31 of file SimpleWire.h.

◆ ray()

WireCell::Ray WireCell::SimpleWire::ray ( ) const
inlinevirtual

Return the ray representing the wire segment.

Implements WireCell::IWire.

Definition at line 37 of file SimpleWire.h.

◆ segment()

int WireCell::SimpleWire::segment ( ) const
inlinevirtual

Return the number of wire segments between the channel input and this wire. Wire directly attached to channel input is segment==0.

Implements WireCell::IWire.

Definition at line 39 of file SimpleWire.h.


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