VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
Geant4GM
include
Geant4GM
solids
Cons.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_CONS_H
21
#define GEANT4_GM_CONS_H
22
23
#include "
BaseVGM/solids/VCons.h
"
24
25
#include <string>
26
27
class
G4Cons;
28
class
G4ReflectedSolid;
29
30
namespace
Geant4GM
{
31
32
class
Cons
:
public
BaseVGM::VCons
33
{
34
public
:
35
Cons
(
const
std::string& name,
double
rin1,
double
rout1,
double
rin2,
36
double
rout2,
double
hz,
double
sphi,
double
dphi);
37
Cons
(G4Cons* cons, G4ReflectedSolid* reflCons = 0);
38
virtual
~Cons
();
39
40
// methods
41
virtual
std::string
Name
()
const
;
42
virtual
double
InnerRadiusMinusZ
()
const
;
43
virtual
double
OuterRadiusMinusZ
()
const
;
44
virtual
double
InnerRadiusPlusZ
()
const
;
45
virtual
double
OuterRadiusPlusZ
()
const
;
46
virtual
double
ZHalfLength
()
const
;
47
virtual
double
StartPhi
()
const
;
48
virtual
double
DeltaPhi
()
const
;
49
50
protected
:
51
Cons
();
52
Cons
(
const
Cons
& rhs);
53
54
private
:
55
bool
fIsReflected;
56
G4Cons* fCons;
57
};
58
59
}
// namespace Geant4GM
60
61
#endif
// GEANT4_GM_CONS_H
VCons.h
BaseVGM::VCons
The ABC for cons solids.
Definition
VCons.h:30
Geant4GM::Cons::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Cons.cxx:94
Geant4GM::Cons::Cons
Cons(const std::string &name, double rin1, double rout1, double rin2, double rout2, double hz, double sphi, double dphi)
Definition
Cons.cxx:33
Geant4GM::Cons::DeltaPhi
virtual double DeltaPhi() const
Return the opening phi angle of the segment in deg.
Definition
Cons.cxx:145
Geant4GM::Cons::Cons
Cons()
Definition
Cons.cxx:75
Geant4GM::Cons::OuterRadiusPlusZ
virtual double OuterRadiusPlusZ() const
Return the outer radius at -z in mm.
Definition
Cons.cxx:124
Geant4GM::Cons::StartPhi
virtual double StartPhi() const
Return the starting phi angle of the segment in deg.
Definition
Cons.cxx:139
Geant4GM::Cons::ZHalfLength
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
Definition
Cons.cxx:133
Geant4GM::Cons::OuterRadiusMinusZ
virtual double OuterRadiusMinusZ() const
Return the outer radius at -z in mm.
Definition
Cons.cxx:106
Geant4GM::Cons::InnerRadiusMinusZ
virtual double InnerRadiusMinusZ() const
Return the innner radius at -z in mm.
Definition
Cons.cxx:97
Geant4GM::Cons::InnerRadiusPlusZ
virtual double InnerRadiusPlusZ() const
Return the innner radius at +z in mm.
Definition
Cons.cxx:115
Geant4GM::Cons::~Cons
virtual ~Cons()
Definition
Cons.cxx:88
Geant4GM
VGM implementation for Geant4.
Definition
Element.h:29
Generated on
for VGM by
1.17.0