VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
RootGM
include
RootGM
solids
Arb8.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_ARB8_H
21
#define ROOT_GM_ARB8_H
22
23
#include "
BaseVGM/solids/VArb8.h
"
24
25
#include <string>
26
#include <vector>
27
28
class
TGeoArb8;
29
30
namespace
RootGM
{
31
32
class
Arb8
:
public
BaseVGM::VArb8
33
{
34
public
:
35
Arb8
(
36
const
std::string& name,
double
hz, std::vector<VGM::TwoVector> vertices);
37
Arb8
(TGeoArb8* arb8);
38
virtual
~Arb8
();
39
40
// methods
41
virtual
std::string
Name
()
const
;
42
virtual
int
NofVertices
()
const
;
43
virtual
VGM::TwoVector
Vertex
(
int
index)
const
;
44
virtual
double
TwistAngle
(
int
index)
const
;
45
virtual
double
ZHalfLength
()
const
;
46
47
protected
:
48
Arb8
();
49
Arb8
(
const
Arb8
& rhs);
50
51
static
const
int
fgkNofVertices
;
52
53
TGeoArb8*
fArb8
;
54
};
55
56
}
// namespace RootGM
57
58
#endif
// ROOT_GM_ARB8_H
VArb8.h
BaseVGM::VArb8
The ABC for Arb8 solids.
Definition
VArb8.h:30
RootGM::Arb8::ZHalfLength
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
Definition
Arb8.cxx:139
RootGM::Arb8::~Arb8
virtual ~Arb8()
Definition
Arb8.cxx:93
RootGM::Arb8::Vertex
virtual VGM::TwoVector Vertex(int index) const
Return the index-th vertex.
Definition
Arb8.cxx:105
RootGM::Arb8::Arb8
Arb8(const std::string &name, double hz, std::vector< VGM::TwoVector > vertices)
Definition
Arb8.cxx:33
RootGM::Arb8::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Arb8.cxx:99
RootGM::Arb8::NofVertices
virtual int NofVertices() const
Return the number of vertices.
Definition
Arb8.cxx:102
RootGM::Arb8::Arb8
Arb8()
Definition
Arb8.cxx:80
RootGM::Arb8::TwistAngle
virtual double TwistAngle(int index) const
Return the index-th twist angle.
Definition
Arb8.cxx:125
RootGM::Arb8::fgkNofVertices
static const int fgkNofVertices
Definition
Arb8.h:51
RootGM::Arb8::fArb8
TGeoArb8 * fArb8
Definition
Arb8.h:53
RootGM
VGM implementation for Root.
Definition
axis.h:28
VGM::TwoVector
std::pair< double, double > TwoVector
Definition
TwoVector.h:28
Generated on
for VGM by
1.17.0