ROOT  6.06/09
Reference Guide
TCTUB.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_TCTUB
13 #define ROOT_TCTUB
14 
15 
16 ////////////////////////////////////////////////////////////////////////////
17 // //
18 // TCTUB //
19 // //
20 // 'CTUB' is a cut tube with 11 parameters. The first 5 parameters //
21 // are the same as for the TUBS. The remaining 6 parameters //
22 // are the director cosines of the surfaces cutting the tube //
23 // respectively at the low and high Z values. //
24 // //
25 ////////////////////////////////////////////////////////////////////////////
26 
27 #ifndef ROOT_TTUBS
28 #include "TTUBS.h"
29 #endif
30 
31 class TCTUB : public TTUBS {
32 
33 protected:
34  Float_t fCosLow[3]; // dir cosinus of surface cutting tube at low z
35  Float_t fCosHigh[3]; // dir cosinus of surface cutting tube at high z
36 
37  virtual void SetPoints(Double_t *points) const;
38 public:
39  TCTUB();
40  TCTUB(const char *name, const char *title, const char *material, Float_t rmin,
41  Float_t rmax, Float_t dz, Float_t phi1, Float_t phi2,
42  Float_t coslx, Float_t cosly, Float_t coslz,
43  Float_t coshx, Float_t coshy, Float_t coshz);
44  TCTUB(const char *name, const char *title, const char *material, Float_t rmin,
45  Float_t rmax, Float_t dz, Float_t phi1, Float_t phi2,
46  Float_t *lowNormal, Float_t *highNormal);
47  virtual ~TCTUB();
48 
49  ClassDef(TCTUB,2) //The Cut Tube shape
50 };
51 
52 #endif
Float_t fCosHigh[3]
Definition: TCTUB.h:35
float Float_t
Definition: RtypesCore.h:53
virtual void SetPoints(Double_t *points) const
Create TUBS points.
Definition: TCTUB.cxx:111
Float_t fCosLow[3]
Definition: TCTUB.h:34
virtual ~TCTUB()
CTUB shape default destructor.
Definition: TCTUB.cxx:94
A cut tube with 11 parameters.
Definition: TCTUB.h:31
ClassDef(TAttLine, 2)
point * points
Definition: X3DBuffer.c:20
double Double_t
Definition: RtypesCore.h:55
#define name(a, b)
Definition: linkTestLib0.cpp:5
A segment of a tube.
Definition: TTUBS.h:31