Import Geant4 10.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 14:11:04 +02:00
parent c9b32a6c0a
commit d4af681f38
4886 changed files with 420149 additions and 1023309 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -1,111 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
// -------------------------------------------------------------------
// GEANT4 Class file
//
//
// File name: G4Clebsch
//
// Author: Maria Grazia Pia (MariaGrazia.Pia@genova.infn.it)
//
// Creation date: 15 April 1999
//
// Modifications:
//
// Kinetic Model, Clebsch-Gordan coefficient and related algebra
//
// -------------------------------------------------------------------
#ifndef G4CLEBSCH_HH
#define G4CLEBSCH_HH
#include "globals.hh"
#include <vector>
class G4Clebsch
{
public:
G4Clebsch();
virtual ~G4Clebsch();
G4bool operator==(const G4Clebsch &right) const;
G4bool operator!=(const G4Clebsch &right) const;
G4double ClebschGordan(G4int isoIn1, G4int iso3In1,
G4int isoIn2, G4int iso3In2,
G4int jOut) const;
std::vector<G4double> GenerateIso3(G4int isoIn1, G4int iso3In1,
G4int isoIn2, G4int iso3In2,
G4int isoOut1,G4int isoOut2) const;
G4double Weight(G4int isoIn1, G4int iso3In1,
G4int isoIn2, G4int iso3In2,
G4int isoOut1, G4int isoOut2) const;
G4double Wigner3J(G4double j1, G4double j2, G4double j3,
G4double m1, G4double m2, G4double m3) const;
// Calculates the normalized Clebsch-Gordan coefficient, that is the prob
// of isospin decomposition of (J,m) into J1, J2, m1, m2
G4double NormalizedClebschGordan(G4int J, G4int m,
G4int J1, G4int J2,
G4int m1, G4int m2) const;
protected:
private:
G4Clebsch(const G4Clebsch &right);
G4Clebsch& operator=(const G4Clebsch &right);
std::vector<G4double> logs;
};
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4CollisionInitialState.hh 66892 2013-01-17 10:57:59Z gunter $
// $Id: G4CollisionInitialState.hh 89688 2015-04-27 10:06:44Z gcosmo $
//
// $Id: G4CollisionInitialState.hh,v 1.0 1998/06/30
// -----------------------------------------------------------------------------
@@ -108,7 +108,7 @@ public:
{theCollisionTime = value;}
// for debugging only
G4BCAction * GetGenerator()
const G4BCAction * GetGenerator()
{
return theFSGenerator;
}
@@ -44,6 +44,7 @@
#define G4VANNIHILATIONCOLLISION_HH
#include "globals.hh"
#include "G4Log.hh"
#include "G4VCollision.hh"
#include "G4VCrossSectionSource.hh"
#include "G4VAngularDistribution.hh"
@@ -82,7 +83,7 @@ private:
{ return 2.0*gamma*std::atan( 2.0 * (x-m0)/ gamma ); }
G4double BrWigInt1(const G4double x, const G4double gamma, const G4double m0) const
{ return 0.5*gamma*gamma*std::log( (x-m0)*(x-m0)+gamma*gamma/4.0 ) + m0*BrWigInt0(x,gamma,m0); }
{ return 0.5*gamma*gamma*G4Log( (x-m0)*(x-m0)+gamma*gamma/4.0 ) + m0*BrWigInt0(x,gamma,m0); }
double BrWigInv(const double x, const double gamma, const double m0) const
{ return 0.5*gamma*std::tan( 0.5*x/gamma )+m0; }
@@ -44,6 +44,7 @@
#define G4VSCATTERINGCOLLISION_HH
#include "globals.hh"
#include "G4Log.hh"
#include "G4VCollision.hh"
#include "G4VCrossSectionSource.hh"
#include "G4VAngularDistribution.hh"
@@ -85,7 +86,7 @@ private:
{ return 2.0*gamma*std::atan( 2.0 * (x-m0)/ gamma ); }
G4double BrWigInt1(const G4double x, const G4double gamma, const G4double m0) const
{ return 0.5*gamma*gamma*std::log( (x-m0)*(x-m0)+gamma*gamma/4.0 ) + m0*BrWigInt0(x,gamma,m0); }
{ return 0.5*gamma*gamma*G4Log( (x-m0)*(x-m0)+gamma*gamma/4.0 ) + m0*BrWigInt0(x,gamma,m0); }
double BrWigInv(const double x, const double gamma, const double m0) const
{ return 0.5*gamma*std::tan( 0.5*x/gamma )+m0; }