]>
Commit | Line | Data |
---|---|---|
26d97e06 | 1 | #ifndef FLUKALOWMAT_HH |
2 | #define FLUKALOWMAT_HH 1 | |
3 | ||
4 | #include "G4String.hh" | |
5 | #include "FlukaMaterial.hh" | |
6 | ||
7 | class FlukaLowMat { | |
8 | public: | |
9 | ||
10 | //Constructor | |
11 | FlukaLowMat(const G4String& name, FlukaMaterial*); | |
12 | ||
13 | //Getters | |
14 | G4String GetName() const {return fName;} | |
15 | inline G4int GetIndex() const; | |
16 | const FlukaMaterial* GetFlukaMaterial() const {return fFlukaMaterial;} | |
17 | ||
18 | //Setters | |
19 | void SetName(const G4String& n) {fName = n;} | |
20 | ||
21 | public: | |
22 | G4String fName; | |
23 | FlukaMaterial* fFlukaMaterial; | |
24 | ||
25 | }; | |
26 | ||
27 | ||
28 | inline G4int FlukaLowMat::GetIndex() const {return fFlukaMaterial->GetIndex();} | |
29 | ||
0edf14e7 | 30 | std::ostream& operator<<(std::ostream& os, const FlukaLowMat& flowmat); |
26d97e06 | 31 | |
32 | #endif | |
33 |