Import Geant4 9.1.0 source tree
This commit is contained in:
+9
-16
@@ -23,15 +23,15 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4PolarizedBremsstrahlungCrossSection.cc,v 1.3 2006/11/17 12:12:02 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-00 $
|
||||
// $Id: G4PolarizedBremsstrahlungCrossSection.cc,v 1.4 2007/11/01 17:32:34 schaelic Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
// GEANT4 Class file
|
||||
//
|
||||
//
|
||||
// File name: G4BremsstrahlungCrossSection
|
||||
// File name: G4PolarizedBremsstrahlungCrossSection
|
||||
//
|
||||
// Author: Andreas Schaelicke on the base of Karim Laihems code
|
||||
//
|
||||
@@ -39,8 +39,8 @@
|
||||
//
|
||||
|
||||
#include "G4PolarizedBremsstrahlungCrossSection.hh"
|
||||
#include "G4ePolarizedBremsstrahlungModel.hh"
|
||||
#include "G4Element.hh"
|
||||
//#include "G4ePolarizedBremsstrahlungModel.hh"
|
||||
//#include "G4Element.hh"
|
||||
|
||||
G4bool G4PolarizedBremsstrahlungCrossSection::scrnInitialized=false;
|
||||
G4double G4PolarizedBremsstrahlungCrossSection::SCRN [3][20];
|
||||
@@ -74,9 +74,7 @@ void G4PolarizedBremsstrahlungCrossSection::InitializeMe()
|
||||
}
|
||||
}
|
||||
|
||||
G4PolarizedBremsstrahlungCrossSection::G4PolarizedBremsstrahlungCrossSection(
|
||||
G4ePolarizedBremsstrahlungModel * model)
|
||||
: theModel(model)
|
||||
G4PolarizedBremsstrahlungCrossSection::G4PolarizedBremsstrahlungCrossSection()
|
||||
{
|
||||
InitializeMe();
|
||||
}
|
||||
@@ -106,13 +104,8 @@ void G4PolarizedBremsstrahlungCrossSection::Initialize(
|
||||
G4double GammaE = aGammaE/m0_c2, GammaE2 = GammaE * GammaE ;
|
||||
G4double Lept1E = aLept1E/m0_c2+1., Lept1E2 = Lept1E * Lept1E ;
|
||||
|
||||
if (theModel==0) {
|
||||
G4cout<<" theSelectedElement is not available!!"<<G4endl;
|
||||
theFinalLeptonPolarization=G4StokesVector();
|
||||
theFinalGammaPolarization=G4StokesVector();
|
||||
}
|
||||
|
||||
const G4Element* theSelectedElement = theModel->SelectedAtom();
|
||||
// const G4Element* theSelectedElement = theModel->SelectedAtom();
|
||||
|
||||
// ******* Gamma Transvers Momentum
|
||||
|
||||
@@ -120,9 +113,9 @@ void G4PolarizedBremsstrahlungCrossSection::Initialize(
|
||||
G4double u = TMom , u2 =u * u ;
|
||||
G4double Xsi = 1./(1.+u2) , Xsi2 = Xsi * Xsi ;
|
||||
|
||||
G4double theZ = theSelectedElement->GetZ();
|
||||
// G4double theZ = theSelectedElement->GetZ();
|
||||
|
||||
G4double fCoul = theSelectedElement->GetfCoulomb();
|
||||
// G4double fCoul = theSelectedElement->GetfCoulomb();
|
||||
G4double delta = 12. * std::pow(theZ, 1./3.) *
|
||||
Lept0E * Lept1E * Xsi / (121. * GammaE);
|
||||
G4double GG=0.;
|
||||
|
||||
Reference in New Issue
Block a user