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

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

maj sur la beta de geant 4.9.3

File size: 4.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: G4VPreCompoundFragment.icc,v 1.7 2008/09/22 10:18:36 ahoward Exp $
28// GEANT4 tag $Name: geant4-09-03-beta-cand-01 $
29//
30// by V. Lara
31//
32// Modif (03 September 2008) by J. M. Quesada for external choice of inverse
33// cross section option
34// JMQ (06 September 2008) Also external choice has been added for:
35//                      - superimposed Coulomb barrier (if useSICB=true)
36
37inline G4double G4VPreCompoundFragment::GetA() const
38{
39  return theA;
40}
41
42inline G4double G4VPreCompoundFragment::GetZ() const
43{
44  return theZ;
45}
46
47inline G4double G4VPreCompoundFragment::GetRestA() const
48{
49  return theRestNucleusA;
50}
51   
52inline G4double G4VPreCompoundFragment::GetRestZ() const
53{
54  return theRestNucleusZ;
55}
56   
57inline G4double G4VPreCompoundFragment::GetCoulombBarrier() const
58{
59  return theCoulombBarrier;
60}
61   
62inline G4double G4VPreCompoundFragment::GetBindingEnergy() const
63{
64  return theBindingEnergy;
65}
66
67inline G4double G4VPreCompoundFragment::GetMaximalKineticEnergy() const
68{
69  return theMaximalKineticEnergy;
70}
71
72inline G4double G4VPreCompoundFragment::GetEnergyThreshold() const
73{
74  return theMaximalKineticEnergy - theCoulombBarrier;
75}
76   
77inline G4double G4VPreCompoundFragment::GetEmissionProbability() const
78{
79  return theEmissionProbability;
80}
81
82inline G4double G4VPreCompoundFragment::GetNuclearMass(void) const
83{
84  return G4ParticleTable::GetParticleTable()->
85      GetIonTable()->GetIonMass(static_cast<G4int>(theZ),static_cast<G4int>(theA));
86}
87
88
89inline G4double G4VPreCompoundFragment::GetRestNuclearMass() const
90{
91  return G4ParticleTable::GetParticleTable()->GetIonTable()->
92    GetIonMass(static_cast<G4int>(theRestNucleusZ),static_cast<G4int>(theRestNucleusA));
93}
94
95
96inline G4double G4VPreCompoundFragment::GetReducedMass() const
97{
98  return GetRestNuclearMass()*GetNuclearMass()/
99    (GetNuclearMass()+GetRestNuclearMass());
100}
101
102
103inline const G4LorentzVector G4VPreCompoundFragment::
104GetMomentum() const
105{
106  return theMomentum;
107}
108
109   
110inline void G4VPreCompoundFragment::
111SetMomentum(const G4LorentzVector & value)
112{
113  theMomentum = value;
114}
115   
116inline void G4VPreCompoundFragment::
117SetFragmentName(const G4String& aName)
118{
119  theFragmentName = aName;
120}
121
122inline const G4String G4VPreCompoundFragment::
123GetName() const
124{
125  return theFragmentName;
126}
127   
128inline void G4VPreCompoundFragment::ResetStage()
129{
130  theStage = 1;
131}
132
133inline G4int G4VPreCompoundFragment::GetStage() const
134{
135  return theStage;
136}
137
138inline void G4VPreCompoundFragment::IncrementStage()
139{
140  theStage++;
141}
142
143//for inverse cross section choice
144inline void G4VPreCompoundFragment::SetOPTxs(G4int opt)
145{
146  OPTxs=opt;
147  return;
148}
149
150//for superimposed Coulomb Barrier for inverse cross sections
151inline void G4VPreCompoundFragment::UseSICB(G4bool use)
152{
153  useSICB=use;
154  return;
155}
Note: See TracBrowser for help on using the repository browser.