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/G4LivermorePolarizedComptonModel.cc

    r968 r991  
    2424// ********************************************************************
    2525//
    26 // $Id: G4LivermorePolarizedComptonModel.cc,v 1.2 2009/01/21 10:58:13 sincerti Exp $
    27 // GEANT4 tag $Name: geant4-09-02-ref-02 $
     26// $Id: G4LivermorePolarizedComptonModel.cc,v 1.1 2008/10/30 14:16:35 sincerti Exp $
     27// GEANT4 tag $Name: geant4-09-02 $
    2828//
    2929
     
    3838G4LivermorePolarizedComptonModel::G4LivermorePolarizedComptonModel(const G4ParticleDefinition*,
    3939                                             const G4String& nam)
    40 :G4VEmModel(nam),isInitialised(false),meanFreePathTable(0),scatterFunctionData(0),crossSectionHandler(0)
     40:G4VEmModel(nam),isInitialised(false)
    4141{
    4242  lowEnergyLimit = 250 * eV; // SI - Could be 10 eV ?
     
    6565G4LivermorePolarizedComptonModel::~G4LivermorePolarizedComptonModel()
    6666
    67   if (meanFreePathTable)   delete meanFreePathTable;
    68   if (crossSectionHandler) delete crossSectionHandler;
    69   if (scatterFunctionData) delete scatterFunctionData;
     67  delete meanFreePathTable;
     68  delete crossSectionHandler;
     69  delete scatterFunctionData;
    7070}
    7171
     
    7878    G4cout << "Calling G4LivermorePolarizedComptonModel::Initialise()" << G4endl;
    7979
    80   if (crossSectionHandler)
    81   {
    82     crossSectionHandler->Clear();
    83     delete crossSectionHandler;
    84   }
     80  InitialiseElementSelectors(particle,cuts);
    8581
    8682  // Energy limits
     
    123119  if (verboseLevel > 2)
    124120    G4cout << "Loaded cross section files for Livermore Polarized Compton model" << G4endl;
    125 
    126   InitialiseElementSelectors(particle,cuts);
    127121
    128122  G4cout << "Livermore Polarized Compton model is initialized " << G4endl
     
    209203      fParticleChange->SetProposedKineticEnergy(0.);
    210204      fParticleChange->ProposeLocalEnergyDeposit(gammaEnergy0);
     205      // SI - IS THE FOLLOWING RETURN NECESSARY ?
    211206      return;
    212207    }
Note: See TracChangeset for help on using the changeset viewer.