/usr/include/root/TCONE.h is in libroot-graf3d-g3d-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | // @(#)root/g3d:$Id$
// Author: Nenad Buncic 18/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_TCONE
#define ROOT_TCONE
////////////////////////////////////////////////////////////////////////////
// //
// TCONE //
// //
// CONE is a conical tube. It has 5 parameters, the half length in z, //
// the inside and outside radius at the low z limit, and those at the //
// high z limit. //
// //
////////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TTUBE
#include "TTUBE.h"
#endif
class TCONE : public TTUBE {
protected:
Float_t fRmin2; // inside radius at the high z limit
Float_t fRmax2; // outside radius at the high z limit
virtual void SetPoints(Double_t *points) const;
public:
TCONE();
TCONE(const char *name, const char *title, const char *material, Float_t dz, Float_t rmin1, Float_t rmax1,
Float_t rmin2, Float_t rmax2);
TCONE(const char *name, const char *title, const char *material, Float_t dz, Float_t rmax1, Float_t rmax2 =0);
virtual ~TCONE();
Float_t GetRmin2() const {return fRmin2;}
Float_t GetRmax2() const {return fRmax2;}
ClassDef(TCONE,1) //CONE shape
};
#endif
|