VGM Version 5.3
Loading...
Searching...
No Matches
EllipticalTube.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_ELLIPTICAL_TUBE_H
21#define ROOT_GM_ELLIPTICAL_TUBE_H
22
24
25#include <string>
26
27class TGeoEltu;
28
29namespace RootGM {
30
32{
33 public:
34 EllipticalTube(const std::string& name, double dx, double dy, double hz);
35 EllipticalTube(TGeoEltu* tubs);
36 virtual ~EllipticalTube();
37
38 // methods
39 virtual std::string Name() const;
40 virtual double Dx() const;
41 virtual double Dy() const;
42 virtual double ZHalfLength() const;
43
44 protected:
47
48 private:
49 TGeoEltu* fEllipticalTube;
50};
51
52} // namespace RootGM
53
54#endif // ROOT_GM_ELLIPTICAL_TUBE_H
The ABC for elliptical tube solids.
VGM implementation for Root elliptical tube solid.
virtual double Dx() const
Return the semi-axis of the ellipse along x in mm.
virtual double Dy() const
Return the semi-axis of the ellipse along y in mm.
virtual std::string Name() const
Return the name of this solid.
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
VGM implementation for Root.
Definition axis.h:28