VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
RootGM
include
RootGM
solids
Sphere.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_SPHERE_H
21
#define ROOT_GM_SPHERE_H
22
23
#include "
BaseVGM/solids/VSphere.h
"
24
25
#include <string>
26
27
class
TGeoSphere;
28
29
namespace
RootGM
{
30
31
class
Sphere
:
public
BaseVGM::VSphere
32
{
33
public
:
34
Sphere
(
const
std::string& name,
double
rin,
double
rout,
double
sphi,
35
double
dphi,
double
stheta,
double
dtheta);
36
Sphere
(TGeoSphere* sphere);
37
virtual
~Sphere
();
38
39
// methods
40
virtual
std::string
Name
()
const
;
41
virtual
double
InnerRadius
()
const
;
42
virtual
double
OuterRadius
()
const
;
43
virtual
double
StartPhi
()
const
;
44
virtual
double
DeltaPhi
()
const
;
45
virtual
double
StartTheta
()
const
;
46
virtual
double
DeltaTheta
()
const
;
47
48
protected
:
49
Sphere
();
50
Sphere
(
const
Sphere
& rhs);
51
52
private
:
53
TGeoSphere* fSphere;
54
};
55
56
}
// namespace RootGM
57
58
#endif
// ROOT_GM_SPHERE_H
VSphere.h
BaseVGM::VSphere
The ABC for sphere solids.
Definition
VSphere.h:30
RootGM::Sphere::Sphere
Sphere()
Definition
Sphere.cxx:57
RootGM::Sphere::~Sphere
virtual ~Sphere()
Definition
Sphere.cxx:70
RootGM::Sphere::StartTheta
virtual double StartTheta() const
Return the starting polar angle of the segment in deg.
Definition
Sphere.cxx:103
RootGM::Sphere::InnerRadius
virtual double InnerRadius() const
Return the inside radius of the shell in mm.
Definition
Sphere.cxx:79
RootGM::Sphere::Sphere
Sphere(const std::string &name, double rin, double rout, double sphi, double dphi, double stheta, double dtheta)
Definition
Sphere.cxx:26
RootGM::Sphere::OuterRadius
virtual double OuterRadius() const
Return the outside radius of the shell in mm.
Definition
Sphere.cxx:85
RootGM::Sphere::StartPhi
virtual double StartPhi() const
Return the starting azimuthal angle of the segment in deg.
Definition
Sphere.cxx:91
RootGM::Sphere::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Sphere.cxx:76
RootGM::Sphere::DeltaPhi
virtual double DeltaPhi() const
Return the opening azimuthal angle of the segment in deg.
Definition
Sphere.cxx:97
RootGM::Sphere::DeltaTheta
virtual double DeltaTheta() const
Return the opening polar angle of the segment in deg.
Definition
Sphere.cxx:109
RootGM
VGM implementation for Root.
Definition
axis.h:28
Generated on
for VGM by
1.17.0