ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDMixture.cxx File Reference
Include dependency graph for AGDDMixture.cxx:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const AGDDMixture &obj)

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const AGDDMixture & obj )

Definition at line 12 of file AGDDMixture.cxx.

13{
14 os<<"- Material "<<obj.m_name<<" type=Mixture density="<<obj.m_density<<std::endl;
15 os<<"\tcomponents"<<std::endl;
16 for (unsigned int i=0;i<obj.m_theMaterials.size();i++)
17 {
18 const std::string ss=obj.m_theMaterials[i]->GetName();
19 const double ii=obj.m_theComposition[i];
20 os<<"\t\t material "<<ss<<" fraction="<<ii<<std::endl;
21 }
22 return os;
23}
static Double_t ss