VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
BaseVGM
source
solids
VCons.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 VCons
14
// ---------------
15
// The ABC for cons solids.
16
//
17
// Author: Ivana Hrivnacova; IPN Orsay
18
19
#include "
BaseVGM/solids/VCons.h
"
20
21
//_____________________________________________________________________________
22
std::ostream&
operator<<
(std::ostream& out,
const
VGM::ICons
& cons)
23
{
24
const
VGM::ISolid
& consSolid = cons;
25
out << consSolid;
26
return
out;
27
}
28
29
//_____________________________________________________________________________
30
BaseVGM::VCons::VCons
() :
VGM
::ICons()
31
{
33
}
34
35
//_____________________________________________________________________________
36
BaseVGM::VCons::~VCons
()
37
{
38
//
39
}
40
41
//_____________________________________________________________________________
42
std::ostream&
BaseVGM::VCons::Put
(std::ostream& out)
const
43
{
44
out <<
" rin1 = "
<<
InnerRadiusMinusZ
() <<
"mm"
45
<<
" rout1 = "
<<
OuterRadiusMinusZ
() <<
"mm"
46
<<
" rin2 = "
<<
InnerRadiusPlusZ
() <<
"mm"
47
<<
" rout2 = "
<<
OuterRadiusPlusZ
() <<
"mm"
48
<<
" hz = "
<<
ZHalfLength
() <<
"mm"
49
<<
" sphi = "
<<
StartPhi
() <<
"deg"
50
<<
" dphi = "
<<
DeltaPhi
() <<
"deg"
;
51
return
out;
52
}
operator<<
std::ostream & operator<<(std::ostream &out, const VGM::ICons &cons)
Definition
VCons.cxx:22
VCons.h
BaseVGM::VCons::VCons
VCons()
Definition
VCons.cxx:30
BaseVGM::VCons::Put
virtual std::ostream & Put(std::ostream &out) const
Put the printing of the solid parameters in the out stream.
Definition
VCons.cxx:42
BaseVGM::VCons::~VCons
virtual ~VCons()
Definition
VCons.cxx:36
VGM::ICons
The VGM interface to cons solids.
Definition
ICons.h:30
VGM::ICons::DeltaPhi
virtual double DeltaPhi() const =0
Return the opening phi angle of the segment in deg.
VGM::ICons::OuterRadiusPlusZ
virtual double OuterRadiusPlusZ() const =0
Return the outer radius at -z in mm.
VGM::ICons::OuterRadiusMinusZ
virtual double OuterRadiusMinusZ() const =0
Return the outer radius at -z in mm.
VGM::ICons::ZHalfLength
virtual double ZHalfLength() const =0
Return the half-length along the z axis in mm.
VGM::ICons::InnerRadiusMinusZ
virtual double InnerRadiusMinusZ() const =0
Return the innner radius at -z in mm.
VGM::ICons::InnerRadiusPlusZ
virtual double InnerRadiusPlusZ() const =0
Return the innner radius at +z in mm.
VGM::ICons::StartPhi
virtual double StartPhi() const =0
Return the starting phi angle of the segment in deg.
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