#include <WireParams.h>
Public Member Functions | |
void | set (const Ray &bounds, const Ray &U, const Ray &V, const Ray &W) |
void | set (double dx=10 *units::mm, double dy=1 *units::meter, double dz=1 *units::meter, double pitch=10 *units::mm, double angle=60.0 *units::degree) |
const Ray & | bounds () const |
const Ray & | pitchU () const |
const Ray & | pitchV () const |
const Ray & | pitchW () const |
virtual void | configure (const WireCell::Configuration &config) |
virtual WireCell::Configuration | default_configuration () const |
Optional, override to return a hard-coded default configuration. More... | |
WireParams () | |
virtual | ~WireParams () |
Public Member Functions inherited from WireCell::IWireParameters | |
virtual | ~IWireParameters () |
virtual const Ray & | pitch (WireCell::WirePlaneLayer_t layer) const |
Public Member Functions inherited from WireCell::IComponent< IWireParameters > | |
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 () |
Private Attributes | |
Ray | m_bounds |
Ray | m_pitchU |
Ray | m_pitchV |
Ray | m_pitchW |
Additional Inherited Members | |
Public Types inherited from WireCell::IComponent< IWireParameters > | |
typedef std::shared_ptr< IWireParameters > | pointer |
Access subclass facet by pointer. More... | |
typedef std::vector< pointer > | vector |
Vector of shared pointers. More... | |
Public Types inherited from WireCell::Interface | |
typedef std::shared_ptr< Interface > | pointer |
Public Types inherited from WireCell::IComponent< IConfigurable > | |
typedef std::shared_ptr< IConfigurable > | pointer |
Access subclass facet by pointer. More... | |
typedef std::vector< pointer > | vector |
Vector of shared pointers. More... | |
Embody parameters describing a triple of wire planes and provide a configurable interface.
Definition at line 12 of file WireParams.h.
WireParams::WireParams | ( | ) |
Definition at line 17 of file WireParams.cxx.
|
virtual |
Definition at line 23 of file WireParams.cxx.
|
virtual |
Provide access to the rays which were used to define the wires.
Implements WireCell::IWireParameters.
Definition at line 149 of file WireParams.cxx.
|
virtual |
Configurable interface.
Implements WireCell::IConfigurable.
Definition at line 44 of file WireParams.cxx.
|
virtual |
Optional, override to return a hard-coded default configuration.
Reimplemented from WireCell::IConfigurable.
Definition at line 29 of file WireParams.cxx.
|
virtual |
A ray going from the center of the first U wire to the second and perpendicular to both.
Implements WireCell::IWireParameters.
Definition at line 150 of file WireParams.cxx.
|
virtual |
A ray going from the center of the first V wire to the second and perpendicular to both.
Implements WireCell::IWireParameters.
Definition at line 151 of file WireParams.cxx.
|
virtual |
A ray going from the center of the first W wire to the second and perpendicular to both.
Implements WireCell::IWireParameters.
Definition at line 152 of file WireParams.cxx.
Directly set the fundamental parameters. See WireCell::IWireParameters.
Definition at line 100 of file WireParams.cxx.
void WireCell::WireParams::set | ( | double | dx = 10 *units::mm , |
double | dy = 1 *units::meter , |
||
double | dz = 1 *units::meter , |
||
double | pitch = 10 *units::mm , |
||
double | angle = 60.0 *units::degree |
||
) |
Set the wire parameters simply.
This method gives a simpler, more restricted interface to setting the wire parameter. It follows the same conventions as the one above but assumes:
dx,dy,dz | are the full widths of the bounding box in the associated direction. |
pitch | is the perpendicular distance between two adjacent wires in a plane. |
angle | is the absolute angular distance from the U and V wires and the Y-axis. |
|
private |
Definition at line 71 of file WireParams.h.
|
private |
Definition at line 71 of file WireParams.h.
|
private |
Definition at line 71 of file WireParams.h.
|
private |
Definition at line 71 of file WireParams.h.