VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
RootGM
include
RootGM
solids
Tubs.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_TUBS_H
21
#define ROOT_GM_TUBS_H
22
23
#include "
BaseVGM/solids/VTubs.h
"
24
25
#include <string>
26
27
class
TGeoTube;
28
29
namespace
RootGM
{
30
31
class
Tubs
:
public
BaseVGM::VTubs
32
{
33
public
:
34
Tubs
(
const
std::string& name,
double
rin,
double
rout,
double
hz,
double
sphi,
35
double
dphi);
36
Tubs
(TGeoTube* tubs);
37
virtual
~Tubs
();
38
39
// methods
40
virtual
std::string
Name
()
const
;
41
virtual
double
InnerRadius
()
const
;
42
virtual
double
OuterRadius
()
const
;
43
virtual
double
ZHalfLength
()
const
;
44
virtual
double
StartPhi
()
const
;
45
virtual
double
DeltaPhi
()
const
;
46
47
protected
:
48
Tubs
();
49
Tubs
(
const
Tubs
& rhs);
50
51
private
:
52
TGeoTube* fTubs;
53
};
54
55
}
// namespace RootGM
56
57
#endif
// ROOT_GM_TUBS_H
VTubs.h
BaseVGM::VTubs
The ABC for tubs solids.
Definition
VTubs.h:30
RootGM::Tubs::Name
virtual std::string Name() const
Return the name of this solid.
Definition
Tubs.cxx:74
RootGM::Tubs::Tubs
Tubs(const std::string &name, double rin, double rout, double hz, double sphi, double dphi)
Definition
Tubs.cxx:26
RootGM::Tubs::Tubs
Tubs()
Definition
Tubs.cxx:55
RootGM::Tubs::~Tubs
virtual ~Tubs()
Definition
Tubs.cxx:68
RootGM::Tubs::InnerRadius
virtual double InnerRadius() const
Return the inside radius in mm.
Definition
Tubs.cxx:77
RootGM::Tubs::StartPhi
virtual double StartPhi() const
Return the starting angle of the segment in deg.
Definition
Tubs.cxx:95
RootGM::Tubs::OuterRadius
virtual double OuterRadius() const
Return the outside radius in mm.
Definition
Tubs.cxx:83
RootGM::Tubs::DeltaPhi
virtual double DeltaPhi() const
Return the opening angle of the segment in deg.
Definition
Tubs.cxx:104
RootGM::Tubs::ZHalfLength
virtual double ZHalfLength() const
Return the half-length along the z axis in m.
Definition
Tubs.cxx:89
RootGM
VGM implementation for Root.
Definition
axis.h:28
Generated on
for VGM by
1.17.0