ATLAS Offline Software
Functions
AGDDMixture.cxx File Reference
#include "AGDDModel/AGDDMixture.h"
#include "AGDDModel/AGDDElement.h"
#include "AGDDModel/AGDDSimpleMaterial.h"
#include "AGDDModel/AGDDMaterialStore.h"
#include <iostream>
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 }
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
lumiFormat.i
int i
Definition: lumiFormat.py:85
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
python.PyAthena.obj
obj
Definition: PyAthena.py:132