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

Last change on this file since 1007 was 1007, checked in by garnier, 15 years ago

update to geant4.9.2

File size: 3.4 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.3 2006/06/29 20:24:07 gunter Exp $
28// GEANT4 tag $Name: geant4-09-02 $
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 "G4Fragment.hh"
39
40class G4StatMFFragment {
41
42public:
43    // Constructor
44    G4StatMFFragment(const G4int anA, const G4int aZ) :
45        theA(anA),theZ(aZ),
46        _position(0.0,0.0,0.0),
47        _momentum(0.0,0.0,0.0)
48        {}
49
50
51    // Destructor
52    virtual ~G4StatMFFragment() {};
53
54
55private:
56    // Default constructor
57    G4StatMFFragment(){};
58       
59    // Copy constructor
60    G4StatMFFragment(const G4StatMFFragment & right);
61
62    // operators
63    G4StatMFFragment & operator=(const G4StatMFFragment & right);
64public:
65    G4bool operator==(const G4StatMFFragment & right) const;
66    G4bool operator!=(const G4StatMFFragment & right) const;
67       
68public:
69
70    G4double GetCoulombEnergy(void) const;
71       
72    G4double GetEnergy(const G4double T) const;
73       
74    G4double GetInvLevelDensity(void) const;
75
76    G4double GetA(void) const {return theA;}
77       
78    G4double GetZ(void) const {return theZ;}
79       
80    void SetPosition(const G4ThreeVector aPosition) {_position = aPosition;}
81       
82    G4ThreeVector GetPosition(void) {return _position;}
83       
84    void SetMomentum(const G4ThreeVector aMomentum) {_momentum = aMomentum;}
85
86    G4ThreeVector GetMomentum(void) {return _momentum;}
87
88    G4Fragment * GetFragment(const G4double T);
89       
90    G4double GetNuclearMass(void)
91        {return G4ParticleTable::GetParticleTable()->GetIonTable()
92                               ->GetIonMass(static_cast<G4int>(theZ), static_cast<G4int>(theA));}
93       
94
95private:
96
97    G4double CalcExcitationEnergy(const G4double T);
98
99private:
100
101    G4double theA;
102       
103    G4double theZ;
104       
105    G4ThreeVector _position;
106       
107    G4ThreeVector _momentum;
108};
109
110#endif
111
Note: See TracBrowser for help on using the repository browser.