Belle II Software development
IdealCDCGeometryTranslator Class Reference

This class uses the ideal detector geometry for the translation of wire IDs into geometric positions. More...

#include <IdealCDCGeometryTranslator.h>

Inheritance diagram for IdealCDCGeometryTranslator:
CDCGeometryTranslatorBase

Public Member Functions

 IdealCDCGeometryTranslator ()
 Constructor.
 
 ~IdealCDCGeometryTranslator ()
 Destructor.
 
const ROOT::Math::XYZVector getWireForwardPosition (const WireID &wireID, float) override
 As this is for the ideal geometry, I take simply the one used in the simulation.
 
const ROOT::Math::XYZVector getWireForwardPosition (const WireID &wireID) override
 The following (dummy) is needed to make this class compilable.
 
const ROOT::Math::XYZVector getWireBackwardPosition (const WireID &wireID, float) override
 As this is for the ideal geometry, I take simply the one used in the simulation.
 
const ROOT::Math::XYZVector getWireBackwardPosition (const WireID &wireID) override
 The following (dummy) is needed to make this class compilable.
 

Detailed Description

This class uses the ideal detector geometry for the translation of wire IDs into geometric positions.

Definition at line 21 of file IdealCDCGeometryTranslator.h.

Constructor & Destructor Documentation

◆ IdealCDCGeometryTranslator()

Constructor.

Definition at line 24 of file IdealCDCGeometryTranslator.h.

24{}

◆ ~IdealCDCGeometryTranslator()

Destructor.

Definition at line 27 of file IdealCDCGeometryTranslator.h.

27{}

Member Function Documentation

◆ getWireBackwardPosition() [1/2]

const ROOT::Math::XYZVector getWireBackwardPosition ( const WireID & wireID)
inlineoverridevirtual

The following (dummy) is needed to make this class compilable.

Implements CDCGeometryTranslatorBase.

Definition at line 50 of file IdealCDCGeometryTranslator.h.

51 {
52 return CDCGeometryPar::Instance().wireBackwardPosition(wireID);
53 }

◆ getWireBackwardPosition() [2/2]

const ROOT::Math::XYZVector getWireBackwardPosition ( const WireID & wireID,
float  )
inlineoverridevirtual

As this is for the ideal geometry, I take simply the one used in the simulation.

Implements CDCGeometryTranslatorBase.

Definition at line 43 of file IdealCDCGeometryTranslator.h.

45 {
46 return CDCGeometryPar::Instance().wireBackwardPosition(wireID);
47 }

◆ getWireForwardPosition() [1/2]

const ROOT::Math::XYZVector getWireForwardPosition ( const WireID & wireID)
inlineoverridevirtual

The following (dummy) is needed to make this class compilable.

Implements CDCGeometryTranslatorBase.

Definition at line 37 of file IdealCDCGeometryTranslator.h.

38 {
39 return CDCGeometryPar::Instance().wireForwardPosition(wireID);
40 }

◆ getWireForwardPosition() [2/2]

const ROOT::Math::XYZVector getWireForwardPosition ( const WireID & wireID,
float  )
inlineoverridevirtual

As this is for the ideal geometry, I take simply the one used in the simulation.

Implements CDCGeometryTranslatorBase.

Definition at line 30 of file IdealCDCGeometryTranslator.h.

32 {
33 return CDCGeometryPar::Instance().wireForwardPosition(wireID);
34 }

The documentation for this class was generated from the following file: