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

#include <IWireParameters.h>

Inheritance diagram for WireCell::IWireParameters:
WireCell::IComponent< IWireParameters > WireCell::Interface WireCell::WireParams

Public Member Functions

virtual ~IWireParameters ()
 
virtual const Raybounds () const =0
 Defines a box that bounds the set of wires. More...
 
virtual const RaypitchU () const =0
 
virtual const RaypitchV () const =0
 
virtual const RaypitchW () const =0
 
virtual const Raypitch (WireCell::WirePlaneLayer_t layer) const
 
- Public Member Functions inherited from WireCell::IComponent< IWireParameters >
virtual ~IComponent ()
 
- Public Member Functions inherited from WireCell::Interface
virtual ~Interface ()
 

Additional Inherited Members

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

Interface by which parameters describing wire planes can be accessed.

Assumptions and conventions:

The above is sufficient to define the wire planes, but further convention helps to conceptualize things.

U wires:

V wires:

W wires:

Given this, the wires planes are fully specified by four rays.

Parameters
boundsis a WireCell::Ray with its tail at the negative-most corner and its head at the positive-most corner of a rectangular bounding box.
Uis a WireCell::Ray with direction giving the plane's pitch and with endpoints on wires within the bounding box.
Vis same but same for V wire plane.
Wis same but for for W wire plane.

Definition at line 71 of file IWireParameters.h.

Constructor & Destructor Documentation

IWireParameters::~IWireParameters ( )
virtual

Definition at line 92 of file IfaceDesctructors.cxx.

92 { }

Member Function Documentation

virtual const Ray& WireCell::IWireParameters::bounds ( ) const
pure virtual

Defines a box that bounds the set of wires.

Provide access to the rays which were used to define the wires.

Implemented in WireCell::WireParams.

virtual const Ray& WireCell::IWireParameters::pitch ( WireCell::WirePlaneLayer_t  layer) const
inlinevirtual

Definition at line 93 of file IWireParameters.h.

93  {
94  static Ray bogus;
95  switch(layer) {
96  case kUlayer: return pitchU();
97  case kVlayer: return pitchV();
98  case kWlayer: return pitchW();
99  case kUnknownLayer: return bogus;
100  }
101  return bogus;
102  }
std::pair< Point, Point > Ray
A line segment running from a first (tail) to a second (head) point.
Definition: Point.h:21
virtual const Ray & pitchV() const =0
virtual const Ray & pitchU() const =0
virtual const Ray & pitchW() const =0
virtual const Ray& WireCell::IWireParameters::pitchU ( ) const
pure virtual

A ray going from the center of the first U wire to the second and perpendicular to both.

Implemented in WireCell::WireParams.

virtual const Ray& WireCell::IWireParameters::pitchV ( ) const
pure virtual

A ray going from the center of the first V wire to the second and perpendicular to both.

Implemented in WireCell::WireParams.

virtual const Ray& WireCell::IWireParameters::pitchW ( ) const
pure virtual

A ray going from the center of the first W wire to the second and perpendicular to both.

Implemented in WireCell::WireParams.


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