|
||||
File indexing completed on 2025-01-18 10:12:16
0001 // @(#)root/g3d:$Id$ 0002 // Author: Rene Brun 03/10/95 0003 0004 /************************************************************************* 0005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 0006 * All rights reserved. * 0007 * * 0008 * For the licensing terms see $ROOTSYS/LICENSE. * 0009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 0010 *************************************************************************/ 0011 0012 0013 ////////////////////////////////////////////////////////////////////////// 0014 // // 0015 // TMixture // 0016 // // 0017 // Mixtures used in the Geometry Shapes // 0018 // // 0019 // // 0020 ////////////////////////////////////////////////////////////////////////// 0021 0022 #ifndef ROOT_TMixture 0023 #define ROOT_TMixture 0024 0025 #include "TMaterial.h" 0026 0027 class TMixture : public TMaterial { 0028 protected: 0029 Int_t fNmixt; //Number of elements in mixture 0030 Float_t *fAmixt; //[fNmixt] Array of A of mixtures 0031 Float_t *fZmixt; //[fNmixt] Array of Z of mixtures 0032 Float_t *fWmixt; //[fNmixt] Array of relative weights 0033 0034 public: 0035 TMixture(); 0036 TMixture(const char *name, const char *title, Int_t nmixt); 0037 ~TMixture() override; 0038 0039 virtual void DefineElement(Int_t n, Float_t a, Float_t z, Float_t w); 0040 Int_t GetNmixt() const {return fNmixt;} 0041 Float_t *GetAmixt() const {return fAmixt;} 0042 Float_t *GetZmixt() const {return fZmixt;} 0043 Float_t *GetWmixt() const {return fWmixt;} 0044 0045 ClassDefOverride(TMixture,1) //Mixtures used in the Geometry Shapes 0046 }; 0047 0048 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |