#include <CSCNonslantedWireGeometry.h>
Public Member Functions | |
CSCWireGeometry * | clone () const |
CSCNonslantedWireGeometry (double wireSpacing, double yOfFirstWire, double narrow, double wide, double length) | |
int | nearestWire (const LocalPoint &lp) const |
float | wireAngle () const |
float | yOfWire (float wire, float x=0.) const |
virtual | ~CSCNonslantedWireGeometry () |
Public Member Functions inherited from CSCWireGeometry | |
CSCWireGeometry (double wireSpacing, double yOfFirstWire, double narrowWidthOfPlane, double wideWidthOfPlane, double lengthOfPlane) | |
std::pair< float, float > | equationOfWire (float wire) const |
LocalPoint | intersection (float m1, float c1, float m2, float c2) const |
double | lengthOfPlane () const |
double | narrowWidthOfPlane () const |
double | wideWidthOfPlane () const |
std::pair< LocalPoint, LocalPoint > | wireEnds (float wire) const |
double | wireSpacing () const |
std::vector< float > | wireValues (float wire) const |
std::pair< float, float > | yLimitsOfWirePlane () const |
double | yOfFirstWire () const |
virtual | ~CSCWireGeometry () |
A concrete CSCWireGeometry in which the wires are not slanted, i.e. they are all parallel to the local x axis.
Definition at line 16 of file CSCNonslantedWireGeometry.h.
|
inlinevirtual |
Definition at line 18 of file CSCNonslantedWireGeometry.h.
|
inline |
Constructor from wire spacing
Definition at line 23 of file CSCNonslantedWireGeometry.h.
Referenced by clone().
|
inlinevirtual |
Clone to handle correct copy of component objects referenced by base class pointer.
Implements CSCWireGeometry.
Definition at line 52 of file CSCNonslantedWireGeometry.h.
References CSCNonslantedWireGeometry().
|
inlinevirtual |
The nearest (virtual) wire to a given LocalPoint. Beware that this wire might not exist or be read out!
Implements CSCWireGeometry.
Definition at line 36 of file CSCNonslantedWireGeometry.h.
References nint(), CSCWireGeometry::wireSpacing(), PV3DBase< T, PVType, FrameType >::y(), and CSCWireGeometry::yOfFirstWire().
|
inlinevirtual |
The angle of the wires w.r.t local x axis (in radians)
Implements CSCWireGeometry.
Definition at line 30 of file CSCNonslantedWireGeometry.h.
|
inlinevirtual |
Local y of a given wire 'number' (float) at given x For nonslanted wires this y is independent of x.
Implements CSCWireGeometry.
Definition at line 44 of file CSCNonslantedWireGeometry.h.
References CSCWireGeometry::wireSpacing(), and CSCWireGeometry::yOfFirstWire().