Import Geant4 1.1.0 source tree
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PreCompoundModel.hh,v 1.4.6.1.2.1 1999/12/07 20:51:47 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// by V. Lara
|
||||
|
||||
|
||||
+3
-3
@@ -12,7 +12,7 @@
|
||||
#define G4VPreCompoundFragment_h 1
|
||||
|
||||
#include "G4ios.hh"
|
||||
#include <iomanip.h>
|
||||
#include "g4std/iomanip"
|
||||
#include "G4ParticleDefinition.hh"
|
||||
#include "G4ParticleTable.hh"
|
||||
#include "G4IonTable.hh"
|
||||
@@ -44,8 +44,8 @@ public:
|
||||
|
||||
G4int operator!=(const G4VPreCompoundFragment &right) const;
|
||||
|
||||
friend ostream& operator<<(ostream&, const G4VPreCompoundFragment*);
|
||||
friend ostream& operator<<(ostream&, const G4VPreCompoundFragment&);
|
||||
friend G4std::ostream& operator<<(G4std::ostream&, const G4VPreCompoundFragment*);
|
||||
friend G4std::ostream& operator<<(G4std::ostream&, const G4VPreCompoundFragment&);
|
||||
|
||||
|
||||
// methods
|
||||
|
||||
+3
-3
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PreCompoundModel.cc,v 1.7.4.1 1999/12/07 20:51:49 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4PreCompoundModel.cc,v 1.7.4.1.2.1 1999/12/08 17:34:42 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// by V. Lara
|
||||
|
||||
@@ -240,7 +240,7 @@ G4ReactionProductVector* G4PreCompoundModel::DeExcite(const G4Fragment & theInit
|
||||
theChannels(aChannel)->GetKineticEnergy(aFragment);
|
||||
|
||||
|
||||
// G4cout << "Kinetic energy of Emitted fragment " << KineticEnergyOfEmittedFragment << endl;
|
||||
// G4cout << "Kinetic energy of Emitted fragment " << KineticEnergyOfEmittedFragment << G4endl;
|
||||
|
||||
// Sample Fermi momentum of emitted fragment
|
||||
static const G4double FermiMaxMom = 250.0; // MeV
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ G4PreCompoundTransitions(const G4Fragment & aFragment)
|
||||
aFragment.GetA()*aFragment.GetExcitationEnergy()/MeV;
|
||||
|
||||
// Transition probability for \Delta n = -2 (at F(p,h) = 0)
|
||||
// TransitionProb2 = max(0, (TransitionProb1*P*H*(P+H+1.0)*(P+H-2.0))/(GE*GE));
|
||||
// TransitionProb2 = G4std::max(0, (TransitionProb1*P*H*(P+H+1.0)*(P+H-2.0))/(GE*GE));
|
||||
TransitionProb2 = (TransitionProb1*P*H*(P+H+1.0)*(P+H-2.0))/(GE*GE);
|
||||
if (TransitionProb2 < 0.0) TransitionProb2 = 0.0;
|
||||
|
||||
|
||||
+8
-8
@@ -77,24 +77,24 @@ G4int G4VPreCompoundFragment::operator!=(const G4VPreCompoundFragment & right) c
|
||||
}
|
||||
|
||||
|
||||
ostream& operator << (ostream &out, const G4VPreCompoundFragment &theFragment)
|
||||
G4std::ostream& operator << (G4std::ostream &out, const G4VPreCompoundFragment &theFragment)
|
||||
{
|
||||
out << &theFragment;
|
||||
return out;
|
||||
}
|
||||
|
||||
|
||||
ostream& operator << (ostream &out, const G4VPreCompoundFragment *theFragment)
|
||||
G4std::ostream& operator << (G4std::ostream &out, const G4VPreCompoundFragment *theFragment)
|
||||
{
|
||||
long old_floatfield = out.setf(0,ios::floatfield);
|
||||
long old_floatfield = out.setf(0,G4std::ios::floatfield);
|
||||
|
||||
out
|
||||
<< "PreCompound Model Emitted Fragment: A = " << setprecision(3) << theFragment->theA
|
||||
<< ", Z = " << setprecision(3) << theFragment->theZ;
|
||||
out.setf(ios::scientific,ios::floatfield);
|
||||
<< "PreCompound Model Emitted Fragment: A = " << G4std::setprecision(3) << theFragment->theA
|
||||
<< ", Z = " << G4std::setprecision(3) << theFragment->theZ;
|
||||
out.setf(G4std::ios::scientific,G4std::ios::floatfield);
|
||||
// out
|
||||
// << ", U = " << theFragment->theExcitationEnergy/MeV
|
||||
// << " MeV" << endl
|
||||
// << " MeV" << G4endl
|
||||
// << " P = ("
|
||||
// << theFragment->theMomentum.x()/MeV << ","
|
||||
// << theFragment->theMomentum.y()/MeV << ","
|
||||
@@ -102,7 +102,7 @@ ostream& operator << (ostream &out, const G4VPreCompoundFragment *theFragment)
|
||||
// << ") MeV E = "
|
||||
// << theFragment->theMomentum.t()/MeV << " MeV";
|
||||
|
||||
out.setf(old_floatfield,ios::floatfield);
|
||||
out.setf(old_floatfield,G4std::ios::floatfield);
|
||||
|
||||
return out;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user