Changeset 1005 for trunk/source/processes/electromagnetic/lowenergy/src/G4LivermorePolarizedRayleighModel.cc
- Timestamp:
- Apr 20, 2009, 4:53:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/lowenergy/src/G4LivermorePolarizedRayleighModel.cc
r991 r1005 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4LivermorePolarizedRayleighModel.cc,v 1. 1 2008/10/30 14:16:35sincerti Exp $27 // GEANT4 tag $Name: geant4-09-02 $26 // $Id: G4LivermorePolarizedRayleighModel.cc,v 1.2 2009/01/21 10:58:13 sincerti Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 … … 38 38 G4LivermorePolarizedRayleighModel::G4LivermorePolarizedRayleighModel(const G4ParticleDefinition*, 39 39 const G4String& nam) 40 :G4VEmModel(nam),isInitialised(false) 40 :G4VEmModel(nam),isInitialised(false),crossSectionHandler(0),formFactorData(0) 41 41 { 42 42 lowEnergyLimit = 250 * eV; // SI - Could be 10 eV ? … … 65 65 G4LivermorePolarizedRayleighModel::~G4LivermorePolarizedRayleighModel() 66 66 { 67 delete crossSectionHandler;68 delete formFactorData;67 if (crossSectionHandler) delete crossSectionHandler; 68 if (formFactorData) delete formFactorData; 69 69 } 70 70 … … 84 84 G4cout << "Calling G4LivermorePolarizedRayleighModel::Initialise()" << G4endl; 85 85 86 InitialiseElementSelectors(particle,cuts); 87 86 if (crossSectionHandler) 87 { 88 crossSectionHandler->Clear(); 89 delete crossSectionHandler; 90 } 91 88 92 // Energy limits 89 93 … … 116 120 if (verboseLevel > 2) 117 121 G4cout << "Loaded cross section files for Livermore Polarized Rayleigh model" << G4endl; 122 123 InitialiseElementSelectors(particle,cuts); 118 124 119 125 G4cout << "Livermore Polarized Rayleigh model is initialized " << G4endl
Note: See TracChangeset
for help on using the changeset viewer.