ATLAS Offline Software
Loading...
Searching...
No Matches
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
10std::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
23const std::string& AGDDSimpleMaterial::GetName() const
24{
25 return m_name;
26}
std::ostream & operator<<(std::ostream &os, const AGDDSimpleMaterial &obj)
AGDDSimpleMaterial(AGDDMaterialStore &ms, const std::string &n, double d)
const std::string & GetName() const
void RegisterToStore(AGDDMaterialStore &ms, AGDDSimpleMaterial *)