ATLAS Offline Software
Functions
AGDDMolecule.cxx File Reference
#include "AGDDModel/AGDDMolecule.h"
#include "AGDDModel/AGDDElement.h"
#include "AGDDModel/AGDDSimpleMaterial.h"
#include "AGDDModel/AGDDMaterialStore.h"
#include <iostream>
Include dependency graph for AGDDMolecule.cxx:

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 12 of file AGDDMolecule.cxx.

13 {
14  os<<"- Material "<<obj.m_name<<" type=Molecule density="<<obj.m_density<<std::endl;
15  os<<"\tcomponents"<<std::endl;
16  for (unsigned int i=0;i<obj.m_theElements.size();i++)
17  {
18  const std::string ss=obj.m_theElements[i]->GetName();
19  const int ii=obj.m_theComposition[i];
20  os<<"\t\t element "<<ss<<" natoms="<<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:92
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
python.PyAthena.obj
obj
Definition: PyAthena.py:135