VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
RootGM
include
RootGM
solids
Hype.h
Go to the documentation of this file.
1
// $Id$
2
3
// -----------------------------------------------------------------------
4
// The RootGM 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 ROOT_GM_HYPE_H
21
#define ROOT_GM_HYPE_H
22
23
#include "
BaseVGM/solids/VHype.h
"
24
25
#include <string>
26
27
class
TGeoHype;
28
29
namespace
RootGM
{
30
31
class
Hype
:
public
BaseVGM::VHype
32
{
33
public
:
34
Hype
(
const
std::string& name,
double
r1,
double
r2,
double
stereo1,
35
double
stereo2,
double
hz);
36
Hype
(TGeoHype* hype);
37
virtual
~Hype
();
38
39
// methods
40
virtual
std::string
Name
()
const
;
41
virtual
double
InnerRadius
()
const
;
42
virtual
double
InnerStereoAngle
()
const
;
43
virtual
double
OuterRadius
()
const
;
44
virtual
double
OuterStereoAngle
()
const
;
45
virtual
double
ZHalfLength
()
const
;
46
47
protected
:
48
Hype
();
49
Hype
(
const
Hype
& rhs);
50
51
private
:
52
TGeoHype* fHype;
53
};
54
55
}
// namespace RootGM
56
57
#endif
// ROOT_GM_HYPE_H
VHype.h
BaseVGM::VHype
The ABC for hyperboloid solids.
Definition
VHype.h:30
RootGM::Hype::Hype
Hype()
Definition
Hype.cxx:56
RootGM::Hype::InnerStereoAngle
virtual double InnerStereoAngle() const
Return the inner stereo angle.
Definition
Hype.cxx:84
RootGM::Hype::OuterStereoAngle
virtual double OuterStereoAngle() const
Return the inner stereo angle.
Definition
Hype.cxx:96
RootGM::Hype::~Hype
virtual ~Hype()
Definition
Hype.cxx:69
RootGM::Hype::ZHalfLength
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
Definition
Hype.cxx:102
RootGM::Hype::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Hype.cxx:75
RootGM::Hype::OuterRadius
virtual double OuterRadius() const
Return the outer radius in mm.
Definition
Hype.cxx:90
RootGM::Hype::InnerRadius
virtual double InnerRadius() const
Return the inner radius in mm.
Definition
Hype.cxx:78
RootGM::Hype::Hype
Hype(const std::string &name, double r1, double r2, double stereo1, double stereo2, double hz)
Definition
Hype.cxx:27
RootGM
VGM implementation for Root.
Definition
axis.h:28
Generated on
for VGM by
1.17.0