ATLAS Offline Software
AGDDSimpleMaterial.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 
8 #include <iostream>
9 
10 std::ostream& operator <<(std::ostream& os, const AGDDSimpleMaterial &obj)
11 {
12  os<<"- Material "<<obj.m_name<<" type="<<obj.m_mType<<" density="<<obj.m_density<<std::endl;
13  return os;
14 }
15 
16 
19 {
20  ms.RegisterMaterial(e);
21 }
22 
23 const std::string& AGDDSimpleMaterial::GetName() const
24 {
25  return m_name;
26 }
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
AGDDMaterialStore.h
python.SystemOfUnits.ms
int ms
Definition: SystemOfUnits.py:132
AGDDSimpleMaterial::RegisterToStore
void RegisterToStore(AGDDMaterialStore &ms, AGDDSimpleMaterial *)
Definition: AGDDSimpleMaterial.cxx:17
AGDDMaterialStore
Definition: AGDDMaterialStore.h:23
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
AGDDSimpleMaterial
Definition: AGDDSimpleMaterial.h:14
AGDDSimpleMaterial.h
operator<<
std::ostream & operator<<(std::ostream &os, const AGDDSimpleMaterial &obj)
Definition: AGDDSimpleMaterial.cxx:10
python.PyAthena.obj
obj
Definition: PyAthena.py:132
AGDDSimpleMaterial::m_name
std::string m_name
Definition: AGDDSimpleMaterial.h:34
AGDDSimpleMaterial::GetName
const std::string & GetName() const
Definition: AGDDSimpleMaterial.cxx:23