Import Geant4 8.3.0 source tree
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4UrbanMscModel.hh,v 1.15 2006/11/20 06:57:57 urban Exp $
|
||||
// GEANT4 tag $Name: geant4-08-02 $
|
||||
// $Id: G4UrbanMscModel.hh,v 1.23.2.1 2007/05/02 14:59:43 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-08-03 $
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
@@ -71,6 +71,9 @@
|
||||
// function ComputeTheta0,
|
||||
// single scattering modified allowing not small
|
||||
// angles as well (L.Urban)
|
||||
// 31-01-07 code cleaning (L.Urban)
|
||||
// 06-02-07 Move SetMscStepLimitation method into the source (VI)
|
||||
// 15-02-07 new data member : smallstep (L.Urban)
|
||||
//
|
||||
//
|
||||
// Class Description:
|
||||
@@ -140,6 +143,8 @@ public:
|
||||
|
||||
void SetMscStepLimitation(G4bool, G4double);
|
||||
|
||||
void SetSkin(G4double);
|
||||
|
||||
private:
|
||||
|
||||
G4double SampleCosineTheta(G4double trueStepLength, G4double KineticEnergy);
|
||||
@@ -176,7 +181,6 @@ private:
|
||||
G4double dtrl;
|
||||
|
||||
G4double lambdalimit;
|
||||
G4double llimit;
|
||||
G4double facrange;
|
||||
G4double frscaling1,frscaling2;
|
||||
G4double tlimit;
|
||||
@@ -184,12 +188,11 @@ private:
|
||||
G4double tlimitminfix;
|
||||
G4double tnow;
|
||||
G4double nstepmax;
|
||||
G4double tgeom;
|
||||
G4double geombig;
|
||||
G4double geommin;
|
||||
G4double geomlimit;
|
||||
G4double facgeom;
|
||||
G4double skin,skindepth,skindepth1;
|
||||
G4double skin,skindepth,smallstep;
|
||||
G4double presafety;
|
||||
G4double facsafety;
|
||||
|
||||
@@ -197,7 +200,6 @@ private:
|
||||
G4double lambdaeff;
|
||||
G4double tPathLength;
|
||||
G4double zPathLength;
|
||||
G4double geomLength;
|
||||
G4double par1,par2,par3 ;
|
||||
|
||||
G4double stepmin ;
|
||||
@@ -216,6 +218,8 @@ private:
|
||||
G4bool isInitialized;
|
||||
|
||||
G4bool inside;
|
||||
G4bool insideskin;
|
||||
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -230,10 +234,9 @@ void G4UrbanMscModel::SetLateralDisplasmentFlag(G4bool val)
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
inline
|
||||
void G4UrbanMscModel::SetMscStepLimitation(G4bool alg, G4double factor)
|
||||
{
|
||||
steppingAlgorithm = alg;
|
||||
facrange = factor;
|
||||
void G4UrbanMscModel::SetSkin(G4double val)
|
||||
{
|
||||
skin = val;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -262,7 +265,6 @@ void G4UrbanMscModel::SetParticle(const G4ParticleDefinition* p)
|
||||
particle = p;
|
||||
mass = p->GetPDGMass();
|
||||
charge = p->GetPDGCharge()/eplus;
|
||||
llimit = lambdalimit;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user