Ignore:
Timestamp:
Nov 5, 2010, 3:45:55 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/pre_equilibrium/exciton_model/src/G4PreCompoundParameters.cc

    r1337 r1340  
    2424// ********************************************************************
    2525//
    26 //
    27 // $Id: G4PreCompoundParameters.cc,v 1.3 2006/06/29 20:59:29 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     26// $Id: G4PreCompoundParameters.cc,v 1.4 2010/08/18 14:07:24 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-03-ref-09 $
    2928//
    3029// by V. Lara
     30//
     31// 18.08.2010 V.Ivanchenko make this class as a standard singleton
     32//
    3133
    3234#include "G4PreCompoundParameters.hh"
    3335
    34 
    35 G4PreCompoundParameters G4PreCompoundParameters::thePreCompoundParameters;
     36G4PreCompoundParameters* G4PreCompoundParameters::theParameters = 0;
    3637
    3738G4PreCompoundParameters * G4PreCompoundParameters::GetAddress()
    38 { return &thePreCompoundParameters; }
     39{
     40  if(0 == theParameters) {
     41    static G4PreCompoundParameters par;
     42    theParameters = ∥
     43  }
     44  return theParameters;
     45}
    3946
     47G4PreCompoundParameters::G4PreCompoundParameters()
     48  : fLevelDensity(0.10/MeV),
     49    fR0(1.5*fermi),
     50    fTransitions_r0(0.6*fermi),
     51    fFermiEnergy(35.0*MeV)
     52{}
     53
     54G4PreCompoundParameters::~G4PreCompoundParameters()
     55{}
     56
     57
Note: See TracChangeset for help on using the changeset viewer.