source: trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/include/G4VPreCompoundFragment.icc @ 829

Last change on this file since 829 was 819, checked in by garnier, 16 years ago

import all except CVS

File size: 3.8 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: G4VPreCompoundFragment.icc,v 1.4 2006/08/20 01:07:40 dennis Exp $
28// GEANT4 tag $Name:  $
29//
30// by V. Lara
31
32
33inline G4double G4VPreCompoundFragment::GetA() const
34{
35  return theA;
36}
37
38inline G4double G4VPreCompoundFragment::GetZ() const
39{
40  return theZ;
41}
42
43inline G4double G4VPreCompoundFragment::GetRestA() const
44{
45  return theRestNucleusA;
46}
47   
48inline G4double G4VPreCompoundFragment::GetRestZ() const
49{
50  return theRestNucleusZ;
51}
52   
53inline G4double G4VPreCompoundFragment::GetCoulombBarrier() const
54{
55  return theCoulombBarrier;
56}
57   
58inline G4double G4VPreCompoundFragment::GetBindingEnergy() const
59{
60  return theBindingEnergy;
61}
62
63inline G4double G4VPreCompoundFragment::GetMaximalKineticEnergy() const
64{
65  return theMaximalKineticEnergy;
66}
67
68inline G4double G4VPreCompoundFragment::GetEnergyThreshold() const
69{
70  return theMaximalKineticEnergy - theCoulombBarrier;
71}
72   
73inline G4double G4VPreCompoundFragment::GetEmissionProbability() const
74{
75  return theEmissionProbability;
76}
77
78inline G4double G4VPreCompoundFragment::GetNuclearMass(void) const
79{
80  return G4ParticleTable::GetParticleTable()->
81      GetIonTable()->GetIonMass(static_cast<G4int>(theZ),static_cast<G4int>(theA));
82}
83
84
85inline G4double G4VPreCompoundFragment::GetRestNuclearMass() const
86{
87  return G4ParticleTable::GetParticleTable()->GetIonTable()->
88    GetIonMass(static_cast<G4int>(theRestNucleusZ),static_cast<G4int>(theRestNucleusA));
89}
90
91
92inline G4double G4VPreCompoundFragment::GetReducedMass() const
93{
94  return GetRestNuclearMass()*GetNuclearMass()/
95    (GetNuclearMass()+GetRestNuclearMass());
96}
97
98
99inline const G4LorentzVector G4VPreCompoundFragment::
100GetMomentum() const
101{
102  return theMomentum;
103}
104
105   
106inline void G4VPreCompoundFragment::
107SetMomentum(const G4LorentzVector & value)
108{
109  theMomentum = value;
110}
111   
112inline void G4VPreCompoundFragment::
113SetFragmentName(const G4String& aName)
114{
115  theFragmentName = aName;
116}
117
118inline const G4String G4VPreCompoundFragment::
119GetName() const
120{
121  return theFragmentName;
122}
123   
124inline void G4VPreCompoundFragment::ResetStage()
125{
126  theStage = 1;
127}
128
129inline G4int G4VPreCompoundFragment::GetStage() const
130{
131  return theStage;
132}
133
134inline void G4VPreCompoundFragment::IncrementStage()
135{
136  theStage++;
137}
138
Note: See TracBrowser for help on using the repository browser.