/usr/include/root/TMaterial.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 54 55 56 | // @(#)root/g3d:$Id$
// Author: Rene Brun 03/10/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. *
*************************************************************************/
//////////////////////////////////////////////////////////////////////////
// //
// TMaterial //
// //
// Materials used in the Geometry Shapes //
// //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TMaterial
#define ROOT_TMaterial
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
#ifndef ROOT_TAttFill
#include "TAttFill.h"
#endif
class TMaterial : public TNamed, public TAttFill {
protected:
Int_t fNumber; //Material matrix number
Float_t fA; //A of Material
Float_t fZ; //Z of Material
Float_t fDensity; //Material density in gr/cm3
Float_t fRadLength; //Material radiation length
Float_t fInterLength; //Material interaction length
public:
TMaterial();
TMaterial(const char *name, const char *title, Float_t a, Float_t z, Float_t density);
TMaterial(const char *name, const char *title, Float_t a, Float_t z, Float_t density, Float_t radl, Float_t inter);
virtual ~TMaterial();
virtual Int_t GetNumber() const {return fNumber;}
virtual Float_t GetA() const {return fA;}
virtual Float_t GetZ() const {return fZ;}
virtual Float_t GetDensity() const {return fDensity;}
virtual Float_t GetRadLength() const {return fRadLength;}
virtual Float_t GetInterLength() const {return fInterLength;}
ClassDef(TMaterial,3) //Materials used in the Geometry Shapes
};
#endif
|