VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
BaseVGM
source
solids
VHype.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 VHype
14
// ------------
15
// The ABC for hyperboloid solids.
16
//
17
// Author: Ivana Hrivnacova; IPN Orsay
18
19
#include "
BaseVGM/solids/VHype.h
"
20
21
//_____________________________________________________________________________
22
std::ostream&
operator<<
(std::ostream& out,
const
VGM::IHype
& hype)
23
{
24
const
VGM::ISolid
& hypeSolid = hype;
25
out << hypeSolid;
26
return
out;
27
}
28
29
//_____________________________________________________________________________
30
BaseVGM::VHype::VHype
() :
VGM
::IHype()
31
{
33
}
34
35
//_____________________________________________________________________________
36
BaseVGM::VHype::~VHype
()
37
{
38
//
39
}
40
41
//_____________________________________________________________________________
42
std::ostream&
BaseVGM::VHype::Put
(std::ostream& out)
const
43
{
44
out <<
" r1 = "
<<
InnerRadius
() <<
"mm"
45
<<
" stereo1 = "
<<
InnerStereoAngle
() <<
"deg"
46
<<
" r2 = "
<<
OuterRadius
() <<
"mm"
47
<<
" stereo1 = "
<<
OuterStereoAngle
() <<
"deg"
48
<<
" hz = "
<<
ZHalfLength
() <<
"mm"
;
49
return
out;
50
}
operator<<
std::ostream & operator<<(std::ostream &out, const VGM::IHype &hype)
Definition
VHype.cxx:22
VHype.h
BaseVGM::VHype::VHype
VHype()
Definition
VHype.cxx:30
BaseVGM::VHype::Put
virtual std::ostream & Put(std::ostream &out) const
Put the printing of the solid parameters in the out stream.
Definition
VHype.cxx:42
BaseVGM::VHype::~VHype
virtual ~VHype()
Definition
VHype.cxx:36
VGM::IHype
The VGM interface to hyperboloid solids.
Definition
IHype.h:30
VGM::IHype::ZHalfLength
virtual double ZHalfLength() const =0
Return the half-length along the z axis in mm.
VGM::IHype::OuterStereoAngle
virtual double OuterStereoAngle() const =0
Return the inner stereo angle.
VGM::IHype::OuterRadius
virtual double OuterRadius() const =0
Return the outer radius in mm.
VGM::IHype::InnerStereoAngle
virtual double InnerStereoAngle() const =0
Return the inner stereo angle.
VGM::IHype::InnerRadius
virtual double InnerRadius() const =0
Return the inner radius in mm.
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