/usr/include/root/TMixture.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: 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. *
*************************************************************************/
//////////////////////////////////////////////////////////////////////////
// //
// TMixture //
// //
// Mixtures used in the Geometry Shapes //
// //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TMixture
#define ROOT_TMixture
#ifndef ROOT_TMaterial
#include "TMaterial.h"
#endif
class TMixture : public TMaterial {
protected:
Int_t fNmixt; //Number of elements in mixture
Float_t *fAmixt; //[fNmixt] Array of A of mixtures
Float_t *fZmixt; //[fNmixt] Array of Z of mixtures
Float_t *fWmixt; //[fNmixt] Array of relative weights
public:
TMixture();
TMixture(const char *name, const char *title, Int_t nmixt);
virtual ~TMixture();
virtual void DefineElement(Int_t n, Float_t a, Float_t z, Float_t w);
Int_t GetNmixt() const {return fNmixt;}
Float_t *GetAmixt() const {return fAmixt;}
Float_t *GetZmixt() const {return fZmixt;}
Float_t *GetWmixt() const {return fWmixt;}
ClassDef(TMixture,1) //Mixtures used in the Geometry Shapes
};
#endif
|