VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
Geant4GM
include
Geant4GM
solids
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
23
#include "
BaseVGM/solids/VHype.h
"
24
25
#include <string>
26
27
class
G4Hype;
28
class
G4ReflectedSolid;
29
30
namespace
Geant4GM
{
31
32
class
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
VHype.h
BaseVGM::VHype
The ABC for hyperboloid solids.
Definition
VHype.h:30
Geant4GM::Hype::ZHalfLength
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
Definition
Hype.cxx:109
Geant4GM::Hype::OuterStereoAngle
virtual double OuterStereoAngle() const
Return the inner stereo angle.
Definition
Hype.cxx:103
Geant4GM::Hype::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Hype.cxx:82
Geant4GM::Hype::InnerStereoAngle
virtual double InnerStereoAngle() const
Return the inner stereo angle.
Definition
Hype.cxx:91
Geant4GM::Hype::~Hype
virtual ~Hype()
Definition
Hype.cxx:76
Geant4GM::Hype::Hype
Hype(const std::string &name, double r1, double r2, double stereo1, double stereo2, double hz)
Definition
Hype.cxx:29
Geant4GM::Hype::InnerRadius
virtual double InnerRadius() const
Return the inner radius in mm.
Definition
Hype.cxx:85
Geant4GM::Hype::OuterRadius
virtual double OuterRadius() const
Return the outer radius in mm.
Definition
Hype.cxx:97
Geant4GM::Hype::Hype
Hype()
Definition
Hype.cxx:63
Geant4GM
VGM implementation for Geant4.
Definition
Element.h:29
Generated on
for VGM by
1.17.0