 |
Belle II Software
release-05-01-25
|
11 #ifndef REALISTICCDCGEOMETRYTRANSLATOR_H_
12 #define REALISTICCDCGEOMETRYTRANSLATOR_H_
14 #include <cdc/dataobjects/CDCGeometryTranslatorBase.h>
15 #include <cdc/geometry/CDCGeometryPar.h>
24 class RealisticCDCGeometryTranslator :
public CDCGeometryTranslatorBase {
Class to identify a wire inside the CDC.
const TVector3 wireForwardPosition(int layerId, int cellId, EWirePosition set=c_Base) const
Returns the forward position of the input sense wire.
~RealisticCDCGeometryTranslator()
Destructor.
bool m_wireSag
Flag to activate the sense wire sag effect.
const TVector3 wireBackwardPosition(int 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.
Abstract base class for different kinds of events.
RealisticCDCGeometryTranslator(bool wireSag=false)
Constructor, with the additional parameter to control wire sag.
const TVector3 getWireForwardPosition(const WireID &wireID) override
Get wire position at forward end.
const TVector3 getWireBackwardPosition(const WireID &wireID) override
Get wire position at backward end.