]>
Commit | Line | Data |
---|---|---|
26d97e06 | 1 | #include "FlukaLowMat.hh" |
2 | #include "WrapUtils.hh" | |
3 | ||
4 | FlukaLowMat::FlukaLowMat(const G4String& name, FlukaMaterial* fmat): | |
5 | fName(name), | |
6 | fFlukaMaterial(fmat){ | |
7 | } | |
8 | ||
9 | G4std::ostream& operator<<(G4std::ostream& os, const FlukaLowMat& flowmat){ | |
10 | os << setw10 << "LOW-MAT "; | |
11 | os.setf(static_cast<G4std::ios::fmtflags>(0),G4std::ios::floatfield); | |
12 | os << setw10 << setfixed << G4std::setprecision(1) | |
13 | << G4double(flowmat.GetIndex()); | |
14 | os << setw10 << " " | |
15 | << setw10 << " " | |
16 | << setw10 << " " | |
17 | << setw10 << " " | |
18 | << setw10 << " "; | |
19 | os << flowmat.GetFlukaMaterial()->GetName() << G4endl; | |
20 | ||
21 | return os; | |
22 | } |