Warning, file /include/root/TMaterial.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #ifndef ROOT_TMaterial
0023 #define ROOT_TMaterial
0024
0025 #include "TNamed.h"
0026 #include "TAttFill.h"
0027
0028 class TMaterial : public TNamed, public TAttFill {
0029 protected:
0030 Int_t fNumber;
0031 Float_t fA;
0032 Float_t fZ;
0033 Float_t fDensity;
0034 Float_t fRadLength;
0035 Float_t fInterLength;
0036
0037 public:
0038 TMaterial();
0039 TMaterial(const char *name, const char *title, Float_t a, Float_t z, Float_t density);
0040 TMaterial(const char *name, const char *title, Float_t a, Float_t z, Float_t density, Float_t radl, Float_t inter);
0041 ~TMaterial() override;
0042 virtual Int_t GetNumber() const {return fNumber;}
0043 virtual Float_t GetA() const {return fA;}
0044 virtual Float_t GetZ() const {return fZ;}
0045 virtual Float_t GetDensity() const {return fDensity;}
0046 virtual Float_t GetRadLength() const {return fRadLength;}
0047 virtual Float_t GetInterLength() const {return fInterLength;}
0048
0049 ClassDefOverride(TMaterial,3)
0050 };
0051
0052 #endif