Belle II Software  release-06-01-15
IdealCDCGeometryTranslator.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 
9 #pragma once
10 
11 #include <cdc/dataobjects/CDCGeometryTranslatorBase.h>
12 #include <cdc/geometry/CDCGeometryPar.h>
13 
14 namespace Belle2 {
19  namespace CDC {
22  public:
25 
28 
30  const TVector3 getWireForwardPosition(const WireID& wireID,
31  float) override
32  {
34  }
35 
37  const TVector3 getWireForwardPosition(const WireID& wireID) override
38  {
40  }
41 
43  const TVector3 getWireBackwardPosition(const WireID& wireID,
44  float) override
45  {
47  }
48 
50  const TVector3 getWireBackwardPosition(const WireID& wireID) override
51  {
53  }
54  };
55  }
57 }
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 ideal detector geometry for the translation of wire IDs into geometric positions.
const TVector3 getWireForwardPosition(const WireID &wireID, float) override
As this is for the ideal geometry, I take simply the one used in the simulation.
const TVector3 getWireBackwardPosition(const WireID &wireID, float) override
As this is for the ideal geometry, I take simply the one used in the simulation.
const TVector3 getWireBackwardPosition(const WireID &wireID) override
The following (dummy) is needed to make this class compilable.
const TVector3 getWireForwardPosition(const WireID &wireID) override
The following (dummy) is needed to make this class compilable.
Class to identify a wire inside the CDC.
Definition: WireID.h:34
Abstract base class for different kinds of events.