ATLAS Offline Software
Loading...
Searching...
No Matches
SurfaceToSoNode.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef SURFACETOSONODE_H
6#define SURFACETOSONODE_H
7
9// //
10// Header file for class SurfaceToSoNode //
11// //
12// Author: Andreas Salzburger <Andreas.Salzburger@cern.ch> (primary) //
13// Thomas Kittelmann <Thomas.Kittelmann@cern.ch> //
14// //
15// Initial VP1 version: June 2007 //
16// //
18
19class SoNode;
20
21namespace Trk {
22 class Surface;
23 class PlaneSurface;
24 class CylinderSurface;
25 class DiscSurface;
27 class PerigeeSurface;
28}
29
31
32public:
33 // Public type definitions:
34
35 // Default constructor
37
38 // Destructor
39 virtual ~SurfaceToSoNode();
40
41 // the general one, has to do a dynamic cast
42 SoNode* translateSurface(const Trk::Surface& sf, const bool& simple=false) const;
43
44 // translate a PlaneSurface
45 SoNode* translatePlaneSurface(const Trk::PlaneSurface& psf ) const;
46 // translate a CylinderSurface
47 SoNode* translateCylinderSurface(const Trk::CylinderSurface& csf ) const;
48 // translate a DiscSurface
49 SoNode* translateDiscSurface(const Trk::DiscSurface& dsf) const;
50 // translate a StraightLineSurface
51 SoNode* translateStraightLineSurface(const Trk::StraightLineSurface& slsf, const bool& simple=false) const;
52 // translate a PerigeeSurface
53 SoNode* translatePerigeeSurface(const Trk::PerigeeSurface& persf) const;
54
55 static const double surfaceThickness;
56};
57
58#endif
59
60
SoNode * translateCylinderSurface(const Trk::CylinderSurface &csf) const
SoNode * translatePerigeeSurface(const Trk::PerigeeSurface &persf) const
SoNode * translateStraightLineSurface(const Trk::StraightLineSurface &slsf, const bool &simple=false) const
SoNode * translatePlaneSurface(const Trk::PlaneSurface &psf) const
SoNode * translateDiscSurface(const Trk::DiscSurface &dsf) const
virtual ~SurfaceToSoNode()
static const double surfaceThickness
SoNode * translateSurface(const Trk::Surface &sf, const bool &simple=false) const
Class for a CylinderSurface in the ATLAS detector.
Class for a DiscSurface in the ATLAS detector.
Definition DiscSurface.h:54
Class describing the Line to which the Perigee refers to.
Class for a planaer rectangular or trapezoidal surface in the ATLAS detector.
Class for a StraightLineSurface in the ATLAS detector to describe dirft tube and straw like detectors...
Abstract Base Class for tracking surfaces.
Ensure that the ATLAS eigen extensions are properly loaded.