VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
Geant4GM
include
Geant4GM
materials
Isotope.h
Go to the documentation of this file.
1
// $Id$
2
3
// -----------------------------------------------------------------------
4
// The Geant4GM package of the Virtual Geometry Model
5
// Copyright (C) 2007, Ivana Hrivnacova
6
// All rights reserved.
7
//
8
// For the licensing terms see vgm/LICENSE.
9
// Contact: ivana@ipno.in2p3.fr
10
// -----------------------------------------------------------------------
11
13
//
19
20
#ifndef GEANT4_GM_ISOTOPE_H
21
#define GEANT4_GM_ISOTOPE_H
22
23
#include "
VGM/materials/IIsotope.h
"
24
25
#include <string>
26
27
class
G4Isotope;
28
29
namespace
Geant4GM
{
30
31
class
Isotope
:
public
virtual
VGM::IIsotope
32
{
33
public
:
34
Isotope
(
const
std::string& name,
int
z,
int
n,
double
a);
35
Isotope
(G4Isotope*
Isotope
);
36
virtual
~Isotope
();
37
38
// methods
39
virtual
std::string
Name
()
const
;
40
41
virtual
int
Z
()
const
;
42
virtual
int
N
()
const
;
43
virtual
double
A
()
const
;
44
45
protected
:
46
Isotope
();
47
Isotope
(
const
Isotope
& rhs);
48
49
private
:
50
G4Isotope* fIsotope;
51
};
52
53
}
// namespace Geant4GM
54
55
#endif
// GEANT4_GM_ISOTOPE_H
IIsotope.h
Geant4GM::Isotope::Z
virtual int Z() const
Return the effective atomic number.
Definition
Isotope.cxx:78
Geant4GM::Isotope::Name
virtual std::string Name() const
Return the name of this element.
Definition
Isotope.cxx:75
Geant4GM::Isotope::Isotope
Isotope()
Definition
Isotope.cxx:53
Geant4GM::Isotope::~Isotope
virtual ~Isotope()
Definition
Isotope.cxx:65
Geant4GM::Isotope::Isotope
Isotope(const std::string &name, int z, int n, double a)
Definition
Isotope.cxx:27
Geant4GM::Isotope::N
virtual int N() const
Return the effective number of nucleons.
Definition
Isotope.cxx:81
Geant4GM::Isotope::A
virtual double A() const
Return the effective effective mass of a mole in g/mole.
Definition
Isotope.cxx:84
VGM::IIsotope
The VGM interface to elements.
Definition
IIsotope.h:28
Geant4GM
VGM implementation for Geant4.
Definition
Element.h:29
Generated on
for VGM by
1.17.0