VGM Version 5.3
Loading...
Searching...
No Matches
EllipticalTube.h
Go to the documentation of this file.
1// $Id$
2
3// -----------------------------------------------------------------------
4// The Geant4GM package of the Virtual Geometry Model
5// Copyright (C) 2007, Ivana Hrivnacova
6// All rights reserved.
7//
8// For the licensing terms see vgm/LICENSE.
9// Contact: ivana@ipno.in2p3.fr
10// -----------------------------------------------------------------------
11
13//
19
20#ifndef GEANT4_GM_ELLIPTICAL_TUBE_H
21#define GEANT4_GM_ELLIPTICAL_TUBE_H
22
24
25#include <string>
26
27class G4EllipticalTube;
28class G4ReflectedSolid;
29
30namespace Geant4GM {
31
33{
34 public:
35 EllipticalTube(const std::string& name, double dx, double dy, double hz);
36 EllipticalTube(G4EllipticalTube* eltu, G4ReflectedSolid* reflEltu = 0);
37 virtual ~EllipticalTube();
38
39 // methods
40 virtual std::string Name() const;
41 virtual double Dx() const;
42 virtual double Dy() const;
43 virtual double ZHalfLength() const;
44
45 protected:
48
49 private:
50 G4EllipticalTube* fEllipticalTube;
51};
52
53} // namespace Geant4GM
54
55#endif // GEANT4_GM_ELLIPTICAL_TUBE_H
The ABC for elliptical tube solids.
VGM implementation for Geant4 elliptical tube solid.
virtual double Dy() const
Return the semi-axis of the ellipse along y in mm.
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
virtual std::string Name() const
Return the name of this solid.
virtual double Dx() const
Return the semi-axis of the ellipse along x in mm.
VGM implementation for Geant4.
Definition Element.h:29