VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
RootGM
include
RootGM
solids
Torus.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_TORUS_H
21
#define ROOT_GM_TORUS_H
22
23
#include "
BaseVGM/solids/VTorus.h
"
24
25
#include <string>
26
27
class
TGeoTorus;
28
29
namespace
RootGM
{
30
31
class
Torus
:
public
BaseVGM::VTorus
32
{
33
public
:
34
Torus
(
const
std::string& name,
double
rin,
double
rout,
double
rax,
35
double
sphi,
double
dphi);
36
Torus
(TGeoTorus* torus);
37
virtual
~Torus
();
38
39
// methods
40
virtual
std::string
Name
()
const
;
41
virtual
double
InnerRadius
()
const
;
42
virtual
double
OuterRadius
()
const
;
43
virtual
double
AxialRadius
()
const
;
44
virtual
double
StartPhi
()
const
;
45
virtual
double
DeltaPhi
()
const
;
46
47
protected
:
48
Torus
();
49
Torus
(
const
Torus
& rhs);
50
51
private
:
52
TGeoTorus* fTorus;
53
};
54
55
}
// namespace RootGM
56
57
#endif
// ROOT_GM_TORUS_H
VTorus.h
BaseVGM::VTorus
The ABC for torus solids.
Definition
VTorus.h:30
RootGM::Torus::~Torus
virtual ~Torus()
Definition
Torus.cxx:69
RootGM::Torus::InnerRadius
virtual double InnerRadius() const
Return the inside radius of the torus in mm.
Definition
Torus.cxx:78
RootGM::Torus::Torus
Torus(const std::string &name, double rin, double rout, double rax, double sphi, double dphi)
Definition
Torus.cxx:26
RootGM::Torus::StartPhi
virtual double StartPhi() const
Return the starting phi angle of the segment in deg (with 0 being the +x axis).
Definition
Torus.cxx:96
RootGM::Torus::OuterRadius
virtual double OuterRadius() const
Return the outside radius of the torus in mm.
Definition
Torus.cxx:84
RootGM::Torus::AxialRadius
virtual double AxialRadius() const
Return the axial (swept) radius of the torus in mm.
Definition
Torus.cxx:90
RootGM::Torus::DeltaPhi
virtual double DeltaPhi() const
Return the opening phi angle of the segment in deg.
Definition
Torus.cxx:102
RootGM::Torus::Torus
Torus()
Definition
Torus.cxx:56
RootGM::Torus::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Torus.cxx:75
RootGM
VGM implementation for Root.
Definition
axis.h:28
Generated on
for VGM by
1.17.0