/usr/include/root/TTRD1.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 | // @(#)root/g3d:$Id$
// 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
|