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