VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
RootGM
include
RootGM
materials
ElementNonGeo.h
Go to the documentation of this file.
1
// $Id$
2
3
// -----------------------------------------------------------------------
4
// The RootGM package of the Virtual Geometry Model
5
// Copyright (C) 2007 - 2010 Ivana Hrivnacova
6
// All rights reserved.
7
//
8
// For the licensing terms see vgm/LICENSE.
9
// Contact: ivana@ipno.in2p3.fr
10
// -----------------------------------------------------------------------
11
13
//
20
21
#ifndef ROOT_GM_ELEMENT_NON_GEO_H
22
#define ROOT_GM_ELEMENT_NON_GEO_H
23
24
#include "
VGM/materials/IElement.h
"
25
26
#include <string>
27
28
namespace
RootGM
{
29
30
class
ElementNonGeo
:
public
virtual
VGM::IElement
31
{
32
public
:
33
ElementNonGeo
(
34
const
std::string& name,
const
std::string& symbol,
double
z,
double
a);
35
virtual
~ElementNonGeo
();
36
37
// methods
38
virtual
std::string
Name
()
const
;
39
virtual
std::string
Symbol
()
const
;
40
41
virtual
double
Z
()
const
;
42
virtual
double
N
()
const
;
43
virtual
double
A
()
const
;
44
45
virtual
int
NofIsotopes
()
const
;
46
virtual
VGM::IIsotope
*
Isotope
(
int
i)
const
;
47
virtual
double
RelAbundance
(
int
i)
const
;
48
49
private
:
50
ElementNonGeo
(
const
ElementNonGeo
& rhs);
51
ElementNonGeo
();
52
53
void
CheckIndex(
int
iel)
const
;
54
55
std::string fName;
56
std::string fSymbol;
57
double
fZ;
58
double
fN;
59
double
fA;
60
};
61
62
}
// namespace RootGM
63
64
#endif
// ROOT_GM_ELEMENT_NON_GEO_H
IElement.h
RootGM::ElementNonGeo::Z
virtual double Z() const
Return the effective atomic number.
Definition
ElementNonGeo.cxx:60
RootGM::ElementNonGeo::Isotope
virtual VGM::IIsotope * Isotope(int i) const
Return the i-th isotope constituing this element.
Definition
ElementNonGeo.cxx:75
RootGM::ElementNonGeo::ElementNonGeo
ElementNonGeo(const std::string &name, const std::string &symbol, double z, double a)
object in Root geometry.
Definition
ElementNonGeo.cxx:31
RootGM::ElementNonGeo::Symbol
virtual std::string Symbol() const
Return the symbol of this element.
Definition
ElementNonGeo.cxx:57
RootGM::ElementNonGeo::~ElementNonGeo
virtual ~ElementNonGeo()
Definition
ElementNonGeo.cxx:44
RootGM::ElementNonGeo::Name
virtual std::string Name() const
Return the name of this element.
Definition
ElementNonGeo.cxx:54
RootGM::ElementNonGeo::N
virtual double N() const
Return the effective number of nucleons.
Definition
ElementNonGeo.cxx:63
RootGM::ElementNonGeo::NofIsotopes
virtual int NofIsotopes() const
Return the number of isotopes constituing this element.
Definition
ElementNonGeo.cxx:72
RootGM::ElementNonGeo::A
virtual double A() const
Return the effective effective mass of a mole in g/mole.
Definition
ElementNonGeo.cxx:66
RootGM::ElementNonGeo::RelAbundance
virtual double RelAbundance(int i) const
Return the relative abundance (the fraction of nb of atomes per volume) of the i-th isotope constitui...
Definition
ElementNonGeo.cxx:78
VGM::IElement
The VGM interface to elements.
Definition
IElement.h:34
VGM::IIsotope
The VGM interface to elements.
Definition
IIsotope.h:28
RootGM
VGM implementation for Root.
Definition
axis.h:28
Generated on
for VGM by
1.17.0