#include <PTGuiMaterial.h>
Public Member Functions | |
| PTGuiMaterial () | |
| PTGuiMaterial (std::string matName, Int_t matId, Double_t a, Double_t z, Double_t dens, Double_t radl, Double_t intl) | |
| virtual | ~PTGuiMaterial () |
| virtual std::ostream & | Print (std::ostream &os) const |
| virtual void | Print (Option_t *option="") const |
| Int_t | Id () const |
| Double_t | A () const |
| Double_t | Z () const |
| Double_t | Density () const |
| Double_t | RadLen () const |
| Double_t | IntLen () const |
Private Member Functions | |
| PTGuiMaterial (const PTGuiMaterial &that) | |
| PTGuiMaterial & | operator= (const PTGuiMaterial &that) |
Private Attributes | |
| Int_t | fId |
| Double_t | fA |
| Double_t | fZ |
| Double_t | fDensity |
| Double_t | fRadLen |
| Double_t | fIntLen |
|
|
Definition at line 21 of file PTGuiMaterial.cxx. 00021 : TNamed(),fId(-1),fA(-1),fZ(-1),fDensity(-1), 00022 fRadLen(-1),fIntLen(-1) { 00023 // Def 00024 }
|
|
||||||||||||||||||||||||||||||||
|
Definition at line 27 of file PTGuiMaterial.cxx. 00028 : 00029 TNamed(matName.c_str(),""),fId(matId),fA(a),fZ(z),fDensity(dens), 00030 fRadLen(radl),fIntLen(intl) { 00031 00032 // Normal constructor 00033 00034 }
|
|
|
Definition at line 33 of file PTGuiMaterial.h. 00033 {}
|
|
|
|
|
|
Definition at line 39 of file PTGuiMaterial.h. Referenced by Print(), and PTGuiMainFrame::UpdateMaterialList(). 00039 { return fA; }
|
|
|
Definition at line 41 of file PTGuiMaterial.h. Referenced by Print(), and PTGuiMainFrame::UpdateMaterialList(). 00041 { return fDensity; }
|
|
|
Definition at line 38 of file PTGuiMaterial.h. Referenced by Print(). 00038 { return fId; }
|
|
|
Definition at line 43 of file PTGuiMaterial.h. Referenced by Print(), and PTGuiMainFrame::UpdateMaterialList(). 00043 { return fIntLen; }
|
|
|
|
|
|
Definition at line 49 of file PTGuiMaterial.cxx. References Print(). 00049 {
00050 // Print record in form supported by TObject::Print
00051 //
00052
00053 Print(std::cout);
00054
00055 }
|
|
|
Definition at line 37 of file PTGuiMaterial.cxx. References A(), Density(), Nav::GetName(), Id(), IntLen(), RadLen(), and Z(). Referenced by operator<<(), and Print(). 00037 {
00038 // Print material definition on ostream.
00039
00040 os << GetName() << ", " << Id() << ", " << A()
00041 << ", " << Z() << ", " << Density() << ", " << RadLen()
00042 << ", " << IntLen() << endl;
00043
00044 return os;
00045
00046 }
|
|
|
Definition at line 42 of file PTGuiMaterial.h. Referenced by Print(), and PTGuiMainFrame::UpdateMaterialList(). 00042 { return fRadLen; }
|
|
|
Definition at line 40 of file PTGuiMaterial.h. Referenced by Print(), and PTGuiMainFrame::UpdateMaterialList(). 00040 { return fZ; }
|
|
|
Definition at line 52 of file PTGuiMaterial.h. |
|
|
Definition at line 54 of file PTGuiMaterial.h. |
|
|
Definition at line 51 of file PTGuiMaterial.h. |
|
|
Definition at line 56 of file PTGuiMaterial.h. |
|
|
Definition at line 55 of file PTGuiMaterial.h. |
|
|
Definition at line 53 of file PTGuiMaterial.h. |
1.3.9.1