Changeset 850 for trunk/source/global


Ignore:
Timestamp:
Sep 10, 2008, 5:40:37 PM (16 years ago)
Author:
garnier
Message:

geant4.8.2 beta

Location:
trunk/source/global
Files:
117 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/global/HEPGeometry/include/G4LorentzRotation.hh

    r833 r850  
    2626//
    2727// $Id: G4LorentzRotation.hh,v 1.5 2006/06/29 18:59:04 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#ifndef G4LorentzRotation_hh
  • trunk/source/global/HEPGeometry/include/G4LorentzVector.hh

    r833 r850  
    2626//
    2727// $Id: G4LorentzVector.hh,v 1.5 2006/06/29 18:59:06 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#ifndef G4LorentzVector_hh
  • trunk/source/global/HEPGeometry/include/G4Normal3D.hh

    r833 r850  
    2626//
    2727// $Id: G4Normal3D.hh,v 1.5 2006/06/29 18:59:09 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#ifndef G4NORMAL3D_HH
  • trunk/source/global/HEPGeometry/include/G4Plane3D.hh

    r833 r850  
    2626//
    2727// $Id: G4Plane3D.hh,v 1.5 2006/06/29 18:59:11 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#ifndef G4PLANE3D_HH
  • trunk/source/global/HEPGeometry/include/G4Point3D.hh

    r833 r850  
    2626//
    2727// $Id: G4Point3D.hh,v 1.5 2006/06/29 18:59:14 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#ifndef G4POINT3D_HH
  • trunk/source/global/HEPGeometry/include/G4Transform3D.hh

    r833 r850  
    2626//
    2727// $Id: G4Transform3D.hh,v 1.5 2006/06/29 18:59:16 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#ifndef G4TRANSFORM3D_HH
  • trunk/source/global/HEPGeometry/include/G4Vector3D.hh

    r833 r850  
    2626//
    2727// $Id: G4Vector3D.hh,v 1.5 2006/06/29 18:59:18 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#ifndef G4VECTOR3D_HH
  • trunk/source/global/HEPGeometry/include/geomdefs.hh

    r833 r850  
    2626//
    2727// $Id: geomdefs.hh,v 1.8 2007/05/18 07:21:39 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/HEPNumerics/include/G4AnalyticalPolSolver.hh

    r833 r850  
    2626//
    2727// $Id: G4AnalyticalPolSolver.hh,v 1.5 2006/06/29 18:59:23 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class description:
  • trunk/source/global/HEPNumerics/include/G4ChebyshevApproximation.hh

    r833 r850  
    2626//
    2727// $Id: G4ChebyshevApproximation.hh,v 1.6 2006/06/29 18:59:26 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class description:
  • trunk/source/global/HEPNumerics/include/G4DataInterpolation.hh

    r833 r850  
    2626//
    2727// $Id: G4DataInterpolation.hh,v 1.5 2006/06/29 18:59:29 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class description:
  • trunk/source/global/HEPNumerics/include/G4GaussChebyshevQ.hh

    r833 r850  
    2626//
    2727// $Id: G4GaussChebyshevQ.hh,v 1.5 2006/06/29 18:59:32 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class description:
  • trunk/source/global/HEPNumerics/include/G4GaussHermiteQ.hh

    r833 r850  
    2626//
    2727// $Id: G4GaussHermiteQ.hh,v 1.6 2006/06/29 18:59:35 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class description:
  • trunk/source/global/HEPNumerics/include/G4GaussJacobiQ.hh

    r833 r850  
    2626//
    2727// $Id: G4GaussJacobiQ.hh,v 1.5 2006/06/29 18:59:38 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class description:
  • trunk/source/global/HEPNumerics/include/G4GaussLaguerreQ.hh

    r833 r850  
    2626//
    2727// $Id: G4GaussLaguerreQ.hh,v 1.6 2006/06/29 18:59:40 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class description:
  • trunk/source/global/HEPNumerics/include/G4GaussLegendreQ.hh

    r833 r850  
    2626//
    2727// $Id: G4GaussLegendreQ.hh,v 1.6 2006/06/29 18:59:42 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class description:
  • trunk/source/global/HEPNumerics/include/G4Integrator.hh

    r833 r850  
    2626//
    2727// $Id: G4Integrator.hh,v 1.7 2006/06/29 18:59:45 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class description:
  • trunk/source/global/HEPNumerics/include/G4Integrator.icc

    r833 r850  
    2626//
    2727// $Id: G4Integrator.icc,v 1.13 2006/06/29 18:59:47 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Implementation of G4Integrator methods.
  • trunk/source/global/HEPNumerics/include/G4JTPolynomialSolver.hh

    r833 r850  
    2626//
    2727// $Id: G4JTPolynomialSolver.hh,v 1.6 2006/06/29 18:59:49 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class description:
  • trunk/source/global/HEPNumerics/include/G4PolynomialSolver.hh

    r833 r850  
    2626//
    2727// $Id: G4PolynomialSolver.hh,v 1.4 2006/06/29 18:59:52 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// class G4PolynomialSolver
  • trunk/source/global/HEPNumerics/include/G4PolynomialSolver.icc

    r833 r850  
    2626//
    2727// $Id: G4PolynomialSolver.icc,v 1.8 2006/06/29 18:59:54 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// class G4PolynomialSolver
  • trunk/source/global/HEPNumerics/include/G4SimpleIntegration.hh

    r833 r850  
    2626//
    2727// $Id: G4SimpleIntegration.hh,v 1.6 2006/06/29 18:59:56 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class description:
  • trunk/source/global/HEPNumerics/include/G4SimplexDownhill.hh

    r833 r850  
    2626//
    2727// $Id: G4SimplexDownhill.hh,v 1.3 2007/06/21 15:04:12 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class description:
  • trunk/source/global/HEPNumerics/include/G4SimplexDownhill.icc

    r833 r850  
    2626//
    2727// $Id: G4SimplexDownhill.icc,v 1.2 2007/05/11 13:05:53 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Author: Tatsumi Koi (SLAC/SCCS), 2007
  • trunk/source/global/HEPNumerics/include/G4VGaussianQuadrature.hh

    r833 r850  
    2626//
    2727// $Id: G4VGaussianQuadrature.hh,v 1.7 2006/06/29 18:59:58 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class description:
  • trunk/source/global/HEPNumerics/src/G4AnalyticalPolSolver.cc

    r833 r850  
    2626//
    2727// $Id: G4AnalyticalPolSolver.cc,v 1.7 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030
  • trunk/source/global/HEPNumerics/src/G4ChebyshevApproximation.cc

    r833 r850  
    2626//
    2727// $Id: G4ChebyshevApproximation.cc,v 1.7 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030
  • trunk/source/global/HEPNumerics/src/G4DataInterpolation.cc

    r833 r850  
    2525//
    2626//
    27 // $Id: G4DataInterpolation.cc,v 1.9.2.1 2008/04/23 09:22:49 gcosmo Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     27// $Id: G4DataInterpolation.cc,v 1.10 2008/03/13 09:35:56 gcosmo Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#include "G4DataInterpolation.hh"
  • trunk/source/global/HEPNumerics/src/G4GaussChebyshevQ.cc

    r833 r850  
    2626//
    2727// $Id: G4GaussChebyshevQ.cc,v 1.6 2006/06/29 19:00:07 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#include "G4GaussChebyshevQ.hh"
  • trunk/source/global/HEPNumerics/src/G4GaussHermiteQ.cc

    r833 r850  
    2626//
    2727// $Id: G4GaussHermiteQ.cc,v 1.8 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#include "G4GaussHermiteQ.hh"
  • trunk/source/global/HEPNumerics/src/G4GaussJacobiQ.cc

    r833 r850  
    2626//
    2727// $Id: G4GaussJacobiQ.cc,v 1.8 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#include "G4GaussJacobiQ.hh"
  • trunk/source/global/HEPNumerics/src/G4GaussLaguerreQ.cc

    r833 r850  
    2626//
    2727// $Id: G4GaussLaguerreQ.cc,v 1.8 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#include "G4GaussLaguerreQ.hh"
  • trunk/source/global/HEPNumerics/src/G4GaussLegendreQ.cc

    r833 r850  
    2626//
    2727// $Id: G4GaussLegendreQ.cc,v 1.8 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#include "G4GaussLegendreQ.hh"
  • trunk/source/global/HEPNumerics/src/G4JTPolynomialSolver.cc

    r833 r850  
    2424// ********************************************************************
    2525//
    26 // $Id: G4JTPolynomialSolver.cc,v 1.6.2.1 2008/04/23 09:22:49 gcosmo Exp $
    27 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     26// $Id: G4JTPolynomialSolver.cc,v 1.7 2008/03/13 09:35:57 gcosmo Exp $
     27// GEANT4 tag $Name: HEAD $
    2828//
    2929// --------------------------------------------------------------------
  • trunk/source/global/HEPNumerics/src/G4SimpleIntegration.cc

    r833 r850  
    2626//
    2727// $Id: G4SimpleIntegration.cc,v 1.7 2006/06/29 19:00:21 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Implementation file for simple integration methods
  • trunk/source/global/HEPNumerics/src/G4VGaussianQuadrature.cc

    r833 r850  
    2626//
    2727// $Id: G4VGaussianQuadrature.cc,v 1.7 2006/06/29 19:00:23 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Implementation file for G4VGaussianQuadrature virtual base class
  • trunk/source/global/HEPRandom/include/G4Poisson.hh

    r833 r850  
    2626//
    2727// $Id: G4Poisson.hh,v 1.9 2006/06/29 19:00:44 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/HEPRandom/include/G4RandomDirection.hh

    r833 r850  
    2525//
    2626//
    27 // $Id: G4RandomDirection.hh,v 1.3 2006/06/29 19:00:47 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     27// $Id: G4RandomDirection.hh,v 1.5 2008/03/19 17:00:20 gcosmo Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
     
    3434// Class description:
    3535//
    36 // Funtion returning a unit 3-vector homogeneously randomised over 4pi
     36// Function returning a unit 3-vector homogeneously randomised over 4pi
    3737// solid angle. It can be used in any particle scattering methods
    3838// instead of:
    3939//   z=R1, x=SQRT(1-R1*R1)*SIN(2*pi*R2), y=SQRT(1-R1*R1)*COS(2*pi*R2)
    4040// providing more performant results.
     41
     42// History:
     43//    18.03.08 V. Grichine, unit radius sphere surface based algorithm
     44//      ~ 2007 M. Kossov, algorithm based on 8 Quadrants technique
     45//
    4146// ------------------------------------------------------------
    4247#ifndef G4RANDOMDIR_HH
     
    4954inline G4ThreeVector G4RandomDirection()
    5055{
    51   // Randomization in one of 8 Quadrants (x>0, y>0, z>0)
    52   //
    53   G4double x=G4UniformRand(), y=G4UniformRand(), z=G4UniformRand();
    54   G4double r2= x*x+y*y+z*z;
    55   while(r2>1.||r2<.000001)
    56   {
    57     x = G4UniformRand(); y = G4UniformRand(); z = G4UniformRand();
    58     r2=x*x+y*y+z*z;
    59   }
    60   G4double r=std::sqrt(r2), quad=G4UniformRand();
    61 
    62   if(quad>0.5)
    63   {
    64     if(quad>0.75)
    65     {
    66       if(quad>0.875)    return G4ThreeVector(-x/r,-y/r,-z/r);
    67       else              return G4ThreeVector(-x/r,-y/r, z/r);
    68     }
    69     else
    70     {
    71       if(quad>0.625)    return G4ThreeVector(-x/r, y/r,-z/r);
    72       else              return G4ThreeVector(-x/r, y/r, z/r);
    73     }
    74   }
    75   else
    76   {
    77     if(quad>0.25)
    78     {
    79       if(quad>0.375)    return G4ThreeVector( x/r,-y/r,-z/r);
    80       else              return G4ThreeVector( x/r,-y/r, z/r);
    81     }
    82     else if(quad>0.125) return G4ThreeVector( x/r, y/r,-z/r);
    83   }
    84   return                       G4ThreeVector( x/r, y/r, z/r);
     56  G4double cosTheta  = 2.*G4UniformRand()-1.;
     57  G4double sinTheta2 = 1. - cosTheta*cosTheta;
     58  if( sinTheta2 < 0.)  sinTheta2 = 0.;
     59  G4double sinTheta  = std::sqrt(sinTheta2);
     60  G4double phi       = twopi*G4UniformRand();
     61  return G4ThreeVector(sinTheta*std::cos(phi),
     62                       sinTheta*std::sin(phi), cosTheta).unit();
    8563}
    8664
  • trunk/source/global/HEPRandom/include/Randomize.hh

    r833 r850  
    2626//
    2727// $Id: Randomize.hh,v 1.7 2006/06/29 19:00:50 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030#ifndef randomize_h
  • trunk/source/global/History

    r833 r850  
    1 $Id: History,v 1.190.2.1 2008/04/23 09:22:48 gcosmo Exp $
     1$Id: History,v 1.206 2008/09/03 07:21:32 gcosmo Exp $
    22-------------------------------------------------------------------
    33
     
    1818     ----------------------------------------------------------
    1919
    20 Apr 23, 2008  G.Cosmo (global-V09-00-03)
     20Aug 15, 2008  G.Cosmo (global-V09-01-12)
     21- Restored original implementation of G4SwapPtr() but using reference of
     22  pointers as arguments, allowing for unambiguous use from client code.
     23
     24Aug 14, 2008  P.Gumplinger (global-V09-01-10)
     25- Corrected G4SwapPtr() function in templates.hh (see also problem
     26  report #1020).
     27
     28Jun 26, 2008  G.Cosmo (global-V09-01-09)
     29- Corrected version number tag.
     30
     31Jun 23, 2008  G.Cosmo (global-V09-01-08)
     32- Changed date for release 9.2-beta.
     33
     34May 06, 2008  M.Maire (global-V09-01-07)
     35- G4UnitsTable: added units for electric-field, V/m.
     36
     37Apr 23, 2008  G.Cosmo (global-V09-01-06)
    2138- Changed date for release 9.1.p02.
    22 - Tag for release 9.1.p02.
     39
     40Apr 21, 2008  V.Ivantchenko (global-V09-01-05)
     41- Corrected deletion of temporary in G4PhysicsVector::FillSecondDerivatives().
     42
     43Apr 07, 2008  A.Bagulya, V.Ivantchenko (global-V09-01-04)
     44- G4PhysicsVector:
     45  o Introduced cubic spline interpolation, optionally selectable.
     46  o Optimised implementation of GetValue() method.
     47- G4LPhysicsFreeVector: corrected use of GetValue() to adopt implementation
     48  available from the base class.
     49
     50Mar 19, 2008  V.Grichine (global-V09-01-03)
     51- Modified G4RandomDirection global function to use unit radius sphere surface
     52  algorithm instead of 8-quadrants technique, giving 30% performance boost.
    2353
    2454Mar 13, 2008  G.Cosmo (global-V09-01-02)
  • trunk/source/global/management/include/G4Allocator.hh

    r833 r850  
    2626//
    2727// $Id: G4Allocator.hh,v 1.18 2006/06/29 19:01:16 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4AllocatorPool.hh

    r833 r850  
    2626//
    2727// $Id: G4AllocatorPool.hh,v 1.5 2006/06/29 19:01:18 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4ApplicationState.hh

    r833 r850  
    2626//
    2727// $Id: G4ApplicationState.hh,v 1.4 2006/06/29 19:01:20 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030
  • trunk/source/global/management/include/G4DataVector.hh

    r833 r850  
    2626//
    2727// $Id: G4DataVector.hh,v 1.15 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4DataVector.icc

    r833 r850  
    2626//
    2727// $Id: G4DataVector.icc,v 1.2 2006/06/29 19:01:24 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4ErrorPropagatorData.hh

    r833 r850  
    2626//
    2727// $Id: G4ErrorPropagatorData.hh,v 1.3 2007/06/08 10:33:47 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4ErrorPropagatorData.icc

    r833 r850  
    2626//
    2727// $Id: G4ErrorPropagatorData.icc,v 1.4 2007/06/08 10:33:47 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4ExceptionSeverity.hh

    r833 r850  
    2626//
    2727// $Id: G4ExceptionSeverity.hh,v 1.3 2006/06/29 19:01:27 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Class Description:
  • trunk/source/global/management/include/G4FPEDetection.hh

    r833 r850  
    2626//
    2727// $Id: G4FPEDetection.hh,v 1.2 2006/11/15 16:00:18 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4FastVector.hh

    r833 r850  
    2626//
    2727// $Id: G4FastVector.hh,v 1.5 2006/06/29 19:01:48 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4GeometryTolerance.hh

    r833 r850  
    2626//
    2727// $Id: G4GeometryTolerance.hh,v 1.2 2007/06/18 13:26:40 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// --------------------------------------------------------------------
  • trunk/source/global/management/include/G4LPhysicsFreeVector.hh

    r833 r850  
    2525//
    2626//
    27 // $Id: G4LPhysicsFreeVector.hh,v 1.8 2006/06/29 19:01:51 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     27// $Id: G4LPhysicsFreeVector.hh,v 1.10 2008/04/07 14:18:57 gcosmo Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
     
    4242
    4343// F.W. Jones, TRIUMF, 04-JUN-96
    44 //
    45 // 10-JUL-96 FWJ: adapted to changes in G4PhysicsVector.
    46 //
    47 // 27-MAR-97 FWJ: first version for Alpha release
    48 // 20-JUN-97 FWJ: added comment re GetValue(): no longer virtual
    4944// 11-NOV-00 H.Kurashige: use STL vector for dataVector and binVector
    50 //
     45// 02-APR-08 A.Bagulya: use GetValue() from base class
     46// ------------------------------------------------------------------
    5147
    5248#ifndef G4LPhysicsFreeVector_h
     
    5854{
    5955
    60 public:
     56public: // with description
    6157
    6258   G4LPhysicsFreeVector();
    63 
    64 public: // with description
    6559
    6660   G4LPhysicsFreeVector(size_t nbin, G4double binmin, G4double binmax);
     
    7165     // G4PhysicsVector has PutValue() but it is inconvenient.
    7266     // Want to simultaneously fill the bin and data vectors.
    73 
    74    G4double GetValue(G4double theEnergy, G4bool& isOutRange);
    75      // Note that theEnergy could be energy, momentum, or whatever.
    7667
    7768   void SetVerboseLevel(G4int value);
  • trunk/source/global/management/include/G4LPhysicsFreeVector.icc

    r833 r850  
    2525//
    2626//
    27 // $Id: G4LPhysicsFreeVector.icc,v 1.7 2006/06/29 19:02:10 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     27// $Id: G4LPhysicsFreeVector.icc,v 1.11 2008/09/06 19:52:16 vnivanch Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
     
    4040//
    4141// F.W. Jones, TRIUMF, 04-JUN-96
     42// 05 Sep. 2008, V.Ivanchenko : added protections for zero-length vector
    4243// --------------------------------------------------------------------------
    43 
    44 // G4PhysicsVector has PutValue() but it is inconvenient.
    45 // Want to simultaneously fill the bin and data vectors.
    4644
    4745inline
    4846void G4LPhysicsFreeVector::PutValues(size_t binNumber,
    4947                                     G4double binValue, G4double dataValue)
     48  // G4PhysicsVector has PutValue() but it is inconvenient.
     49  // Want to simultaneously fill the bin and data vectors.
    5050{
    51    binVector[binNumber] = binValue;
    52    dataVector[binNumber] = dataValue;
     51  if(binNumber <= numberOfBin) {
     52    binVector[binNumber] = binValue;
     53    dataVector[binNumber]= dataValue;
     54    if(0 == binNumber) edgeMin = binValue;
     55    else if( numberOfBin - 1 == binNumber) edgeMax = binValue;
     56  }
    5357}
    54 
    55 // Note that theEnergy could be energy, momentum, or whatever.
    56 // Note: GetValue() is no longer virtual in the parent class
    57 // G4PhysicsVector, so at present the following function cannot
    58 // be called through a base class pointer.
    59 
    60 inline
    61 G4double G4LPhysicsFreeVector::GetValue(G4double theEnergy, G4bool& isOutRange)
    62 {
    63    G4double returnValue = 0.;
    64 
    65    //   verboseLevel = 2;
    66 
    67    if (theEnergy < edgeMin)
    68    {
    69       isOutRange = true;
    70 
    71 #ifdef G4VERBOSE
    72       if (verboseLevel > 1)
    73       {
    74          G4cout << "G4LPhysicsFreeVector::GetValue " << theEnergy
    75                 << " " << dataVector[0] << " " << isOutRange << G4endl;
    76       }
    77 #endif
    78       returnValue = dataVector[0];
    79    }
    80    else if (theEnergy > edgeMax)
    81    {
    82       isOutRange = true;
    83 
    84 #ifdef G4VERBOSE
    85       if (verboseLevel > 1)
    86       {
    87          G4cout << "G4LPhysicsFreeVector::GetValue " << theEnergy
    88                 << " " << dataVector[numberOfBin - 1]
    89                 << " " << isOutRange << G4endl;
    90       }
    91 #endif
    92       returnValue = dataVector[numberOfBin - 1];
    93    }
    94    else
    95    {
    96      isOutRange = false;
    97 
    98      G4int n = FindBinLocation(theEnergy);
    99 
    100      G4double dsde = (dataVector[n + 1] - dataVector[n])/
    101                      (binVector[n + 1] - binVector[n]);
    102 #ifdef G4VERBOSE
    103      if (verboseLevel > 1)
    104      {
    105         G4cout << "G4LPhysicsFreeVector::GetValue " << theEnergy
    106                << " " << dataVector[n] + (theEnergy - binVector[n])*dsde
    107                << " " << isOutRange << G4endl;
    108      }
    109 #endif
    110      returnValue = dataVector[n] + (theEnergy - binVector[n])*dsde;
    111    }
    112    return returnValue;
    113 }                                                                 
    11458
    11559inline
  • trunk/source/global/management/include/G4OrderedTable.hh

    r833 r850  
    2626//
    2727// $Id: G4OrderedTable.hh,v 1.14 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4PhysicsFreeVector.hh

    r833 r850  
    2626//
    2727// $Id: G4PhysicsFreeVector.hh,v 1.10 2006/06/29 19:02:18 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4PhysicsLinearVector.hh

    r833 r850  
    2626//
    2727// $Id: G4PhysicsLinearVector.hh,v 1.10 2006/06/29 19:02:21 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4PhysicsLnVector.hh

    r833 r850  
    2626//
    2727// $Id: G4PhysicsLnVector.hh,v 1.12 2006/06/29 19:02:23 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4PhysicsLogVector.hh

    r833 r850  
    2626//
    2727// $Id: G4PhysicsLogVector.hh,v 1.11 2006/06/29 19:02:25 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4PhysicsOrderedFreeVector.hh

    r833 r850  
    2626//
    2727// $Id: G4PhysicsOrderedFreeVector.hh,v 1.9 2006/06/29 19:02:28 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030////////////////////////////////////////////////////////////////////////
  • trunk/source/global/management/include/G4PhysicsOrderedFreeVector.icc

    r833 r850  
    2626//
    2727// $Id: G4PhysicsOrderedFreeVector.icc,v 1.8 2006/06/29 19:02:31 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030////////////////////////////////////////////////////////////////////////
  • trunk/source/global/management/include/G4PhysicsTable.hh

    r833 r850  
    2626//
    2727// $Id: G4PhysicsTable.hh,v 1.18 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4PhysicsTable.icc

    r833 r850  
    2626//
    2727// $Id: G4PhysicsTable.icc,v 1.8 2006/06/29 19:02:36 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4PhysicsVector.hh

    r833 r850  
    2525//
    2626//
    27 // $Id: G4PhysicsVector.hh,v 1.14 2006/06/29 19:02:38 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     27// $Id: G4PhysicsVector.hh,v 1.17 2008/04/07 14:18:57 gcosmo Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
     
    4848//    01 Jul. 1996, K.Amako : Now GetValue not virtual
    4949//    21 Sep. 1996, K.Amako : Added [] and () operators
    50 //    11 Nov. 2000, H.Kurashige : use STL vector for dataVector and binVector
    51 //    18 Jan. 2001, H.Kurashige : removed ptrNextTable
    52 //    09 Mar. 2001, H.Kurashige : added G4PhysicsVectorType & Store/Retrieve()
     50//    11 Nov. 2000, H.Kurashige : Use STL vector for dataVector and binVector
     51//    09 Mar. 2001, H.Kurashige : Added G4PhysicsVectorType & Store/Retrieve()
     52//    02 Apr. 2008, A.Bagulya : Added SplineInterpolation() and SetSpline()
    5353//
    5454//---------------------------------------------------------------
     
    6363#include <fstream>
    6464
    65 #include  "G4PhysicsVectorType.hh"
     65#include "G4PhysicsVectorType.hh"
    6666
    6767class G4PhysicsVector
     
    6969  public: 
    7070
    71     G4PhysicsVector();
     71    G4PhysicsVector(G4bool spline = false);
    7272         // constructor 
    7373         // This class is an abstract class with pure virtual method of
     
    129129    inline G4PhysicsVectorType GetType() const;
    130130         // Get physics vector type
     131 
     132    inline void SetSpline(G4bool);
     133         // Activate/deactivate Spline interpolation.
    131134
    132135    virtual G4bool Store(std::ofstream& fOut, G4bool ascii=false);
     
    137140
    138141  protected:
    139 
    140     inline G4double LinearInterpolation(G4double theEnergy, size_t theLocBin);
    141          // Linear interpolation function
    142142
    143143    virtual size_t FindBinLocation(G4double theEnergy) const=0;
     
    161161  private:
    162162
    163     G4String comment;
     163    inline G4double LinearInterpolation();
     164         // Linear interpolation function
     165    inline G4double SplineInterpolation();
     166         // Spline interpolation function
     167
     168    inline void Interpolation();
     169
     170    void FillSecondDerivatives();
     171      // Initialise second derivatives for spline
     172
     173    G4double*  secDerivative;
     174
     175    G4String   comment;
     176    G4bool     useSpline;
    164177};
    165178
  • trunk/source/global/management/include/G4PhysicsVector.icc

    r833 r850  
    2525//
    2626//
    27 // $Id: G4PhysicsVector.icc,v 1.9 2006/06/29 19:02:40 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     27// $Id: G4PhysicsVector.icc,v 1.14 2008/09/05 18:04:45 vnivanch Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
     
    4141//    energy scale, for example like 'log', 'linear', 'free', etc.
    4242//
    43 //---------------------------------------------------------------
    44 
     43// Modified:
     44// 05 Sep. 2008, V.Ivanchenko : added protections for zero-length vector
     45//---------------------------------------------------------------
    4546
    4647inline
     
    5051}
    5152
     53//---------------------------------------------------------------
    5254
    5355inline
     
    5759}
    5860
     61//---------------------------------------------------------------
    5962
    6063inline
     
    6467}
    6568
    66 
    67 
    68 inline
    69  G4double G4PhysicsVector::LinearInterpolation(G4double theEnergy,
    70                                                size_t theLocBin)
    71 {
    72 
     69//---------------------------------------------------------------
     70
     71inline
     72 G4double G4PhysicsVector::LinearInterpolation()
     73{
    7374  // Linear interpolation is used to get the value. If the give energy
    7475  // is in the highest bin, no interpolation will be Done. Because
     
    7778  // numberOfBin-1.
    7879
    79   G4double intplFactor = (theEnergy-binVector[theLocBin])
    80      / (binVector[theLocBin+1]-binVector[theLocBin]); // Interpolation factor
    81 
    82   return dataVector[theLocBin] +
    83          ( dataVector[theLocBin+1]-dataVector[theLocBin] ) * intplFactor;
    84 }
    85 
    86 
    87 inline
    88  G4double G4PhysicsVector::GetValue(G4double theEnergy,
    89                                     G4bool& isOutRange)
    90 {
    91 
     80  G4double intplFactor = (lastEnergy-binVector[lastBin])
     81     / (binVector[lastBin+1]-binVector[lastBin]); // Interpolation factor
     82
     83  return dataVector[lastBin] +
     84         ( dataVector[lastBin+1]-dataVector[lastBin] ) * intplFactor;
     85}
     86
     87//---------------------------------------------------------------
     88
     89inline
     90 G4double G4PhysicsVector::SplineInterpolation()
     91{
     92  // Spline interpolation is used to get the value. If the give energy
     93  // is in the highest bin, no interpolation will be Done. Because
     94  // there is an extra bin hidden from a user at locBin=numberOfBin,
     95  // the following interpolation is valid even the current locBin=
     96  // numberOfBin-1.
     97
     98  if( !secDerivative ) { FillSecondDerivatives(); }
     99
     100  // check bin value
     101  G4double delta = binVector[lastBin+1] - binVector[lastBin];
     102
     103  G4double a = (binVector[lastBin+1] - lastEnergy)/delta;
     104  G4double b = (lastEnergy - binVector[lastBin])/delta;
     105   
     106  // Final evaluation of cubic spline polynomial for return   
     107  G4double y1 = dataVector[lastBin];
     108  G4double y2 = dataVector[lastBin+1];
     109
     110  G4double res = a*y1 + b*y2 +
     111        ((a*a*a - a)*secDerivative[lastBin] +
     112         (b*b*b - b)*secDerivative[lastBin+1])*delta*delta/6.0  ;
     113
     114  return res;
     115}
     116
     117//---------------------------------------------------------------
     118
     119inline
     120 G4double G4PhysicsVector::GetValue(G4double theEnergy, G4bool&)
     121{
    92122  // Use cache for speed up - check if the value 'theEnergy' is same as the
    93123  // last call. If it is same, then use the last bin location. Also the
     
    95125  // bin of last call, then the last bin location is used.
    96126
    97   isOutRange = false;                // No range check.
    98 
    99   size_t locBin = 0;
    100 
    101   if( !(theEnergy != lastEnergy) ) {
    102      return lastValue;       
    103 
    104   } else if( (theEnergy <  lastEnergy)
    105           && (theEnergy >= binVector[lastBin]) ) {
    106      locBin = lastBin;
    107 
    108      lastEnergy = theEnergy;
    109      lastValue = LinearInterpolation(theEnergy, locBin);
    110      return lastValue;
    111 
    112   } else if( theEnergy < edgeMin ){
     127  if( theEnergy == lastEnergy ) {
     128
     129  } else if( theEnergy <= edgeMin ) {
    113130     lastBin = 0;
    114131     lastEnergy = theEnergy;
    115      lastValue = dataVector[0];
    116      return lastValue;
     132     lastValue  = dataVector[0];
     133
     134  } else if(theEnergy < lastEnergy && theEnergy >= binVector[lastBin]) {
     135     lastEnergy = theEnergy;
     136     Interpolation();
     137
     138  } else if(theEnergy < lastEnergy && theEnergy >= binVector[lastBin-1]) {
     139     lastBin--;
     140     lastEnergy = theEnergy;
     141     Interpolation();
    117142
    118143  } else if( theEnergy >= edgeMax ){
    119144     lastBin = numberOfBin-1;
    120      lastEnergy = theEnergy;
    121      lastValue = dataVector[ numberOfBin-1 ];
    122      return lastValue;
    123 
    124   }  else {
    125      locBin = FindBinLocation(theEnergy);
    126 
    127      lastBin = locBin;
    128      lastEnergy = theEnergy;
    129      lastValue = LinearInterpolation(theEnergy, locBin);
    130      return lastValue;
     145     lastEnergy = edgeMax;
     146     lastValue  = dataVector[lastBin];
     147
     148  } else {
     149     lastBin = FindBinLocation(theEnergy);
     150     lastEnergy = theEnergy;
     151     Interpolation();
    131152  }
    132 
    133 }
     153  return lastValue;       
     154}
     155
     156//---------------------------------------------------------------
     157
     158inline
     159 void G4PhysicsVector::Interpolation()
     160{
     161  if(useSpline) { lastValue = SplineInterpolation(); }
     162  else          { lastValue = LinearInterpolation(); }
     163}
     164
     165//---------------------------------------------------------------
    134166
    135167inline
    136168 void G4PhysicsVector::PutValue(size_t binNumber, G4double theValue)
    137169{
    138   dataVector[binNumber] = theValue;
    139 
    140   // Fill the bin which is hidden to user with theValue. This is to
    141   // handle correctly when Energy=theEmax in getValue.
    142   if(binNumber==numberOfBin-1) {
    143     dataVector[binNumber+1] = theValue;
    144   }                                 
    145 }
     170  if(binNumber < numberOfBin) {
     171    dataVector[binNumber] = theValue;
     172
     173    // Fill the bin which is hidden to user with theValue. This is to
     174    // handle correctly when Energy=theEmax in getValue.
     175
     176    if(binNumber==numberOfBin-1) { dataVector[binNumber+1] = theValue; }
     177  }
     178}
     179
     180//---------------------------------------------------------------
    146181
    147182inline
     
    154189}
    155190
     191//---------------------------------------------------------------
    156192
    157193inline
     
    161197}
    162198
     199//---------------------------------------------------------------
     200
    163201inline
    164202 const G4String& G4PhysicsVector::GetComment() const
     
    167205}
    168206
     207//---------------------------------------------------------------
     208
    169209inline
    170210 G4PhysicsVectorType G4PhysicsVector::GetType() const
     
    172212  return type;
    173213}
     214
     215//---------------------------------------------------------------
     216
     217inline
     218 void G4PhysicsVector::SetSpline(G4bool val)
     219{
     220  useSpline = val;
     221}
  • trunk/source/global/management/include/G4PhysicsVectorType.hh

    r833 r850  
    2626//
    2727// $Id: G4PhysicsVectorType.hh,v 1.4 2006/06/29 19:02:42 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// --------------------------------------------------------------
  • trunk/source/global/management/include/G4ReferenceCountedHandle.hh

    r833 r850  
    2626//
    2727// $Id: G4ReferenceCountedHandle.hh,v 1.15 2006/06/29 19:02:46 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4RotationMatrix.hh

    r833 r850  
    2626//
    2727// $Id: G4RotationMatrix.hh,v 1.5 2006/06/29 19:02:54 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4SIunits.hh

    r833 r850  
    2626//
    2727// $Id: G4SIunits.hh,v 1.5 2006/09/15 08:16:10 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// ----------------------------------------------------------------------
  • trunk/source/global/management/include/G4SliceTimer.hh

    r833 r850  
    2626//
    2727// $Id: G4SliceTimer.hh,v 1.1 2006/10/23 07:43:31 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4SliceTimer.icc

    r833 r850  
    2626//
    2727// $Id: G4SliceTimer.icc,v 1.1 2006/10/23 07:43:31 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4StateManager.hh

    r833 r850  
    2626//
    2727// $Id: G4StateManager.hh,v 1.10 2006/06/29 19:02:59 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4StateManager.icc

    r833 r850  
    2626//
    2727// $Id: G4StateManager.icc,v 1.2 2006/06/29 19:03:02 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4String.hh

    r833 r850  
    2525//
    2626//
    27 // $Id: G4String.hh,v 1.7.2.1 2008/04/23 09:22:49 gcosmo Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     27// $Id: G4String.hh,v 1.8 2008/03/13 09:35:08 gcosmo Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4String.icc

    r833 r850  
    2626//
    2727// $Id: G4String.icc,v 1.9 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4ThreeVector.hh

    r833 r850  
    2626//
    2727// $Id: G4ThreeVector.hh,v 1.5 2006/06/29 19:03:12 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4Timer.hh

    r833 r850  
    2626//
    2727// $Id: G4Timer.hh,v 1.14 2006/06/29 19:03:15 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4Timer.icc

    r833 r850  
    2626//
    2727// $Id: G4Timer.icc,v 1.2 2006/06/29 19:03:17 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4Tokenizer.hh

    r833 r850  
    2626//
    2727// $Id: G4Tokenizer.hh,v 1.2 2006/06/29 19:03:20 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4TwoVector.hh

    r833 r850  
    2626//
    2727// $Id: G4TwoVector.hh,v 1.1 2007/02/09 12:10:30 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4Types.hh

    r833 r850  
    2626//
    2727// $Id: G4Types.hh,v 1.14 2006/06/29 19:03:22 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4UnitsTable.hh

    r833 r850  
    2626//
    2727// $Id: G4UnitsTable.hh,v 1.18 2006/11/30 10:37:57 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4UnitsTable.icc

    r833 r850  
    2626//
    2727// $Id: G4UnitsTable.icc,v 1.2 2006/06/29 19:03:26 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4UserLimits.hh

    r833 r850  
    2626//
    2727// $Id: G4UserLimits.hh,v 1.9 2006/06/29 19:03:28 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4UserLimits.icc

    r833 r850  
    2626//
    2727// $Id: G4UserLimits.icc,v 1.8 2006/06/29 19:03:31 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4VExceptionHandler.hh

    r833 r850  
    2626//
    2727// $Id: G4VExceptionHandler.hh,v 1.2 2006/06/29 19:03:33 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4VNotifier.hh

    r833 r850  
    2626//
    2727// $Id: G4VNotifier.hh,v 1.2 2006/06/29 19:03:35 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// class G4VNotifier
  • trunk/source/global/management/include/G4VStateDependent.hh

    r833 r850  
    2626//
    2727// $Id: G4VStateDependent.hh,v 1.5 2006/06/29 19:03:37 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4Version.hh

    r833 r850  
    2525//
    2626//
    27 // $Id: G4Version.hh,v 1.13.2.1 2008/04/23 09:22:49 gcosmo Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     27// $Id: G4Version.hh,v 1.16 2008/06/26 06:38:51 gcosmo Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// Version information
     
    4747
    4848#ifndef G4VERSION_NUMBER
    49 #define G4VERSION_NUMBER  912
     49#define G4VERSION_NUMBER  920
    5050#endif
    5151
    5252#ifndef G4VERSION_TAG
    53 #define G4VERSION_TAG "$Name: geant4-09-01-patch-02 $"
     53#define G4VERSION_TAG "$Name: HEAD $"
    5454#endif
    5555
     
    5858#include "G4String.hh"
    5959
    60 static const G4String G4Version = "$Name: geant4-09-01-patch-02 $";
    61 static const G4String G4Date    = "(9-May-2008)";
     60static const G4String G4Version = "$Name: HEAD $";
     61static const G4String G4Date    = "(4-July-2008)";
    6262
    6363#endif
  • trunk/source/global/management/include/G4coutDestination.hh

    r833 r850  
    2626//
    2727// $Id: G4coutDestination.hh,v 1.6 2006/06/29 19:03:41 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4ios.hh

    r833 r850  
    2626//
    2727// $Id: G4ios.hh,v 1.10 2006/06/29 19:03:43 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/G4strstreambuf.hh

    r833 r850  
    2626//
    2727// $Id: G4strstreambuf.hh,v 1.16 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929// ====================================================================
    3030//
  • trunk/source/global/management/include/G4strstreambuf.icc

    r833 r850  
    2626//
    2727// $Id: G4strstreambuf.icc,v 1.13 2006/06/29 19:03:49 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929// ====================================================================
    3030//   G4strstreambuf.icc
  • trunk/source/global/management/include/globals.hh

    r833 r850  
    2626//
    2727// $Id: globals.hh,v 1.27 2006/06/29 19:03:51 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/include/templates.hh

    r833 r850  
    2525//
    2626//
    27 // $Id: templates.hh,v 1.10.8.1 2008/04/23 09:22:49 gcosmo Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     27// $Id: templates.hh,v 1.13 2008/08/15 12:15:53 gcosmo Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
     
    112112
    113113template <class T>
    114 inline void G4SwapPtr(T* a, T* b) {
    115   T* tmp=a;
     114inline void G4SwapPtr(T*& a, T*& b) {
     115  T* tmp= a;
    116116  a = b;
    117117  b = tmp;
  • trunk/source/global/management/src/G4AllocatorPool.cc

    r833 r850  
    2626//
    2727// $Id: G4AllocatorPool.cc,v 1.4 2006/06/29 19:03:57 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4DataVector.cc

    r833 r850  
    2626//
    2727// $Id: G4DataVector.cc,v 1.9 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4ErrorPropagatorData.cc

    r833 r850  
    2626//
    2727// $Id: G4ErrorPropagatorData.cc,v 1.3 2007/06/05 13:04:30 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4Exception.cc

    r833 r850  
    2626//
    2727// $Id: G4Exception.cc,v 1.21 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4GeometryTolerance.cc

    r833 r850  
    2525//
    2626//
    27 // $Id: G4GeometryTolerance.cc,v 1.2.4.1 2008/04/23 09:22:49 gcosmo Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     27// $Id: G4GeometryTolerance.cc,v 1.3 2008/02/15 07:29:51 gcosmo Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// class G4GeometryTolerance
  • trunk/source/global/management/src/G4LPhysicsFreeVector.cc

    r833 r850  
    2525//
    2626//
    27 // $Id: G4LPhysicsFreeVector.cc,v 1.12 2007/05/14 10:27:06 gcosmo Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     27// $Id: G4LPhysicsFreeVector.cc,v 1.17 2008/09/06 19:52:16 vnivanch Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
     
    3737//
    3838// 27-MAR-97 FWJ: first version for Alpha release
     39// 05-SEP-2008, V.Ivanchenko : added protections for zero-length vector
     40// --------------------------------------------------------------------
    3941
    4042#include "G4LPhysicsFreeVector.hh"
     
    4244#include "G4ios.hh"
    4345
     46// --------------------------------------------------------------------
     47
    4448G4LPhysicsFreeVector::G4LPhysicsFreeVector()
    45    : verboseLevel(0)
     49   : G4PhysicsVector(), verboseLevel(0)
    4650{
    47    type = T_G4LPhysicsFreeVector;
     51  type = T_G4LPhysicsFreeVector;
     52}
    4853
    49    edgeMin = 0.0;
    50    edgeMax = 0.0;
    51    numberOfBin = 0;
    52 }
     54// --------------------------------------------------------------------
    5355
    5456G4LPhysicsFreeVector::G4LPhysicsFreeVector(size_t nbin,
    5557                                           G4double binmin,
    5658                                           G4double binmax)
    57    : verboseLevel(0)
     59  : G4PhysicsVector(), verboseLevel(0)
    5860{
    59    type = T_G4LPhysicsFreeVector;
     61  type = T_G4LPhysicsFreeVector;
     62   
     63  numberOfBin = nbin;
     64  if(nbin > 0) {
     65    binVector.resize(nbin+1);
     66    dataVector.resize(nbin+1);
     67    edgeMin = binmin;
     68    edgeMax = binmax;
     69    for (size_t i=0; i<=numberOfBin; i++) {
     70      binVector[i] = binmin;
     71      dataVector[i]= 0.0;
     72    }
     73  }
     74
    6075
    61    edgeMin = binmin;
    62    edgeMax = binmax;
    63    numberOfBin = nbin;
    64    lastEnergy = 0.;
    65    lastValue = 0.;
    66    lastBin = 0;
    67    binVector.reserve(nbin+1);
    68    dataVector.reserve(nbin+1);
    69    for (size_t i=0; i<=numberOfBin; i++)
    70    {
    71      binVector.push_back(0.0);
    72      dataVector.push_back(0.0);
    73    }
    74 
     76// --------------------------------------------------------------------
    7577
    7678G4LPhysicsFreeVector::~G4LPhysicsFreeVector()
    7779{
    7880}
     81
     82// --------------------------------------------------------------------
    7983
    8084void G4LPhysicsFreeVector::DumpValues()
  • trunk/source/global/management/src/G4OrderedTable.cc

    r833 r850  
    2626//
    2727// $Id: G4OrderedTable.cc,v 1.6 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4PhysicsFreeVector.cc

    r833 r850  
    2626//
    2727// $Id: G4PhysicsFreeVector.cc,v 1.10 2006/06/29 19:04:10 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4PhysicsLinearVector.cc

    r833 r850  
    2626//
    2727// $Id: G4PhysicsLinearVector.cc,v 1.12 2006/06/29 19:04:13 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4PhysicsLnVector.cc

    r833 r850  
    2626//
    2727// $Id: G4PhysicsLnVector.cc,v 1.15 2006/06/29 19:04:15 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4PhysicsLogVector.cc

    r833 r850  
    2525//
    2626//
    27 // $Id: G4PhysicsLogVector.cc,v 1.13 2006/06/29 19:04:17 gunter Exp $
    28 // GEANT4 tag $Name: $
     27// $Id: G4PhysicsLogVector.cc,v 1.16 2008/09/06 19:52:16 vnivanch Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
     
    4141//    11 Nov. 2000, H.Kurashige : use STL vector for dataVector and binVector
    4242//    9  Mar. 2001, H.Kurashige : add PhysicsVector type and Retrieve
     43//    05 Sep. 2008, V.Ivanchenko : added protections for zero-length vector
    4344//
    4445// --------------------------------------------------------------
     
    4748
    4849G4PhysicsLogVector::G4PhysicsLogVector()
    49   : dBin(0.), baseBin(0.)
     50  : G4PhysicsVector(), dBin(0.), baseBin(0.)
    5051{
    5152  type = T_G4PhysicsLogVector;
     
    5354
    5455G4PhysicsLogVector::G4PhysicsLogVector(size_t theNbin)
    55   : dBin(0.), baseBin(0.)
     56  : G4PhysicsVector(), dBin(0.), baseBin(0.)
    5657{
    5758  type = T_G4PhysicsLogVector;
     
    5960  // Add extra one bin (hidden to user) to handle correctly when
    6061  // Energy=theEmax in getValue.
    61   dataVector.reserve(theNbin+1);
    62   binVector.reserve(theNbin+1);
    6362
    6463  numberOfBin = theNbin;
    6564
    66   edgeMin = 0.;
    67   edgeMax = 0.;
    68 
    69   lastBin = INT_MAX;
    70   lastEnergy = -DBL_MAX;
    71   lastValue = DBL_MAX;
    72  
    73   for (size_t i=0; i<=numberOfBin; i++)
    74   {
    75      binVector.push_back(0.0);
    76      dataVector.push_back(0.0);
     65  if(numberOfBin > 0) {
     66    dataVector.resize(theNbin+1);
     67    binVector.resize(theNbin+1);
     68    edgeMin = 1;
     69    edgeMax = numberOfBin;
     70    for (size_t i=0; i<=numberOfBin; i++) {
     71      binVector[i] = i + 1;
     72      dataVector[i]= 0.0;
     73    }
    7774  }
    7875
     
    8077G4PhysicsLogVector::G4PhysicsLogVector(G4double theEmin,
    8178                                       G4double theEmax, size_t theNbin)
    82   : dBin(std::log10(theEmax/theEmin)/theNbin),
     79  : G4PhysicsVector(), dBin(std::log10(theEmax/theEmin)/theNbin),
    8380    baseBin(std::log10(theEmin)/dBin)
    8481{
     
    8784  // Add extra one bin (hidden to user) to handle correctly when
    8885  // Energy=theEmax in getValue.
    89   dataVector.reserve(theNbin+1);
    90   binVector.reserve(theNbin+1);
     86  dataVector.resize(theNbin+1);
     87  binVector.resize(theNbin+1);
    9188
    9289  numberOfBin = theNbin;
    9390
    94   for (size_t i=0; i<numberOfBin+1; i++)
    95   {
    96     binVector.push_back(std::pow(10., std::log10(theEmin)+i*dBin));
    97     dataVector.push_back(0.0);
     91  if(numberOfBin > 0) {
     92    for (size_t i=0; i<=numberOfBin; i++) {
     93      binVector[i] = std::pow(10., std::log10(theEmin)+i*dBin);
     94      dataVector[i]= 0.0;
     95    }
     96    edgeMin = binVector[0];
     97    edgeMax = binVector[numberOfBin-1];
    9898  }
    99 
    100   edgeMin = binVector[0];
    101   edgeMax = binVector[numberOfBin-1];
    102 
    103   lastBin = INT_MAX;
    104   lastEnergy = -DBL_MAX;
    105   lastValue = DBL_MAX;
    10699
    107100
  • trunk/source/global/management/src/G4PhysicsOrderedFreeVector.cc

    r833 r850  
    2626//
    2727// $Id: G4PhysicsOrderedFreeVector.cc,v 1.10 2006/06/29 19:04:20 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030////////////////////////////////////////////////////////////////////////
  • trunk/source/global/management/src/G4PhysicsTable.cc

    r833 r850  
    2626//
    2727// $Id: G4PhysicsTable.cc,v 1.15 2007/11/13 17:35:06 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4PhysicsVector.cc

    r833 r850  
    2525//
    2626//
    27 // $Id: G4PhysicsVector.cc,v 1.17 2006/06/29 19:04:25 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     27// $Id: G4PhysicsVector.cc,v 1.22 2008/09/05 18:04:45 vnivanch Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
     
    4242//    18 Jan. 2001, H.Kurashige : removed ptrNextTable
    4343//    09 Mar. 2001, H.Kurashige : added G4PhysicsVector type
     44//    05 Sep. 2008, V.Ivanchenko : added protections for zero-length vector
    4445// --------------------------------------------------------------
    4546
     
    4748#include <iomanip>
    4849
    49 G4PhysicsVector::G4PhysicsVector()
     50// --------------------------------------------------------------
     51
     52G4PhysicsVector::G4PhysicsVector(G4bool spline)
    5053 : type(T_G4PhysicsVector),
    51    edgeMin(0.), edgeMax(0.), numberOfBin(0),
    52    lastEnergy(0.), lastValue(0.), lastBin(0)
    53 {
    54 }
     54   edgeMin(DBL_MAX), edgeMax(0.), numberOfBin(0),
     55   lastEnergy(0.), lastValue(0.), lastBin(0),
     56   secDerivative(0), useSpline(spline)
     57{
     58  binVector.push_back(edgeMin);
     59  dataVector.push_back(0.0);
     60}
     61
     62// --------------------------------------------------------------
    5563
    5664G4PhysicsVector::~G4PhysicsVector()
    5765{
    58   dataVector.clear();
    59   binVector.clear();
    60   type = T_G4PhysicsVector;
    61 }
     66  delete [] secDerivative;
     67}
     68
     69// --------------------------------------------------------------
    6270
    6371G4PhysicsVector::G4PhysicsVector(const G4PhysicsVector& right)
     
    6573  *this=right;
    6674}
     75
     76// --------------------------------------------------------------
    6777
    6878G4PhysicsVector& G4PhysicsVector::operator=(const G4PhysicsVector& right)
     
    8090  dataVector = right.dataVector;
    8191  binVector = right.binVector;
     92  secDerivative = right.secDerivative;
     93  useSpline = right.useSpline;
    8294  comment = right.comment;
    8395  return *this;
    8496}
    8597
     98// --------------------------------------------------------------
     99
    86100G4int G4PhysicsVector::operator==(const G4PhysicsVector &right) const
    87101{
     
    89103}
    90104
     105// --------------------------------------------------------------
     106
    91107G4int G4PhysicsVector::operator!=(const G4PhysicsVector &right) const
    92108{
     
    94110}
    95111
     112// --------------------------------------------------------------
     113
    96114G4double G4PhysicsVector::GetLowEdgeEnergy(size_t binNumber) const
    97115{
    98116  return binVector[binNumber];
    99117}
     118
     119// --------------------------------------------------------------
    100120
    101121G4bool G4PhysicsVector::Store(std::ofstream& fOut, G4bool ascii)
     
    129149  return true;
    130150}
     151
     152// --------------------------------------------------------------
    131153
    132154G4bool G4PhysicsVector::Retrieve(std::ifstream& fIn, G4bool ascii)
     
    153175    binVector.reserve(size);
    154176    dataVector.reserve(size);
     177    G4double vBin, vData;
     178
    155179    for(size_t i = 0; i < size ; i++)
    156180    {
    157       G4double vBin=0., vData=0.;
     181      vBin = 0.;
     182      vData= 0.;
    158183      fIn >> vBin >> vData;
    159184      if (fIn.fail())  { return false; }
     
    176201  G4double* value = new G4double[2*size];
    177202  fIn.read((char*)(value),  2*size*(sizeof(G4double)) );
    178   if (G4int(fIn.gcount()) != G4int(2*size*(sizeof(G4double))) ){
     203  if (G4int(fIn.gcount()) != G4int(2*size*(sizeof(G4double))) )
     204  {
    179205    delete [] value;
    180206    return false;
     
    183209  binVector.reserve(size);
    184210  dataVector.reserve(size);
    185   for(size_t i = 0; i < size; i++) {
     211  for(size_t i = 0; i < size; i++)
     212  {
    186213    binVector.push_back(value[2*i]);
    187214    dataVector.push_back(value[2*i+1]);
     
    190217  return true;
    191218}
    192    
     219
     220// --------------------------------------------------------------
     221
     222void G4PhysicsVector::FillSecondDerivatives()
     223
     224  secDerivative = new G4double [numberOfBin];
     225
     226  secDerivative[0] = 0.0 ;
     227
     228  // cannot compute derivatives for less than 3 points
     229  if(3 > numberOfBin) {
     230    secDerivative[numberOfBin-1] = 0.0 ;
     231    return;
     232  }
     233
     234  G4double* u = new G4double [numberOfBin];
     235  u[0] = 0.0 ;
     236   
     237  // Decomposition loop for tridiagonal algorithm. secDerivative[i]
     238  // and u[i] are used for temporary storage of the decomposed factors.
     239   
     240  for(size_t i=1; i<numberOfBin-1; i++)
     241  {
     242    G4double sig = (binVector[i]-binVector[i-1])
     243                 / (binVector[i+1]-binVector[i-1]) ;
     244    G4double p = sig*secDerivative[i-1] + 2.0 ;
     245    secDerivative[i] = (sig - 1.0)/p ;
     246    u[i] = (dataVector[i+1]-dataVector[i])/(binVector[i+1]-binVector[i])
     247         - (dataVector[i]-dataVector[i-1])/(binVector[i]-binVector[i-1]) ;
     248    u[i] =(6.0*u[i]/(binVector[i+1]-binVector[i-1]) - sig*u[i-1])/p ;
     249  }
     250
     251  G4double qn = 0.0 ;
     252  G4double un = 0.0 ;
     253
     254  secDerivative[numberOfBin-1] = (un - qn*u[numberOfBin-2])
     255                               / (qn*secDerivative[numberOfBin-2] + 1.0) ;
     256   
     257  // The back-substitution loop for the triagonal algorithm of solving
     258  // a linear system of equations.
     259   
     260  for(G4int k=numberOfBin-2; k>=0; k--)
     261  {
     262    secDerivative[k] = secDerivative[k]*secDerivative[k+1] + u[k];
     263  }
     264  delete [] u;
     265}
     266   
     267// --------------------------------------------------------------
     268
    193269std::ostream& operator<<(std::ostream& out, const G4PhysicsVector& pv)
    194270{
  • trunk/source/global/management/src/G4SliceTimer.cc

    r833 r850  
    2626//
    2727// $Id: G4SliceTimer.cc,v 1.2 2006/11/02 15:39:39 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4StateManager.cc

    r833 r850  
    2626//
    2727// $Id: G4StateManager.cc,v 1.13 2006/11/23 00:41:56 asaim Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4Timer.cc

    r833 r850  
    2626//
    2727// $Id: G4Timer.cc,v 1.15 2006/06/29 19:04:30 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4UnitsTable.cc

    r833 r850  
    2525//
    2626//
    27 // $Id: G4UnitsTable.cc,v 1.36 2006/11/30 10:37:57 gcosmo Exp $
    28 // GEANT4 tag $Name: $
     27// $Id: G4UnitsTable.cc,v 1.37 2008/05/06 17:17:08 maire Exp $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    4242//           MeV*cm2/g ..etc.. ("Energy*Surface/Mass")
    4343// 18-08-06: remove symbol mum (mma)
     44// 06-05-08: V/m ("Electric field")  (mma)
    4445//
    4546//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    296297 new G4UnitDefinition("megavolt","MV","Electric potential",megavolt);
    297298 
     299 //Electric field
     300 new G4UnitDefinition(  "volt/m","V/m","Electric field",volt/m);
     301   
    298302 //Magnetic flux
    299303 new G4UnitDefinition("weber","Wb","Magnetic flux",weber);
  • trunk/source/global/management/src/G4VExceptionHandler.cc

    r833 r850  
    2626//
    2727// $Id: G4VExceptionHandler.cc,v 1.3 2006/06/29 19:04:35 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4VNotifier.cc

    r833 r850  
    2626//
    2727// $Id: G4VNotifier.cc,v 1.2 2006/06/29 19:04:37 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030// G4VNotifier
  • trunk/source/global/management/src/G4VStateDependent.cc

    r833 r850  
    2626//
    2727// $Id: G4VStateDependent.cc,v 1.5 2006/06/29 19:04:39 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4coutDestination.cc

    r833 r850  
    2626//
    2727// $Id: G4coutDestination.cc,v 1.2 2006/06/29 19:04:41 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
  • trunk/source/global/management/src/G4ios.cc

    r833 r850  
    2626//
    2727// $Id: G4ios.cc,v 1.9 2006/06/29 19:04:43 gunter Exp $
    28 // GEANT4 tag $Name: $
     28// GEANT4 tag $Name: HEAD $
    2929//
    3030//
Note: See TracChangeset for help on using the changeset viewer.