VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
Geant4GM
include
Geant4GM
solids
Polycone.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_POLYCONE_H
21
#define GEANT4_GM_POLYCONE_H
22
23
#include "
BaseVGM/solids/VPolycone.h
"
24
25
#include <string>
26
27
class
G4Cons;
28
class
G4Polycone;
29
class
G4Tubs;
30
class
G4ReflectedSolid;
31
32
namespace
Geant4GM
{
33
34
class
Polycone
:
public
BaseVGM::VPolycone
35
{
36
public
:
37
Polycone
(
const
std::string& name,
double
sphi,
double
dphi,
int
nofZplanes,
38
double
* z,
double
* rin,
double
* rout);
39
Polycone
(G4Polycone* polycone, G4ReflectedSolid* reflPolycone = 0);
40
Polycone
(G4Cons* cons);
41
Polycone
(G4Tubs* tubs);
42
virtual
~Polycone
();
43
44
// methods
45
virtual
std::string
Name
()
const
;
46
virtual
double
StartPhi
()
const
;
47
virtual
double
DeltaPhi
()
const
;
48
virtual
int
NofZPlanes
()
const
;
49
virtual
double
*
ZValues
()
const
;
50
virtual
double
*
InnerRadiusValues
()
const
;
51
virtual
double
*
OuterRadiusValues
()
const
;
52
53
protected
:
54
Polycone
();
55
Polycone
(
const
Polycone
& rhs);
56
57
private
:
58
void
CreateBuffers();
59
60
static
const
int
fgkMaxNofZPlanes;
61
static
double
* fgZBuffer;
62
static
double
* fgRinBuffer;
63
static
double
* fgRoutBuffer;
64
65
bool
fIsReflected;
66
double
* fZValuesRefl;
67
G4Polycone* fPolycone;
68
};
69
70
}
// namespace Geant4GM
71
72
#endif
// GEANT4_GM_POLYCONE_H
VPolycone.h
BaseVGM::VPolycone
The ABC for polycone solids.
Definition
VPolycone.h:30
Geant4GM::Polycone::~Polycone
virtual ~Polycone()
Definition
Polycone.cxx:180
Geant4GM::Polycone::DeltaPhi
virtual double DeltaPhi() const
Return opening phi angle of the segment in deg.
Definition
Polycone.cxx:204
Geant4GM::Polycone::Polycone
Polycone()
Definition
Polycone.cxx:166
Geant4GM::Polycone::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Polycone.cxx:195
Geant4GM::Polycone::InnerRadiusValues
virtual double * InnerRadiusValues() const
Return the array of inner radius of the planes in mm.
Definition
Polycone.cxx:241
Geant4GM::Polycone::ZValues
virtual double * ZValues() const
Return the array of z positions of the planes in mm.
Definition
Polycone.cxx:218
Geant4GM::Polycone::OuterRadiusValues
virtual double * OuterRadiusValues() const
Return the array of outer radius of the planes in mm.
Definition
Polycone.cxx:261
Geant4GM::Polycone::StartPhi
virtual double StartPhi() const
Return starting phi angle of the segment in deg.
Definition
Polycone.cxx:198
Geant4GM::Polycone::Polycone
Polycone(const std::string &name, double sphi, double dphi, int nofZplanes, double *z, double *rin, double *rout)
Definition
Polycone.cxx:40
Geant4GM::Polycone::NofZPlanes
virtual int NofZPlanes() const
Return number of planes perpendicular to the z axis.
Definition
Polycone.cxx:212
Geant4GM
VGM implementation for Geant4.
Definition
Element.h:29
Generated on
for VGM by
1.17.0