Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TELTU.h
Go to the documentation of this file.
1// @(#)root/g3d:$Id$
2// Author: Rene Brun 26/06/97
3
4/*************************************************************************
5 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TELTU
13#define ROOT_TELTU
14
15
16////////////////////////////////////////////////////////////////////////////
17// //
18// TELTU //
19// //
20// 'ELTU' is a cylinder with an elliptical section. It has three //
21// parameters: the ellipse semi-axis in X, the ellipse //
22// semi-axis in Y and the half length in Z. The equation of //
23// the conical curve is: //
24// X**2/fRx**2 + Y**2/fRy**2 = 1 //
25// ELTU is not divisible. //
26// //
27////////////////////////////////////////////////////////////////////////////
28
29#include "TTUBE.h"
30
31class TELTU : public TTUBE {
32
33public:
34 TELTU();
35 TELTU(const char *name, const char *title, const char *material, Float_t rx, Float_t ry,Float_t dz);
36 ~TELTU() override;
37
38 ClassDefOverride(TELTU,1) //ELTU shape
39};
40
41#endif
float Float_t
Definition RtypesCore.h:57
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
char name[80]
Definition TGX11.cxx:110
A cylinder with an elliptical section.
Definition TELTU.h:31
TELTU()
ELTU shape default constructor.
Definition TELTU.cxx:39
~TELTU() override
ELTU shape default destructor.
Definition TELTU.cxx:53
A tube.
Definition TTUBE.h:32