Ignore:
Timestamp:
Dec 22, 2010, 3:52:27 PM (13 years ago)
Author:
garnier
Message:

geant4 tag 9.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/hadronic/models/de_excitation/photon_evaporation/src/G4ContinuumGammaDeexcitation.cc

    r1340 r1347  
    2424// ********************************************************************
    2525//
    26 // $Id: G4ContinuumGammaDeexcitation.cc,v 1.7 2010/04/30 16:08:03 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03-ref-09 $
     26// $Id: G4ContinuumGammaDeexcitation.cc,v 1.8 2010/11/17 19:17:17 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2828//
    2929// -------------------------------------------------------------------
     
    6767G4ContinuumGammaDeexcitation::G4ContinuumGammaDeexcitation()
    6868  : _nucleusZ(0), _nucleusA(0), _levelManager(0)
    69 { }
    70 
     69{}
    7170
    7271G4ContinuumGammaDeexcitation::~G4ContinuumGammaDeexcitation()
    73 { }
    74 
     72{}
    7573
    7674G4VGammaTransition* G4ContinuumGammaDeexcitation::CreateTransition()
    7775{
    7876  G4Fragment* nucleus = GetNucleus();
    79   G4int Z = static_cast<G4int>(nucleus->GetZ());
    80   G4int A = static_cast<G4int>(nucleus->GetA());
     77  G4int Z = nucleus->GetZ_asInt();
     78  G4int A = nucleus->GetA_asInt();
    8179  G4double excitation = nucleus->GetExcitationEnergy();
    8280
     
    9189    G4cout << "G4ContinuumGammaDeexcitation::CreateTransition - Created" << G4endl;
    9290  }
    93   G4VGammaTransition* gt =  new G4ContinuumGammaTransition(_levelManager,Z,A,excitation,_verbose );
     91  G4VGammaTransition* gt = 
     92    new G4ContinuumGammaTransition(_levelManager,Z,A,excitation,_verbose );
    9493
    9594  return gt;
     
    9998G4bool G4ContinuumGammaDeexcitation::CanDoTransition()
    10099{
    101   //JMQ: far too small, creating sometimes continuum gammas instead of the right discrete ones
    102   // (when excitation energy is slightly over maximum discrete  energy): changed
     100  //JMQ: far too small, creating sometimes continuum gammas instead
     101  //     of the right discrete ones (when excitation energy is slightly
     102  //     over maximum discrete  energy): changed
    103103  //  G4double tolerance = 10*eV;
    104104  const G4double tolerance = CLHEP::keV;
     
    116116  G4double excitation = nucleus->GetExcitationEnergy();
    117117
    118   //  G4int A = (G4int)nucleus->GetA();
    119   // G4int Z = (G4int)nucleus->GetZ();
    120   if (_nucleusA<2 || _nucleusZ<3)
     118  if (_nucleusZ < 2 || _nucleusA < 3)
    121119    {
    122120      if (_verbose > 1) {
Note: See TracChangeset for help on using the changeset viewer.