//*CMZ : 2.00/09 17/04/99 07.50.09 by Valery Fine(fine@mail.cern.ch) //*CMZ : 1.01/07 26/06/97 08.49.55 by Rene Brun //*-- Author : Rene Brun 26/06/97 //*KEEP,CopyRight,T=C. /************************************************************************* * Copyright(c) 1995-1999, The ROOT System, All rights reserved. * * Authors: Rene Brun, Fons Rademakers. * * For list of contributors see $ROOTSYS/AA_CREDITS. * * * * Permission to use, copy, modify and distribute this software and its * * documentation for non-commercial purposes is hereby granted without * * fee, provided that the above copyright notice appears in all copies * * and that both the copyright notice and this permission notice appear * * in the supporting documentation. The authors make no claims about the * * suitability of this software for any purpose. It is provided "as is" * * without express or implied warranty. * *************************************************************************/ //*KEND. //*KEEP,TView. #include "TView.h" //*KEEP,TELTU,T=C++. #include "TELTU.h" //*KEEP,TNode. #include "TNode.h" //*KEND. ClassImp(TELTU) //______________________________________________________________________________ //// 'ELTU' is a cylinder with an elliptical section. It has three // parameters: the ellipse semi-axis in X, the ellipse // semi-axis in Y and the half length in Z. The equation of // the conical curve is: // X**2/fRx**2 + Y**2/fRy**2 = 1 // ELTU is not divisible. // // - name name of the shape // - title shape's title // - material (see TMaterial) // - rx the ellipse semi-axis in X // - ry the ellipse semi-axis in Y // - dz half-length in z //______________________________________________________________________________ TELTU::TELTU() { //*-*-*-*-*-*-*-*-*-*-*-*ELTU shape default constructor*-*-*-*-*-*-*-*-*-*-*-*-* //*-* ============================== } //______________________________________________________________________________ TELTU::TELTU(Text_t *name, Text_t *title, Text_t *material, Float_t rx, Float_t ry, Float_t dz):TTUBE (name,title,material,0,rx,dz,rx?ry/rx:1.0) {} //______________________________________________________________________________ TELTU::~TELTU() { //*-*-*-*-*-*-*-*-*-*-*-*-*ELTU shape default destructor*-*-*-*-*-*-*-*-*-*-*-*-* //*-* ============================= }