Import Geant4 4.1.0 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$Id: History,v 1.26 2001/11/12 11:08:20 maire Exp $
|
||||
$Id: History,v 1.30 2002/05/29 16:30:32 maire Exp $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -17,6 +17,15 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
29 may 02: mma (muons-V04-00-02)
|
||||
- V.Ivanchenko G4VMuEnergyLoss - bug fixed in N of subcutoff delta
|
||||
|
||||
27 feb 02: mma (muons-V04-00-01)
|
||||
- V.Ivanchenko G4VMuEnergyLoss - PostStep->PreStep for touchebleHandler
|
||||
|
||||
10 fev 02: mma (muons-V04-00-00)
|
||||
- G4VMuEnergyLoss : error in SetMindeltaCutInRange, was set in energy !
|
||||
|
||||
12 nov 01: mma (muons-V03-02-10)
|
||||
- ParticleMass and Charge: local variables
|
||||
- merge 09 + 06a
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4MuBremsstrahlung.hh,v 1.12 2001/10/29 13:53:18 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//--------------- G4MuBremsstrahlung physics process ------------------
|
||||
// by Laszlo Urban, September 1997
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4MuBremsstrahlung.icc,v 1.8 2001/10/24 16:36:40 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//--------------- G4MuBremsstrahlung physics process ------------------
|
||||
// by Laszlo Urban, September 1997
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4MuIonisation.hh,v 1.13 2001/10/29 13:53:18 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
// --------------- G4MuIonisation physics process ------------------------------
|
||||
// by Laszlo Urban, September 1997
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4MuIonisation.icc,v 1.4 2001/08/29 16:38:05 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
// GEANT 4 class inlined methods file
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4MuPairProduction.hh,v 1.12 2001/10/29 13:53:18 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//--------------- G4MuPairProduction physics process ------------------
|
||||
// by Laszlo Urban, May 1998
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4MuPairProduction.icc,v 1.8 2001/10/24 16:36:40 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//--------------- G4MuPairProduction physics process ------------------
|
||||
// by Laszlo Urban, May 1998
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VMuEnergyLoss.hh,v 1.7 2001/10/29 13:53:18 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4VMuEnergyLoss.icc,v 1.3 2001/09/28 15:44:20 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// ---------------------------------------------------------------
|
||||
// GEANT 4 class inlined methods file
|
||||
//
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4MuBremsstrahlung.cc,v 1.22 2001/11/09 13:52:31 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//
|
||||
//--------------- G4MuBremsstrahlung physics process ---------------------------
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4MuIonisation.cc,v 1.24 2001/11/09 13:52:32 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
// --------------- G4MuIonisation physics process ------------------------------
|
||||
// by Laszlo Urban, September 1997
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4MuPairProduction.cc,v 1.26 2001/11/09 13:52:32 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
//
|
||||
//--------------- G4MuPairProduction physics process ---------------------------
|
||||
// by Laszlo Urban, May 1998
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VMuEnergyLoss.cc,v 1.19 2001/11/08 15:31:06 radoone Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
// $Id: G4VMuEnergyLoss.cc,v 1.22 2002/05/29 12:26:29 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// --------------------------------------------------------------
|
||||
// GEANT 4 class implementation file
|
||||
//
|
||||
@@ -46,6 +46,9 @@
|
||||
// 28-09-01 suppression of theMuonPlus ..etc..data members (mma)
|
||||
// 29-10-01 all static functions no more inlined (mma)
|
||||
// 08-11-01 some small cosmetics , L.Urban
|
||||
// 06-02-02 bug fixed at subcutoff definition, L.Urban
|
||||
// 26-02-02 bug fixed in TouchebleHandle definition, V.Ivanchenko
|
||||
// 29-05-02 bug fixed in N of subcutoff delta, V.Ivanchenko
|
||||
// --------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -344,15 +347,6 @@ void G4VMuEnergyLoss::BuildDEDXTable(
|
||||
LowerBoundEloss, UpperBoundEloss, 1.,NbinEloss);
|
||||
|
||||
|
||||
// create array for the min. delta cuts in kinetic energy
|
||||
if(!setMinDeltaCutInRange) {
|
||||
MinDeltaCutInRange = (G4Electron::Electron()->GetLengthCuts())[0];
|
||||
for (size_t idxMate=1; idxMate<G4Material::GetNumberOfMaterials(); idxMate++){
|
||||
if(MinDeltaCutInRange > (G4Electron::Electron()->GetLengthCuts())[idxMate])
|
||||
MinDeltaCutInRange = (G4Electron::Electron()->GetLengthCuts())[idxMate];
|
||||
}
|
||||
MinDeltaCutInRange *= 0.01;
|
||||
}
|
||||
// if((subSecFlag) && (aParticleType.GetParticleName()=="mu+"))
|
||||
// {
|
||||
// G4cout << G4endl;
|
||||
@@ -373,6 +367,10 @@ void G4VMuEnergyLoss::BuildDEDXTable(
|
||||
{
|
||||
LowerLimitForced[mat] = false ;
|
||||
|
||||
// create array for the min. delta cuts in kinetic energy
|
||||
if(!setMinDeltaCutInRange)
|
||||
MinDeltaCutInRange = (G4Electron::Electron()->GetLengthCuts())[mat]/10.;
|
||||
|
||||
MinDeltaEnergy[mat] = G4EnergyLossTables::GetPreciseEnergyFromRange(
|
||||
G4Electron::Electron(),MinDeltaCutInRange,
|
||||
(*theMaterialTable)[mat]) ;
|
||||
@@ -628,7 +626,7 @@ G4VParticleChange* G4VMuEnergyLoss::AlongStepDoIt(
|
||||
G4double deldedx=cN*aMaterial->GetDensity()*
|
||||
((E+mass)*(E+mass)*log(Tc/T0)/(E*(E+mass))) ;
|
||||
G4double delToverTc=1.-T0/Tc ;
|
||||
G4double N = G4int(deldedx*fragment*delToverTc/(T0*log(Tc/T0))+0.5) ;
|
||||
G4int N = G4int(deldedx*fragment*delToverTc/(T0*log(Tc/T0))+0.5) ;
|
||||
if(N > Ndeltamax) N = Ndeltamax ;
|
||||
|
||||
G4double Px,Py,Pz ;
|
||||
@@ -715,7 +713,7 @@ G4VParticleChange* G4VMuEnergyLoss::AlongStepDoIt(
|
||||
G4Track* deltaTrack =
|
||||
new G4Track(theDelta,DeltaTime,DeltaPosition);
|
||||
deltaTrack->
|
||||
SetTouchableHandle(stepData.GetPostStepPoint()->GetTouchableHandle()) ;
|
||||
SetTouchableHandle(stepData.GetPreStepPoint()->GetTouchableHandle()) ;
|
||||
|
||||
deltaTrack->SetParentID(trackData.GetTrackID()) ;
|
||||
aParticleChange.AddSecondary(deltaTrack) ;
|
||||
|
||||
Reference in New Issue
Block a user