ATLAS Offline Software
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 
19 class SoNode;
20 
21 namespace Trk {
22  class Surface;
23  class PlaneSurface;
24  class CylinderSurface;
25  class DiscSurface;
26  class StraightLineSurface;
27  class PerigeeSurface;
28 }
29 
31 
32 public:
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 
Trk::PerigeeSurface
Definition: PerigeeSurface.h:43
SurfaceToSoNode::translateStraightLineSurface
SoNode * translateStraightLineSurface(const Trk::StraightLineSurface &slsf, const bool &simple=false) const
Definition: SurfaceToSoNode.cxx:216
SurfaceToSoNode
Definition: SurfaceToSoNode.h:30
Surface
Definition: Trigger/TrigAccel/TrigCudaFitter/src/Surface.h:8
Trk::DiscSurface
Definition: DiscSurface.h:54
SurfaceToSoNode::translatePerigeeSurface
SoNode * translatePerigeeSurface(const Trk::PerigeeSurface &persf) const
Definition: SurfaceToSoNode.cxx:243
SurfaceToSoNode::~SurfaceToSoNode
virtual ~SurfaceToSoNode()
Definition: SurfaceToSoNode.cxx:55
Trk::CylinderSurface
Definition: CylinderSurface.h:55
SurfaceToSoNode::translateSurface
SoNode * translateSurface(const Trk::Surface &sf, const bool &simple=false) const
Definition: SurfaceToSoNode.cxx:57
SurfaceToSoNode::SurfaceToSoNode
SurfaceToSoNode()
Definition: SurfaceToSoNode.cxx:49
SurfaceToSoNode::surfaceThickness
static const double surfaceThickness
Definition: SurfaceToSoNode.h:55
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
SurfaceToSoNode::translateDiscSurface
SoNode * translateDiscSurface(const Trk::DiscSurface &dsf) const
Definition: SurfaceToSoNode.cxx:191
mapkey::sf
@ sf
Definition: TElectronEfficiencyCorrectionTool.cxx:38
Trk::PlaneSurface
Definition: PlaneSurface.h:64
Trk::Surface
Definition: Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h:75
SurfaceToSoNode::translatePlaneSurface
SoNode * translatePlaneSurface(const Trk::PlaneSurface &psf) const
Definition: SurfaceToSoNode.cxx:101
SurfaceToSoNode::translateCylinderSurface
SoNode * translateCylinderSurface(const Trk::CylinderSurface &csf) const
Definition: SurfaceToSoNode.cxx:175
Trk::StraightLineSurface
Definition: StraightLineSurface.h:51