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/electromagnetic/lowenergy/src/G4PenelopeGammaConversionModel.cc

    r1337 r1347  
    2424// ********************************************************************
    2525//
    26 // $Id: G4PenelopeGammaConversionModel.cc,v 1.6 2009/06/11 15:47:08 mantero Exp $
    27 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     26// $Id: G4PenelopeGammaConversionModel.cc,v 1.7 2010/11/25 09:45:13 pandola Exp $
     27// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2828//
    2929// Author: Luciano Pandola
     
    5050#include "G4Positron.hh"
    5151#include "G4CrossSectionHandler.hh"
     52#include "G4VEMDataSet.hh"
    5253
    5354//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     
    105106  crossSectionHandler->LoadData(crossSectionFile);
    106107  //This is used to retrieve cross section values later on
    107   crossSectionHandler->BuildMeanFreePathForMaterials();
     108  G4VEMDataSet* emdata =
     109    crossSectionHandler->BuildMeanFreePathForMaterials();
     110  //The method BuildMeanFreePathForMaterials() is required here only to force
     111  //the building of an internal table: the output pointer can be deleted
     112  delete emdata;
    108113
    109114  if (verboseLevel > 2)
     
    417422          G4String excep = "G4PenelopeGammaConversionModel - G4LEDATA environment variable not set!";
    418423          G4Exception(excep);
     424          return result;
    419425        }
    420426      G4String pathString(path);
Note: See TracChangeset for help on using the changeset viewer.