source: trunk/source/processes/hadronic/models/de_excitation/multifragmentation/include/G4StatMFFragment.hh @ 1315

Last change on this file since 1315 was 1315, checked in by garnier, 14 years ago

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File size: 3.5 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26//
27// $Id: G4StatMFFragment.hh,v 1.5 2010/05/03 16:49:19 vnivanch Exp $
28// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
29//
30// Hadronic Process: Nuclear De-excitations
31// by V. Lara
32
33#ifndef G4StatMFFragment_h
34#define G4StatMFFragment_h 1
35
36#include "G4StatMFParameters.hh"
37#include "G4ThreeVector.hh"
38#include "G4ParticleTable.hh"
39#include "G4IonTable.hh"
40#include "G4Fragment.hh"
41
42class G4StatMFFragment {
43
44public:
45    // Constructor
46    G4StatMFFragment(const G4int anA, const G4int aZ) :
47        theA(anA),theZ(aZ),
48        _position(0.0,0.0,0.0),
49        _momentum(0.0,0.0,0.0)
50        {}
51
52
53    // Destructor
54    virtual ~G4StatMFFragment() {};
55
56
57private:
58    // Default constructor
59    G4StatMFFragment(){};
60       
61    // Copy constructor
62    G4StatMFFragment(const G4StatMFFragment & right);
63
64    // operators
65    G4StatMFFragment & operator=(const G4StatMFFragment & right);
66public:
67    G4bool operator==(const G4StatMFFragment & right) const;
68    G4bool operator!=(const G4StatMFFragment & right) const;
69       
70public:
71
72    G4double GetCoulombEnergy(void) const;
73       
74    G4double GetEnergy(const G4double T) const;
75       
76    G4double GetInvLevelDensity(void) const;
77
78    G4double GetA(void) const {return theA;}
79       
80    G4double GetZ(void) const {return theZ;}
81       
82    void SetPosition(const G4ThreeVector aPosition) {_position = aPosition;}
83       
84    G4ThreeVector GetPosition(void) {return _position;}
85       
86    void SetMomentum(const G4ThreeVector aMomentum) {_momentum = aMomentum;}
87
88    G4ThreeVector GetMomentum(void) {return _momentum;}
89
90    G4Fragment * GetFragment(const G4double T);
91       
92    G4double GetNuclearMass(void)
93        {return G4ParticleTable::GetParticleTable()->GetIonTable()
94                               ->GetIonMass(static_cast<G4int>(theZ), static_cast<G4int>(theA));}
95       
96
97private:
98
99    G4double CalcExcitationEnergy(const G4double T);
100
101private:
102
103    G4double theA;
104       
105    G4double theZ;
106       
107    G4ThreeVector _position;
108       
109    G4ThreeVector _momentum;
110};
111
112#endif
113
Note: See TracBrowser for help on using the repository browser.