Belle II Software  release-05-01-25
IdealCDCGeometryTranslator.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2012 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Martin Heck *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef IDEALCDCGEOMETRYTRANSLATOR_H_
12 #define IDEALCDCGEOMETRYTRANSLATOR_H_
13 
14 #include <cdc/dataobjects/CDCGeometryTranslatorBase.h>
15 #include <cdc/geometry/CDCGeometryPar.h>
16 
17 namespace Belle2 {
22  namespace CDC {
24  class IdealCDCGeometryTranslator : public CDCGeometryTranslatorBase {
25  public:
28 
31 
33  const TVector3 getWireForwardPosition(const WireID& wireID,
34  float) override
35  {
37  }
38 
40  const TVector3 getWireForwardPosition(const WireID& wireID) override
41  {
43  }
44 
46  const TVector3 getWireBackwardPosition(const WireID& wireID,
47  float) override
48  {
50  }
51 
53  const TVector3 getWireBackwardPosition(const WireID& wireID) override
54  {
56  }
57  };
58  }
60 }
61 #endif /* IDEALCDCGEOMETRYTRANSLATOR_H */
Belle2::WireID
Class to identify a wire inside the CDC.
Definition: WireID.h:44
Belle2::CDC::CDCGeometryPar::wireForwardPosition
const TVector3 wireForwardPosition(int layerId, int cellId, EWirePosition set=c_Base) const
Returns the forward position of the input sense wire.
Definition: CDCGeometryPar.cc:1625
Belle2::CDC::IdealCDCGeometryTranslator::getWireForwardPosition
const TVector3 getWireForwardPosition(const WireID &wireID, float) override
As this is for the ideal geometry, I take simply the one used in the simulation.
Definition: IdealCDCGeometryTranslator.h:41
Belle2::CDC::IdealCDCGeometryTranslator::getWireBackwardPosition
const TVector3 getWireBackwardPosition(const WireID &wireID, float) override
As this is for the ideal geometry, I take simply the one used in the simulation.
Definition: IdealCDCGeometryTranslator.h:54
Belle2::CDC::IdealCDCGeometryTranslator::~IdealCDCGeometryTranslator
~IdealCDCGeometryTranslator()
Destructor.
Definition: IdealCDCGeometryTranslator.h:38
Belle2::CDC::CDCGeometryPar::wireBackwardPosition
const TVector3 wireBackwardPosition(int layerId, int cellId, EWirePosition set=c_Base) const
Returns the backward position of the input sense wire.
Definition: CDCGeometryPar.cc:1662
Belle2::CDC::CDCGeometryPar::Instance
static CDCGeometryPar & Instance(const CDCGeometry *=nullptr)
Static method to get a reference to the CDCGeometryPar instance.
Definition: CDCGeometryPar.cc:41
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::CDC::IdealCDCGeometryTranslator::IdealCDCGeometryTranslator
IdealCDCGeometryTranslator()
Constructor.
Definition: IdealCDCGeometryTranslator.h:35