VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
RootGM
include
RootGM
solids
Polycone.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_POLYCONE_H
21
#define ROOT_GM_POLYCONE_H
22
23
#include "
BaseVGM/solids/VPolycone.h
"
24
25
#include <string>
26
27
class
TGeoPcon;
28
29
namespace
RootGM
{
30
31
class
Polycone
:
public
BaseVGM::VPolycone
32
{
33
public
:
34
Polycone
(
const
std::string& name,
double
sphi,
double
dphi,
int
nofZPlanes,
35
double
* z,
double
* rin,
double
* rout);
36
Polycone
(TGeoPcon* polycone);
37
virtual
~Polycone
();
38
39
// methods
40
virtual
std::string
Name
()
const
;
41
virtual
double
StartPhi
()
const
;
42
virtual
double
DeltaPhi
()
const
;
43
virtual
int
NofZPlanes
()
const
;
44
virtual
double
*
ZValues
()
const
;
45
virtual
double
*
InnerRadiusValues
()
const
;
46
virtual
double
*
OuterRadiusValues
()
const
;
47
48
protected
:
49
Polycone
();
50
Polycone
(
const
Polycone
& rhs);
51
52
private
:
53
void
CreateBuffers();
54
55
static
const
int
fgkMaxNofZPlanes;
56
static
double
* fgZBuffer;
57
static
double
* fgRinBuffer;
58
static
double
* fgRoutBuffer;
59
60
TGeoPcon* fPolycone;
61
};
62
63
}
// namespace RootGM
64
65
#endif
// ROOT_GM_POLYCONE_H
VPolycone.h
BaseVGM::VPolycone
The ABC for polycone solids.
Definition
VPolycone.h:30
RootGM::Polycone::StartPhi
virtual double StartPhi() const
Return starting phi angle of the segment in deg.
Definition
Polycone.cxx:111
RootGM::Polycone::~Polycone
virtual ~Polycone()
Definition
Polycone.cxx:94
RootGM::Polycone::NofZPlanes
virtual int NofZPlanes() const
Return number of planes perpendicular to the z axis.
Definition
Polycone.cxx:123
RootGM::Polycone::ZValues
virtual double * ZValues() const
Return the array of z positions of the planes in mm.
Definition
Polycone.cxx:126
RootGM::Polycone::InnerRadiusValues
virtual double * InnerRadiusValues() const
Return the array of inner radius of the planes in mm.
Definition
Polycone.cxx:144
RootGM::Polycone::OuterRadiusValues
virtual double * OuterRadiusValues() const
Return the array of outer radius of the planes in mm.
Definition
Polycone.cxx:162
RootGM::Polycone::Polycone
Polycone(const std::string &name, double sphi, double dphi, int nofZPlanes, double *z, double *rin, double *rout)
Definition
Polycone.cxx:33
RootGM::Polycone::Polycone
Polycone()
Definition
Polycone.cxx:80
RootGM::Polycone::DeltaPhi
virtual double DeltaPhi() const
Return opening phi angle of the segment in deg.
Definition
Polycone.cxx:117
RootGM::Polycone::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Polycone.cxx:108
RootGM
VGM implementation for Root.
Definition
axis.h:28
Generated on
for VGM by
1.17.0