ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDMaterial.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
8
9#include <iostream>
10
11std::ostream& operator <<(std::ostream& os, const AGDDMaterial &obj)
12{
13 os<<"- Material "<<obj.m_name<<" type-Material density="<<obj.m_density<<
14 " Z="<<obj.m_z<<" A="<<obj.m_a<<std::endl;
15 return os;
16}
17
19 const std::string& n,
20 AGDDElement* e, double d):
21 AGDDSimpleMaterial(ms,n,d),m_z(e->GetZ()),m_a(e->GetA()),m_element(e),m_matCreated(false)
22{
24}
25
27 const std::string& n,int z, double a,double d):
29{
31}
std::ostream & operator<<(std::ostream &os, const AGDDMaterial &obj)
static Double_t a
@ Material
#define z
double GetA() const
int GetZ() const
AGDDElement * m_element
AGDDMaterial(AGDDMaterialStore &ms, const std::string &, AGDDElement *, double)
AGDDSimpleMaterial(AGDDMaterialStore &ms, const std::string &n, double d)