ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDMaterial.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AGDDMaterial_H
6#define AGDDMaterial_H
7
9
10#include <string>
11
12class AGDDElement;
14
16 friend std::ostream& operator <<(std::ostream&, const AGDDMaterial &);
17public:
19 const std::string&,AGDDElement*, double);
21 const std::string&,int, double,double);
22 int GetZ() const {return m_z;}
23 double GetA() const {return m_a;}
25 void Created(bool b) {m_matCreated=b;}
26 bool Extant() const {return m_matCreated;}
27private:
28 int m_z;
29 double m_a;
32};
33
34#endif
void Created(bool b)
double GetA() const
int GetZ() const
AGDDElement * GetElement()
friend std::ostream & operator<<(std::ostream &, const AGDDMaterial &)
AGDDElement * m_element
bool Extant() const
AGDDMaterial(AGDDMaterialStore &ms, const std::string &, AGDDElement *, double)
AGDDSimpleMaterial(AGDDMaterialStore &ms, const std::string &n, double d)