VGM Version 5.3
Loading...
Searching...
No Matches
Para.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_PARA_H
21#define ROOT_GM_PARA_H
22
24
25#include <string>
26
27class TGeoPara;
28
29namespace RootGM {
30
31class Para : public BaseVGM::VPara
32{
33 public:
34 Para(const std::string& name, double dx, double dy, double dz, double alpha,
35 double theta, double phi);
36 Para(TGeoPara* para);
37 virtual ~Para();
38
39 // methods
40 virtual std::string Name() const;
41
42 virtual double XHalfLength() const;
43 virtual double YHalfLength() const;
44 virtual double ZHalfLength() const;
45 virtual double Alpha() const;
46 virtual double Theta() const;
47 virtual double Phi() const;
48
49 protected:
50 Para();
51 Para(const Para& rhs);
52
53 private:
54 TGeoPara* fPara;
55};
56
57} // namespace RootGM
58
59#endif // ROOT_GM_PARA_H
The ABC for para solids.
Definition VPara.h:30
VGM implementation for Root para solid.
Definition Para.h:32
virtual double Theta() const
Return polar angle of the line joining the centres of the faces at -hz and +hz in deg.
Definition Para.cxx:107
virtual std::string Name() const
Return the name of this solid.
Definition Para.cxx:80
virtual double YHalfLength() const
Return half-length along the y axis in mm.
Definition Para.cxx:89
virtual ~Para()
Definition Para.cxx:74
virtual double XHalfLength() const
Return half-length along the x axis in mm.
Definition Para.cxx:83
virtual double Alpha() const
Return angle formed by the y axis and by the plane joining the centre of the faces parallel to the z-...
Definition Para.cxx:101
virtual double Phi() const
Return azimuthal angle of the line joining the centres of the faces at -hz and +hz in deg.
Definition Para.cxx:113
virtual double ZHalfLength() const
Return half-length along the z axis in mm.
Definition Para.cxx:95
VGM implementation for Root.
Definition axis.h:28