Import Geant4 3.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:10:37 +02:00
parent 137e303ecc
commit 36c080dca6
3464 changed files with 119310 additions and 52696 deletions
+19 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.8 2001/03/19 12:13:38 japost Exp $
$Id: History,v 1.11 2001/06/01 13:38:41 japost Exp $
-------------------------------------------------------------------
=========================================================
@@ -16,6 +16,24 @@ committal in the CVS repository !
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
Apr 11, 2001 J. Apostolakis transport-V03-01-02
------------------------------
Corrected the last update of G4Transportation.cc, which overwrote the
value of the spin in the cases where a particle was not charged (eg photon) or
a charged particle was not in a field.
Apr 11, 2001 P. Gumplinger transport-V03-01-01
-----------------------------
Updated G4Transportation.cc to make spin tracking work correctly:
- Replaced the line originally commented out:
// fTransportEndPolarization= aFieldTrack.GetSpin() ; // Not yet possible
with:
fTransportEndSpin = aFieldTrack.GetSpin();
- Added to the AlongStepDoIt() the following call:
fParticleChange.SetPolarizationChange(fTransportEndSpin);
Mar 19, 2001 J. Apostolakis transport-V03-00-01
------------------------------
G4Transportation modified to use new FieldTrack, and get Kinetic Energy from it.
@@ -1,19 +1,33 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * 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. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4Transportation.hh,v 1.2 1999/12/15 14:53:49 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4Transportation.hh,v 1.2.4.2 2001/06/28 20:20:14 gunter Exp $
// GEANT4 tag $Name: $
//
//
// ------------------------------------------------------------
// GEANT 4 include file implementation
//
// For information related to this code contact:
// CERN, IT Division (formely CN), ASD group
// ------------------------------------------------------------
//
// This class' object is a process responsible for the transportation of
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * 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. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4Transportation.icc,v 1.2 1999/12/15 14:53:50 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4Transportation.icc,v 1.2.4.1 2001/06/28 19:15:17 gunter Exp $
// GEANT4 tag $Name: $
//
//
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * 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. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4UserSpecialCuts.hh,v 1.3 1999/12/15 14:53:50 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4UserSpecialCuts.hh,v 1.3.4.1 2001/06/28 19:15:17 gunter Exp $
// GEANT4 tag $Name: $
// ------------------------------------------------------------
// 15 April 1998 M.Maire
// ------------------------------------------------------------
@@ -1,18 +1,32 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * 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. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4Transportation.cc,v 1.14 2001/02/20 14:41:35 japost Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4Transportation.cc,v 1.16.2.2 2001/06/28 20:20:14 gunter Exp $
// GEANT4 tag $Name: $
//
// ------------------------------------------------------------
// GEANT 4 include file implementation
//
// For information related to this code contact:
// CERN, IT Division
// ------------------------------------------------------------
//
// This class is a process responsible for the transportation of
@@ -22,7 +36,8 @@
// It is also tasked with part of updating the "safety".
//
// =======================================================================
// Modified:
// Modified:
// 11 Aprl 2001, P. Gumplinger: correction for spin tracking
// 20 Febr 2001, J. Apostolakis: update for new FieldTrack
// 22 Sept 2000, V. Grichine: update of Kinetic Energy
// 9 June 1999, J. Apostolakis & S.Giani: protect full relocation
@@ -207,10 +222,11 @@ AlongStepGetPhysicalInteractionLength( const G4Track& track,
fTransportEndPosition = startPosition + geometryStepLength*startMomentumDir ;
// Momentum (& its direction) is unchanged
// Momentum direction, energy and polarisation are unchanged by transport
fTransportEndMomentumDir = startMomentumDir ;
fTransportEndKineticEnergy = track.GetKineticEnergy() ;
fTransportEndSpin = track.GetPolarization();
fParticleIsLooping = false ;
fMomentumChanged = false ;
}
@@ -289,7 +305,8 @@ AlongStepGetPhysicalInteractionLength( const G4Track& track,
fTransportEndKineticEnergy = aFieldTrack.GetKineticEnergy() ;
// fTransportEndKineticEnergy = track.GetKineticEnergy() ;
// fTransportEndPolarization= aFieldTrack.GetSpin() ; // Not yet possible
fTransportEndSpin = aFieldTrack.GetSpin();
fParticleIsLooping = fFieldPropagator->IsParticleLooping() ;
endpointDistance = (fTransportEndPosition - startPosition).mag() ;
@@ -353,6 +370,8 @@ G4VParticleChange* G4Transportation::AlongStepDoIt( const G4Track& track,
fParticleChange.SetEnergyChange(fTransportEndKineticEnergy) ;
fParticleChange.SetMomentumChanged(fMomentumChanged) ;
fParticleChange.SetPolarizationChange(fTransportEndSpin);
G4double deltaTime = 0.0 ;
#if HARMONIC_MEAN_VELOCITY
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * 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. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4UserSpecialCuts.cc,v 1.3 1999/12/15 14:53:51 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4UserSpecialCuts.cc,v 1.3.6.1 2001/06/28 19:15:17 gunter Exp $
// GEANT4 tag $Name: $
//
// --------------------------------------------------------------
// History