VGM Version 5.3
Loading...
Searching...
No Matches
Hype.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_HYPE_H
21#define GEANT4_GM_HYPE_H
22
24
25#include <string>
26
27class G4Hype;
28class G4ReflectedSolid;
29
30namespace Geant4GM {
31
32class Hype : public BaseVGM::VHype
33{
34 public:
35 Hype(const std::string& name, double r1, double r2, double stereo1,
36 double stereo2, double hz);
37 Hype(G4Hype* hype, G4ReflectedSolid* reflHype = 0);
38 virtual ~Hype();
39
40 // methods
41 virtual std::string Name() const;
42 virtual double InnerRadius() const;
43 virtual double InnerStereoAngle() const;
44 virtual double OuterRadius() const;
45 virtual double OuterStereoAngle() const;
46 virtual double ZHalfLength() const;
47
48 protected:
49 Hype();
50 Hype(const Hype& rhs);
51
52 private:
53 G4Hype* fHype;
54};
55
56} // namespace Geant4GM
57
58#endif // GEANT4_GM_HYPE_H
The ABC for hyperboloid solids.
Definition VHype.h:30
VGM implementation for Geant4 hyperboloid solid.
Definition Hype.h:33
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
Definition Hype.cxx:109
virtual double OuterStereoAngle() const
Return the inner stereo angle.
Definition Hype.cxx:103
virtual std::string Name() const
Return the name of this solid.
Definition Hype.cxx:82
virtual double InnerStereoAngle() const
Return the inner stereo angle.
Definition Hype.cxx:91
virtual ~Hype()
Definition Hype.cxx:76
virtual double InnerRadius() const
Return the inner radius in mm.
Definition Hype.cxx:85
virtual double OuterRadius() const
Return the outer radius in mm.
Definition Hype.cxx:97
VGM implementation for Geant4.
Definition Element.h:29