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

#include <SimpleChannel.h>

Inheritance diagram for WireCell::SimpleChannel:
Collaboration diagram for WireCell::SimpleChannel:

Public Member Functions

 SimpleChannel (int ident=-1, int index=-1, const IWire::vector &wires=IWire::vector())
 
virtual ~SimpleChannel ()
 
virtual int ident () const
 
virtual int index () const
 
virtual const IWire::vectorwires () const
 Wire segments ordered in increasing distance from channel input. More...
 
void add (const IWire::pointer &wire)
 
void set_index (int ind)
 
- Public Member Functions inherited from WireCell::IChannel
virtual ~IChannel ()
 
virtual WirePlaneId planeid () const
 The ID of the plane of wire zero. This is just sugar. More...
 
- Public Member Functions inherited from WireCell::IData< IChannel >
virtual ~IData ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 10 of file SimpleChannel.h.

Constructor & Destructor Documentation

◆ SimpleChannel()

SimpleChannel::SimpleChannel ( int  ident = -1,
int  index = -1,
const IWire::vector wires = IWire::vector() 
)

Definition at line 5 of file SimpleChannel.cxx.

◆ ~SimpleChannel()

SimpleChannel::~SimpleChannel ( )
virtual

Definition at line 11 of file SimpleChannel.cxx.

Member Function Documentation

◆ add()

void SimpleChannel::add ( const IWire::pointer wire)

Definition at line 31 of file SimpleChannel.cxx.

Here is the caller graph for this function:

◆ ident()

int SimpleChannel::ident ( ) const
virtual

Detector-dependent, globally unique channel ID number. Negative is illegal, not guaranteed consecutive over all given channels. This same number may be called simply "channel" in other contexts.

Implements WireCell::IChannel.

Definition at line 15 of file SimpleChannel.cxx.

◆ index()

int SimpleChannel::index ( ) const
virtual

The channel index is the "Wire Attachment Number". The WAN counts along points of attachment of the zero' zero-segment wires for a wire plane. Note, for detectors with wrapped wires this index also wraps. It counts in the same direction as the WIP number of IWire::index but starts at zero even with wrapped wire detectors.

Implements WireCell::IChannel.

Definition at line 19 of file SimpleChannel.cxx.

◆ set_index()

void SimpleChannel::set_index ( int  ind)

Definition at line 36 of file SimpleChannel.cxx.

Here is the caller graph for this function:

◆ wires()

const IWire::vector & SimpleChannel::wires ( ) const
virtual

Wire segments ordered in increasing distance from channel input.

Implements WireCell::IChannel.

Definition at line 23 of file SimpleChannel.cxx.


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