VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
Geant4GM
include
Geant4GM
solids
Tubs.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_TUBS_H
21
#define GEANT4_GM_TUBS_H
22
23
#include "
BaseVGM/solids/VTubs.h
"
24
25
#include <string>
26
27
class
G4Tubs;
28
class
G4ReflectedSolid;
29
30
class
G4Tubs;
31
class
G4ReflectedSolid;
32
33
namespace
Geant4GM
{
34
35
class
Tubs
:
public
BaseVGM::VTubs
36
{
37
public
:
38
Tubs
(
const
std::string& name,
double
rin,
double
rout,
double
hz,
double
sphi,
39
double
dphi);
40
Tubs
(G4Tubs* tubs, G4ReflectedSolid* reflTubs = 0);
41
virtual
~Tubs
();
42
43
// methods
44
virtual
std::string
Name
()
const
;
45
virtual
double
InnerRadius
()
const
;
46
virtual
double
OuterRadius
()
const
;
47
virtual
double
ZHalfLength
()
const
;
48
virtual
double
StartPhi
()
const
;
49
virtual
double
DeltaPhi
()
const
;
50
51
protected
:
52
Tubs
();
53
Tubs
(
const
Tubs
& rhs);
54
55
private
:
56
G4Tubs* fTubs;
57
};
58
59
}
// namespace Geant4GM
60
61
#endif
// GEANT4_GM_TUBS_H
VTubs.h
BaseVGM::VTubs
The ABC for tubs solids.
Definition
VTubs.h:30
Geant4GM::Tubs::Tubs
Tubs(const std::string &name, double rin, double rout, double hz, double sphi, double dphi)
Definition
Tubs.cxx:28
Geant4GM::Tubs::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Tubs.cxx:79
Geant4GM::Tubs::Tubs
Tubs()
Definition
Tubs.cxx:60
Geant4GM::Tubs::OuterRadius
virtual double OuterRadius() const
Return the outside radius in mm.
Definition
Tubs.cxx:88
Geant4GM::Tubs::DeltaPhi
virtual double DeltaPhi() const
Return the opening angle of the segment in deg.
Definition
Tubs.cxx:106
Geant4GM::Tubs::ZHalfLength
virtual double ZHalfLength() const
Return the half-length along the z axis in m.
Definition
Tubs.cxx:94
Geant4GM::Tubs::InnerRadius
virtual double InnerRadius() const
Return the inside radius in mm.
Definition
Tubs.cxx:82
Geant4GM::Tubs::~Tubs
virtual ~Tubs()
Definition
Tubs.cxx:73
Geant4GM::Tubs::StartPhi
virtual double StartPhi() const
Return the starting angle of the segment in deg.
Definition
Tubs.cxx:100
Geant4GM
VGM implementation for Geant4.
Definition
Element.h:29
Generated on
for VGM by
1.17.0