VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
Geant4GM
include
Geant4GM
solids
Box.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_BOX_H
21
#define GEANT4_GM_BOX_H
22
23
#include "
BaseVGM/solids/VBox.h
"
24
25
#include <string>
26
27
class
G4Box;
28
class
G4ReflectedSolid;
29
30
namespace
Geant4GM
{
31
32
class
Box
:
public
BaseVGM::VBox
33
{
34
public
:
35
Box
(
const
std::string& name,
double
hx,
double
hy,
double
hz);
36
Box
(G4Box* box, G4ReflectedSolid* reflBox = 0);
37
virtual
~Box
();
38
39
// methods
40
virtual
std::string
Name
()
const
;
41
virtual
double
XHalfLength
()
const
;
42
virtual
double
YHalfLength
()
const
;
43
virtual
double
ZHalfLength
()
const
;
44
45
protected
:
46
Box
();
47
Box
(
const
Box
& rhs);
48
49
private
:
50
G4Box* fBox;
51
};
52
53
}
// namespace Geant4GM
54
55
#endif
// GEANT4_GM_BOX_H
VBox.h
BaseVGM::VBox
The ABC for box solids.
Definition
VBox.h:30
Geant4GM::Box::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Box.cxx:75
Geant4GM::Box::Box
Box()
Definition
Box.cxx:56
Geant4GM::Box::Box
Box(const std::string &name, double hx, double hy, double hz)
Definition
Box.cxx:28
Geant4GM::Box::YHalfLength
virtual double YHalfLength() const
Return the half-length along the y axis in mm.
Definition
Box.cxx:84
Geant4GM::Box::ZHalfLength
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
Definition
Box.cxx:90
Geant4GM::Box::XHalfLength
virtual double XHalfLength() const
Return the half-length along the x axis in mm.
Definition
Box.cxx:78
Geant4GM::Box::~Box
virtual ~Box()
Definition
Box.cxx:69
Geant4GM
VGM implementation for Geant4.
Definition
Element.h:29
Generated on
for VGM by
1.17.0