Including St2 in the new geometry segmentation (Christian)
[u/mrichter/AliRoot.git] / Flugg / FlukaLowMat.cxx
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 std::ostream& operator<<(std::ostream& os, const FlukaLowMat& flowmat){
10   os << setw10 << "LOW-MAT   ";
11   os.setf(static_cast<std::ios::fmtflags>(0),std::ios::floatfield);
12   os << setw10 << setfixed << std::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 }