ROOT logo
// @(#)root/g3d:$Id: TTRD1.h 20882 2007-11-19 11:31:26Z rdm $
// Author: Nenad Buncic   17/09/95

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TTRD1
#define ROOT_TTRD1


////////////////////////////////////////////////////////////////////////////
//                                                                        //
// TTRD1                                                                  //
//                                                                        //
// TRD1 is a trapezoid with only the x length varying with z. It has 4    //
// parameters, the half length in x at the low z surface, that at the     //
// high z surface, the half length in y, and in z.                        //
//                                                                        //
////////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TBRIK
#include "TBRIK.h"
#endif

class TTRD1 : public TBRIK {
protected:
   Float_t fDx2;        // half length in x at the high z surface

   virtual void    SetPoints(Double_t *points) const;

public:
   TTRD1();
   TTRD1(const char *name, const char *title, const char *material, Float_t dx1, Float_t dx2, Float_t dy, Float_t dz);
   virtual ~TTRD1();

   virtual Float_t GetDx2() const {return fDx2;}

   ClassDef(TTRD1,1)  //TRD1 shape
};

#endif
 TTRD1.h:1
 TTRD1.h:2
 TTRD1.h:3
 TTRD1.h:4
 TTRD1.h:5
 TTRD1.h:6
 TTRD1.h:7
 TTRD1.h:8
 TTRD1.h:9
 TTRD1.h:10
 TTRD1.h:11
 TTRD1.h:12
 TTRD1.h:13
 TTRD1.h:14
 TTRD1.h:15
 TTRD1.h:16
 TTRD1.h:17
 TTRD1.h:18
 TTRD1.h:19
 TTRD1.h:20
 TTRD1.h:21
 TTRD1.h:22
 TTRD1.h:23
 TTRD1.h:24
 TTRD1.h:25
 TTRD1.h:26
 TTRD1.h:27
 TTRD1.h:28
 TTRD1.h:29
 TTRD1.h:30
 TTRD1.h:31
 TTRD1.h:32
 TTRD1.h:33
 TTRD1.h:34
 TTRD1.h:35
 TTRD1.h:36
 TTRD1.h:37
 TTRD1.h:38
 TTRD1.h:39
 TTRD1.h:40
 TTRD1.h:41
 TTRD1.h:42
 TTRD1.h:43
 TTRD1.h:44
 TTRD1.h:45
 TTRD1.h:46