Belle II Software  release-05-02-19
CDCGeometryTranslatorBase.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 CDCGEOMETRYTRANSLATORBASE_H
12 #define CDCGEOMETRYTRANSLATORBASE_H
13 
14 #include <cdc/dataobjects/WireID.h>
15 
16 #include <TVector3.h>
17 
18 namespace Belle2 {
23  namespace CDC {
25  class CDCGeometryTranslatorBase {
26  public:
29 
31  virtual ~CDCGeometryTranslatorBase() {}
32 
35  virtual const TVector3 getWireForwardPosition(const WireID& wireID) = 0;
36 
38  virtual const TVector3 getWireBackwardPosition(const WireID& wireID) = 0;
39 
47  virtual const TVector3 getWireForwardPosition(const WireID& wireID,
48  //float z = 0) = 0;
49  float z) = 0;
50 
52  virtual const TVector3 getWireBackwardPosition(const WireID& wireID,
53  //float z = 0) = 0;
54  float z) = 0;
55  };
56  }
58 }
59 #endif /* CDCGEOMETRYTRANSLATORBASE_H */
Belle2::WireID
Class to identify a wire inside the CDC.
Definition: WireID.h:44
Belle2::CDC::CDCGeometryTranslatorBase::getWireBackwardPosition
virtual const TVector3 getWireBackwardPosition(const WireID &wireID)=0
Beginning of wire in the more backward position.
Belle2::CDC::CDCGeometryTranslatorBase::CDCGeometryTranslatorBase
CDCGeometryTranslatorBase()
Constructor.
Definition: CDCGeometryTranslatorBase.h:36
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::CDC::CDCGeometryTranslatorBase::~CDCGeometryTranslatorBase
virtual ~CDCGeometryTranslatorBase()
Destructor.
Definition: CDCGeometryTranslatorBase.h:39
Belle2::CDC::CDCGeometryTranslatorBase::getWireForwardPosition
virtual const TVector3 getWireForwardPosition(const WireID &wireID)=0
End of wire in the more forward position.