Belle II Software development
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#include <framework/geometry/B2Vector3.h>
13
14namespace Belle2 {
19 namespace CDC {
22 public:
25
28
31 virtual const B2Vector3D getWireForwardPosition(const WireID& wireID) = 0;
32
34 virtual const B2Vector3D getWireBackwardPosition(const WireID& wireID) = 0;
35
43 virtual const B2Vector3D getWireForwardPosition(const WireID& wireID,
44 //float z = 0) = 0;
45 float z) = 0;
46
48 virtual const B2Vector3D getWireBackwardPosition(const WireID& wireID,
49 //float z = 0) = 0;
50 float z) = 0;
51 };
52 }
54}
Abstract Base class for the geometry translator.
virtual const B2Vector3D getWireForwardPosition(const WireID &wireID)=0
End of wire in the more forward position.
virtual const B2Vector3D getWireForwardPosition(const WireID &wireID, float z)=0
End of imaginary wire in the more forward position.
virtual const B2Vector3D getWireBackwardPosition(const WireID &wireID)=0
Beginning of wire in the more backward position.
virtual const B2Vector3D getWireBackwardPosition(const WireID &wireID, float z)=0
Beginning of imaginary 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.