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