11 #include <cdc/dataobjects/CDCGeometryTranslatorBase.h>
12 #include <cdc/geometry/CDCGeometryPar.h>
const TVector3 wireBackwardPosition(int layerId, int cellId, EWirePosition set=c_Base) const
Returns the backward position of the input sense wire.
const TVector3 wireForwardPosition(int layerId, int cellId, EWirePosition set=c_Base) const
Returns the forward position of the input sense wire.
static CDCGeometryPar & Instance(const CDCGeometry *=nullptr)
Static method to get a reference to the CDCGeometryPar instance.
Abstract Base class for the geometry translator.
This class uses the realistic detector geometry (the one after alignment procedure) for the translati...
bool m_wireSag
Flag to activate the sense wire sag effect.
const TVector3 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 TVector3 getWireForwardPosition(const WireID &wireID, float z) override
Get virtual wire position at forward end, corresponding to tangent line to wire at input z-position.
~RealisticCDCGeometryTranslator()
Destructor.
const TVector3 getWireBackwardPosition(const WireID &wireID, float z) override
Get virtual wire position at backward end, corresponding to tangent line to wire at input z-position.
const TVector3 getWireForwardPosition(const WireID &wireID) override
Get wire position at forward end.
Class to identify a wire inside the CDC.
Abstract base class for different kinds of events.