VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
Geant4GM
include
Geant4GM
solids
Para.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_PARA_H
21
#define GEANT4_GM_PARA_H
22
23
#include "
BaseVGM/solids/VPara.h
"
24
25
#include <string>
26
27
class
G4Para;
28
class
G4ReflectedSolid;
29
30
namespace
Geant4GM
{
31
32
class
Para
:
public
BaseVGM::VPara
33
{
34
public
:
35
Para
(
const
std::string& name,
double
dx,
double
dy,
double
dz,
double
alpha,
36
double
theta,
double
phi);
37
Para
(G4Para* para, G4ReflectedSolid* reflPara = 0);
38
virtual
~Para
();
39
40
// methods
41
virtual
std::string
Name
()
const
;
42
43
virtual
double
XHalfLength
()
const
;
44
virtual
double
YHalfLength
()
const
;
45
virtual
double
ZHalfLength
()
const
;
46
virtual
double
Alpha
()
const
;
47
virtual
double
Theta
()
const
;
48
virtual
double
Phi
()
const
;
49
50
protected
:
51
Para
();
52
Para
(
const
Para
& rhs);
53
54
private
:
55
bool
fIsReflected;
56
G4Para* fPara;
57
};
58
59
}
// namespace Geant4GM
60
61
#endif
// GEANT4_GM_PARA_H
VPara.h
BaseVGM::VPara
The ABC for para solids.
Definition
VPara.h:30
Geant4GM::Para::YHalfLength
virtual double YHalfLength() const
Return half-length along the y axis in mm.
Definition
Para.cxx:108
Geant4GM::Para::~Para
virtual ~Para()
Definition
Para.cxx:93
Geant4GM::Para::Phi
virtual double Phi() const
Return azimuthal angle of the line joining the centres of the faces at -hz and +hz in deg.
Definition
Para.cxx:136
Geant4GM::Para::Theta
virtual double Theta() const
Return polar angle of the line joining the centres of the faces at -hz and +hz in deg.
Definition
Para.cxx:126
Geant4GM::Para::XHalfLength
virtual double XHalfLength() const
Return half-length along the x axis in mm.
Definition
Para.cxx:102
Geant4GM::Para::Para
Para(const std::string &name, double dx, double dy, double dz, double alpha, double theta, double phi)
Definition
Para.cxx:35
Geant4GM::Para::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Para.cxx:99
Geant4GM::Para::ZHalfLength
virtual double ZHalfLength() const
Return half-length along the z axis in mm.
Definition
Para.cxx:114
Geant4GM::Para::Alpha
virtual double Alpha() const
Return angle formed by the y axis and by the plane joining the centre of the faces parallel to the z-...
Definition
Para.cxx:120
Geant4GM::Para::Para
Para()
Definition
Para.cxx:80
Geant4GM
VGM implementation for Geant4.
Definition
Element.h:29
Generated on
for VGM by
1.17.0