VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
BaseVGM
source
solids
VCtubs.cxx
Go to the documentation of this file.
1
// $Id$
2
3
// -----------------------------------------------------------------------
4
// The BaseVGM 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
12
//
13
// Class VCtubs
14
// ---------------
15
// The ABC for cut tubs solids.
16
//
17
// Author: Ivana Hrivnacova; IPN Orsay
18
19
#include "
BaseVGM/solids/VCtubs.h
"
20
21
//_____________________________________________________________________________
22
std::ostream&
operator<<
(std::ostream& out,
const
VGM::ICtubs
& ctubs)
23
{
24
const
VGM::ISolid
& ctubsSolid = ctubs;
25
out << ctubsSolid;
26
return
out;
27
}
28
29
//_____________________________________________________________________________
30
BaseVGM::VCtubs::VCtubs
() :
VGM
::ICtubs()
31
{
33
}
34
35
//_____________________________________________________________________________
36
BaseVGM::VCtubs::~VCtubs
()
37
{
38
//
39
}
40
41
//_____________________________________________________________________________
42
std::ostream&
BaseVGM::VCtubs::Put
(std::ostream& out)
const
43
{
44
out <<
" rin = "
<<
InnerRadius
() <<
"mm"
45
<<
" rout = "
<<
OuterRadius
() <<
"mm"
46
<<
" hz = "
<<
ZHalfLength
() <<
"mm"
47
<<
" sphi = "
<<
StartPhi
() <<
"deg"
48
<<
" dphi = "
<<
DeltaPhi
() <<
"deg"
49
<<
" nlow = ("
<<
NxLow
() <<
", "
<<
NyLow
() <<
", "
<<
NzLow
() <<
")"
50
<<
" nhigh = ("
<<
NxHigh
() <<
", "
<<
NyHigh
() <<
", "
<<
NzHigh
()
51
<<
")"
;
52
53
return
out;
54
}
operator<<
std::ostream & operator<<(std::ostream &out, const VGM::ICtubs &ctubs)
Definition
VCtubs.cxx:22
VCtubs.h
BaseVGM::VCtubs::Put
virtual std::ostream & Put(std::ostream &out) const
Put the printing of the solid parameters in the out stream.
Definition
VCtubs.cxx:42
BaseVGM::VCtubs::VCtubs
VCtubs()
Definition
VCtubs.cxx:30
BaseVGM::VCtubs::~VCtubs
virtual ~VCtubs()
Definition
VCtubs.cxx:36
VGM::ICtubs
The VGM interface to cut tubs solids.
Definition
ICtubs.h:30
VGM::ICtubs::OuterRadius
virtual double OuterRadius() const =0
Return the outside radius in mm.
VGM::ICtubs::NxHigh
virtual double NxHigh() const =0
X-component of the normal unit vector to the cut plane in +z.
VGM::ICtubs::ZHalfLength
virtual double ZHalfLength() const =0
Return the half-length along the z axis in m.
VGM::ICtubs::DeltaPhi
virtual double DeltaPhi() const =0
Return the opening angle of the segment in deg.
VGM::ICtubs::NyLow
virtual double NyLow() const =0
Y-component of the normal unit vector to the cut plane in -z.
VGM::ICtubs::NzLow
virtual double NzLow() const =0
Z-component of the normal unit vector to the cut plane in -z.
VGM::ICtubs::NzHigh
virtual double NzHigh() const =0
Z-component of the normal unit vector to the cut plane in +z.
VGM::ICtubs::InnerRadius
virtual double InnerRadius() const =0
Return the inside radius in mm.
VGM::ICtubs::StartPhi
virtual double StartPhi() const =0
Return the starting angle of the segment in deg.
VGM::ICtubs::NxLow
virtual double NxLow() const =0
X-component of the normal unit vector to the cut plane in -z.
VGM::ICtubs::NyHigh
virtual double NyHigh() const =0
Y-component of the normal unit vector to the cut plane in +z.
VGM::ISolid
The VGM interface to solids.
Definition
ISolid.h:58
VGM
VGM interfaces.
Definition
VMedium.h:28
Generated on
for VGM by
1.17.0