|
||||
File indexing completed on 2025-01-18 10:12:29
0001 // @(#)root/g3d:$Id$ 0002 // Author: Nenad Buncic 13/09/95 0003 0004 /************************************************************************* 0005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 0006 * All rights reserved. * 0007 * * 0008 * For the licensing terms see $ROOTSYS/LICENSE. * 0009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 0010 *************************************************************************/ 0011 0012 #ifndef ROOT_TTRD2 0013 #define ROOT_TTRD2 0014 0015 0016 ////////////////////////////////////////////////////////////////////////// 0017 // // 0018 // TTRD2 // 0019 // // 0020 // TRD2 is a trapezoid with both x and y lengths varying with z. It // 0021 // has 5 parameters, half length in x at the low z surface, half length // 0022 // in x at the high z surface, half length in y at the low z surface, // 0023 // half length in y at the high z surface, and half length in z // 0024 // // 0025 ////////////////////////////////////////////////////////////////////////// 0026 0027 #include "TBRIK.h" 0028 0029 class TTRD2 : public TBRIK { 0030 protected: 0031 Float_t fDx2; // half length in x at the high z surface 0032 Float_t fDy2; // half length in y at the high z surface 0033 0034 void SetPoints(Double_t *points) const override; 0035 0036 public: 0037 TTRD2(); 0038 TTRD2(const char *name, const char *title, const char *material, Float_t dx1, Float_t dx2, 0039 Float_t dy1, Float_t dy2, Float_t dz); 0040 ~TTRD2() override; 0041 0042 Float_t GetDx2() const {return fDx2;} 0043 Float_t GetDy2() const {return fDy2;} 0044 0045 ClassDefOverride(TTRD2,1) //TRD2 shape 0046 }; 0047 0048 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |