VGM Version 5.3
Loading...
Searching...
No Matches
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
24
25#include <string>
26
27class TGeoHype;
28
29namespace RootGM {
30
31class 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
The ABC for hyperboloid solids.
Definition VHype.h:30
VGM implementation for Root hyperboloid solid.
Definition Hype.h:32
virtual double InnerStereoAngle() const
Return the inner stereo angle.
Definition Hype.cxx:84
virtual double OuterStereoAngle() const
Return the inner stereo angle.
Definition Hype.cxx:96
virtual ~Hype()
Definition Hype.cxx:69
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
Definition Hype.cxx:102
virtual std::string Name() const
Return the name of this solid.
Definition Hype.cxx:75
virtual double OuterRadius() const
Return the outer radius in mm.
Definition Hype.cxx:90
virtual double InnerRadius() const
Return the inner radius in mm.
Definition Hype.cxx:78
VGM implementation for Root.
Definition axis.h:28