ATLAS Offline Software
AGDDElement.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 
8 #include <iostream>
9 
10 std::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 
23 std::string AGDDElement::GetName() const
24 {
25  return m_name;
26 }
27 
28 std::string AGDDElement::GetSymbol() const
29 {
30  return m_symbol;
31 }
AGDDElement::m_name
std::string m_name
Definition: AGDDElement.h:32
AGDDElement::m_symbol
std::string m_symbol
Definition: AGDDElement.h:33
AGDDMaterialStore.h
python.SystemOfUnits.ms
int ms
Definition: SystemOfUnits.py:132
AGDDElement::GetSymbol
std::string GetSymbol() const
Definition: AGDDElement.cxx:28
AGDDMaterialStore
Definition: AGDDMaterialStore.h:23
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
operator<<
std::ostream & operator<<(std::ostream &os, const AGDDElement &obj)
Definition: AGDDElement.cxx:10
AGDDElement.h
AGDDElement::GetName
std::string GetName() const
Definition: AGDDElement.cxx:23
AGDDElement
Definition: AGDDElement.h:11
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26
AGDDElement::RegisterToStore
void RegisterToStore(AGDDMaterialStore &ms, AGDDElement *)
Definition: AGDDElement.cxx:17
python.PyAthena.obj
obj
Definition: PyAthena.py:135