Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TPGON.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/g3d:$Id$
0002 // Author: Nenad Buncic   29/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_TPGON
0013 #define ROOT_TPGON
0014 
0015 
0016 ////////////////////////////////////////////////////////////////////////////
0017 //                                                                        //
0018 // TPGON                                                                  //
0019 //                                                                        //
0020 // PGON is a polygone. It has at least 10 parameters, the lower phi limit,//
0021 // the range in phi, the number of straight sides (of equal length)       //
0022 // between those phi limits, the number (at least two) of z planes where  //
0023 // the radius is changing for each z boundary and the z coordinate, the   //
0024 // minimum radius and the maximum radius.                                 //
0025 //                                                                        //
0026 ////////////////////////////////////////////////////////////////////////////
0027 
0028 #include "TPCON.h"
0029 
0030 class TPGON : public TPCON {
0031 protected:
0032    void    FillTableOfCoSin(Double_t phi, Double_t angstep,Int_t n) const override; // Fill the table of cosin
0033 
0034 public:
0035    TPGON();
0036    TPGON(const char *name, const char *title, const char *material, Float_t phi1, Float_t dphi1,
0037          Int_t npdv, Int_t nz);
0038    ~TPGON() override;
0039    ClassDefOverride(TPGON,1)  //PGON shape
0040 };
0041 
0042 #endif