VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
RootGM
include
RootGM
materials
Isotope.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, 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 ROOT_GM_ISOTOPE_H
21
#define ROOT_GM_ISOTOPE_H
22
23
#include "
VGM/materials/IIsotope.h
"
24
25
#include <string>
26
27
class
TGeoIsotope;
28
29
namespace
RootGM
{
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
(TGeoIsotope* tgeoIsotope);
36
virtual
~Isotope
();
37
38
// operators
39
// Isotope& operator=(const Isotope& rhs);
40
41
// methods
42
virtual
std::string
Name
()
const
;
43
44
virtual
int
Z
()
const
;
45
virtual
int
N
()
const
;
46
virtual
double
A
()
const
;
47
48
private
:
49
Isotope
(
const
Isotope
& rhs);
50
Isotope
();
51
52
TGeoIsotope* fIsotope;
53
};
54
55
}
// namespace RootGM
56
57
#endif
// ROOT_GM_ISOTOPE_H
IIsotope.h
RootGM::Isotope::N
virtual int N() const
Return the effective number of nucleons.
Definition
Isotope.cxx:71
RootGM::Isotope::Name
virtual std::string Name() const
Return the name of this element.
Definition
Isotope.cxx:65
RootGM::Isotope::A
virtual double A() const
Return the effective effective mass of a mole in g/mole.
Definition
Isotope.cxx:74
RootGM::Isotope::Z
virtual int Z() const
Return the effective atomic number.
Definition
Isotope.cxx:68
RootGM::Isotope::Isotope
Isotope(const std::string &name, int z, int n, double a)
Definition
Isotope.cxx:28
RootGM::Isotope::~Isotope
virtual ~Isotope()
Definition
Isotope.cxx:55
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