Belle II Software  release-06-02-00
CDCGeometryTranslatorBase.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/WireID.h>
12 
13 #include <TVector3.h>
14 
15 namespace Belle2 {
20  namespace CDC {
23  public:
26 
29 
32  virtual const TVector3 getWireForwardPosition(const WireID& wireID) = 0;
33 
35  virtual const TVector3 getWireBackwardPosition(const WireID& wireID) = 0;
36 
44  virtual const TVector3 getWireForwardPosition(const WireID& wireID,
45  //float z = 0) = 0;
46  float z) = 0;
47 
49  virtual const TVector3 getWireBackwardPosition(const WireID& wireID,
50  //float z = 0) = 0;
51  float z) = 0;
52  };
53  }
55 }
Abstract Base class for the geometry translator.
virtual const TVector3 getWireBackwardPosition(const WireID &wireID, float z)=0
Beginning of imaginary wire in the more backward position.
virtual const TVector3 getWireForwardPosition(const WireID &wireID)=0
End of wire in the more forward position.
virtual const TVector3 getWireForwardPosition(const WireID &wireID, float z)=0
End of imaginary wire in the more forward position.
virtual const TVector3 getWireBackwardPosition(const WireID &wireID)=0
Beginning of wire in the more backward position.
Class to identify a wire inside the CDC.
Definition: WireID.h:34
Abstract base class for different kinds of events.