VGM Version 5.3
Loading...
Searching...
No Matches
Paraboloid.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_PARABOLOID_H
21#define ROOT_GM_PARABOLOID_H
22
24
25#include <string>
26
27class TGeoParaboloid;
28
29namespace RootGM {
30
32{
33 public:
34 Paraboloid(const std::string& name, double r1, double r2, double hz);
35 Paraboloid(TGeoParaboloid* paraboloid);
36 virtual ~Paraboloid();
37
38 // methods
39 virtual std::string Name() const;
40 virtual double RadiusMinusZ() const;
41 virtual double RadiusPlusZ() const;
42 virtual double ZHalfLength() const;
43
44 protected:
45 Paraboloid();
46 Paraboloid(const Paraboloid& rhs);
47
48 private:
49 TGeoParaboloid* fParaboloid;
50};
51
52} // namespace RootGM
53
54#endif // ROOT_GM_PARABOLOID_H
The ABC for paraboloid solids.
Definition VParaboloid.h:30
VGM implementation for Root paraboloid solid.
Definition Paraboloid.h:32
virtual double RadiusMinusZ() const
Return the radius at -z in mm.
virtual double RadiusPlusZ() const
Return the radius at +z in mm.
virtual double ZHalfLength() const
Return the half-length along the z axis in mm.
virtual std::string Name() const
Return the name of this solid.
virtual ~Paraboloid()
VGM implementation for Root.
Definition axis.h:28