/usr/include/root/TPARA.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 51 52 53 | // @(#)root/g3d:$Id$
// Author: Nenad Buncic 19/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_TPARA
#define ROOT_TPARA
////////////////////////////////////////////////////////////////////////////
// //
// TPARA //
// //
// PARA is parallelepiped. It has 6 parameters, the half length in x, //
// the half length in y, the half length in z, the angle w.r.t. the y //
// axis from the centre of the low y edge to the centre of the high y //
// edge, and the theta phi polar angles from the centre of the low //
// z face to the centre of the high z face. //
// //
////////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TBRIK
#include "TBRIK.h"
#endif
class TPARA : public TBRIK {
protected:
Float_t fAlpha; // angle w.r.t. the y axis from the centre of the low y to the high y
Float_t fTheta; // polar angle from the centre of the low z to the high z
Float_t fPhi; // polar angle from the centre of the low z to the high z
virtual void SetPoints(Double_t *points) const;
public:
TPARA();
TPARA(const char *name, const char *title, const char *material, Float_t dx, Float_t dy, Float_t dz,
Float_t alpha, Float_t theta, Float_t phi);
virtual ~TPARA();
virtual Float_t GetAlpha() const {return fAlpha;}
virtual Float_t GetTheta() const {return fTheta;}
virtual Float_t GetPhi() const {return fPhi;}
ClassDef(TPARA,1) //PARA shape
};
#endif
|