11#include <cdc/translators/CDCGeometryTranslatorBase.h>
12#include <cdc/geometry/CDCGeometryPar.h>
const B2Vector3D wireForwardPosition(uint layerId, int cellId, EWirePosition set=c_Base) const
Returns the forward position of the input sense wire.
const B2Vector3D wireBackwardPosition(uint layerId, int cellId, EWirePosition set=c_Base) const
Returns the backward position of the input sense wire.
static CDCGeometryPar & Instance(const CDCGeometry *=nullptr)
Static method to get a reference to the CDCGeometryPar instance.
CDCGeometryTranslatorBase()
Constructor.
const B2Vector3D getWireForwardPosition(const WireID &wireID, float z) override
Get virtual wire position at forward end, corresponding to tangent line to wire at input z-position.
bool m_wireSag
Flag to activate the sense wire sag effect.
const B2Vector3D getWireBackwardPosition(const WireID &wireID) override
Get wire position at backward end.
RealisticCDCGeometryTranslator(bool wireSag=false)
Constructor, with the additional parameter to control wire sag.
const B2Vector3D getWireBackwardPosition(const WireID &wireID, float z) override
Get virtual wire position at backward end, corresponding to tangent line to wire at input z-position.
~RealisticCDCGeometryTranslator()
Destructor.
const B2Vector3D getWireForwardPosition(const WireID &wireID) override
Get wire position at forward end.
Class to identify a wire inside the CDC.
B2Vector3< double > B2Vector3D
typedef for common usage with double
Abstract base class for different kinds of events.