VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
RootGM
include
RootGM
solids
Box.h
Go to the documentation of this file.
1
// $Id$
2
3
// -----------------------------------------------------------------------
4
// The RootGM 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 ROOT_GM_BOX_H
21
#define ROOT_GM_BOX_H
22
23
#include "
BaseVGM/solids/VBox.h
"
24
25
#include <string>
26
27
class
TGeoBBox;
28
29
namespace
RootGM
{
30
31
class
Box
:
public
BaseVGM::VBox
32
{
33
public
:
34
Box
(
const
std::string& name,
double
hx,
double
hy,
double
hz);
35
Box
(TGeoBBox* box,
bool
addInMap =
true
);
36
virtual
~Box
();
37
38
// methods
39
virtual
std::string
Name
()
const
;
40
virtual
double
XHalfLength
()
const
;
41
virtual
double
YHalfLength
()
const
;
42
virtual
double
ZHalfLength
()
const
;
43
44
protected
:
45
Box
();
46
Box
(
const
Box
& rhs);
47
48
private
:
49
TGeoBBox* fBox;
50
};
51
52
}
// namespace RootGM
53
54
#endif
// ROOT_GM_BOX_H
VBox.h
BaseVGM::VBox
The ABC for box solids.
Definition
VBox.h:30
RootGM::Box::Box
Box(const std::string &name, double hx, double hy, double hz)
Definition
Box.cxx:26
RootGM::Box::YHalfLength
virtual double YHalfLength() const
Return the half-length along the y axis in mm.
Definition
Box.cxx:83
RootGM::Box::XHalfLength
virtual double XHalfLength() const
Return the half-length along the x axis in mm.
Definition
Box.cxx:77
RootGM::Box::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Box.cxx:74
RootGM::Box::~Box
virtual ~Box()
Definition
Box.cxx:64
RootGM::Box::ZHalfLength
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
Definition
Box.cxx:89
RootGM::Box::Box
Box()
Definition
Box.cxx:51
RootGM
VGM implementation for Root.
Definition
axis.h:28
Generated on
for VGM by
1.17.0