Ignore:
Timestamp:
Apr 17, 2009, 12:17:14 PM (15 years ago)
Author:
garnier
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/lowenergy/src/G4LivermorePolarizedRayleighModel.cc

    r968 r991  
    2424// ********************************************************************
    2525//
    26 // $Id: G4LivermorePolarizedRayleighModel.cc,v 1.2 2009/01/21 10:58:13 sincerti Exp $
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     26// $Id: G4LivermorePolarizedRayleighModel.cc,v 1.1 2008/10/30 14:16:35 sincerti Exp $
     27// GEANT4 tag $Name: geant4-09-02 $
    2828//
    2929
     
    3838G4LivermorePolarizedRayleighModel::G4LivermorePolarizedRayleighModel(const G4ParticleDefinition*,
    3939                                             const G4String& nam)
    40 :G4VEmModel(nam),isInitialised(false),crossSectionHandler(0),formFactorData(0)
     40:G4VEmModel(nam),isInitialised(false)
    4141{
    4242  lowEnergyLimit = 250 * eV; // SI - Could be 10 eV ?
     
    6565G4LivermorePolarizedRayleighModel::~G4LivermorePolarizedRayleighModel()
    6666
    67   if (crossSectionHandler) delete crossSectionHandler;
    68   if (formFactorData) delete formFactorData;
     67  delete crossSectionHandler;
     68  delete formFactorData;
    6969}
    7070
     
    8484    G4cout << "Calling G4LivermorePolarizedRayleighModel::Initialise()" << G4endl;
    8585
    86   if (crossSectionHandler)
    87   {
    88     crossSectionHandler->Clear();
    89     delete crossSectionHandler;
    90   }
    91  
     86  InitialiseElementSelectors(particle,cuts);
     87
    9288  // Energy limits
    9389 
     
    120116  if (verboseLevel > 2)
    121117    G4cout << "Loaded cross section files for Livermore Polarized Rayleigh model" << G4endl;
    122 
    123   InitialiseElementSelectors(particle,cuts);
    124118
    125119  G4cout << "Livermore Polarized Rayleigh model is initialized " << G4endl
Note: See TracChangeset for help on using the changeset viewer.