VGM Version 5.3
Loading...
Searching...
No Matches
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
24
25#include <string>
26
27class G4Isotope;
28
29namespace Geant4GM {
30
31class 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
VGM implementation for Geant4 Isotope.
Definition Isotope.h:32
virtual int Z() const
Return the effective atomic number.
Definition Isotope.cxx:78
virtual std::string Name() const
Return the name of this element.
Definition Isotope.cxx:75
virtual ~Isotope()
Definition Isotope.cxx:65
virtual int N() const
Return the effective number of nucleons.
Definition Isotope.cxx:81
virtual double A() const
Return the effective effective mass of a mole in g/mole.
Definition Isotope.cxx:84
The VGM interface to elements.
Definition IIsotope.h:28
VGM implementation for Geant4.
Definition Element.h:29