ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDElement.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 AGDDElement &obj)
11{
12 os<<"- Element "<<obj.m_name<<" symbol="<<obj.m_symbol<<
13 " Z="<<obj.m_z<<" A="<<obj.m_a<<std::endl;
14 return os;
15}
16
18 AGDDElement *e)
19{
20 ms.RegisterElement(e);
21}
22
23const std::string& AGDDElement::GetName() const
24{
25 return m_name;
26}
27
28const std::string& AGDDElement::GetSymbol() const
29{
30 return m_symbol;
31}
std::ostream & operator<<(std::ostream &os, const AGDDElement &obj)
std::string m_name
Definition AGDDElement.h:32
const std::string & GetSymbol() const
void RegisterToStore(AGDDMaterialStore &ms, AGDDElement *)
std::string m_symbol
Definition AGDDElement.h:33
const std::string & GetName() const
AGDDElement(AGDDMaterialStore &ms, const std::string &n, const std::string &s, int z, double a)
Definition AGDDElement.h:14