Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (15 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

Location:
trunk/source/processes/electromagnetic/highenergy/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/highenergy/src/G4hhIonisation.cc

    r1228 r1315  
    2424// ********************************************************************
    2525//
    26 // $Id: G4hhIonisation.cc,v 1.9 2009/02/20 16:38:33 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03 $
     26// $Id: G4hhIonisation.cc,v 1.10 2010/06/04 10:23:31 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
    2828//
    2929// -------------------------------------------------------------------
     
    5151#include "G4BraggNoDeltaModel.hh"
    5252#include "G4BetheBlochNoDeltaModel.hh"
     53#include "G4ICRU73NoDeltaModel.hh"
    5354#include "G4UniversalFluctuation.hh"
    5455#include "G4BohrFluctuations.hh"
     
    110111  SetBaseParticle(0);
    111112  SetSecondaryParticle(G4Electron::Electron());
     113  //G4double q = theParticle->GetPDGCharge();
    112114  mass  = theParticle->GetPDGMass();
    113115  ratio = electron_mass_c2/mass;
     
    120122
    121123  if(eth > minKinEnergy) {
    122     G4VEmModel* em = new G4BraggNoDeltaModel();
     124    G4VEmModel* em;
     125    em = new G4BraggNoDeltaModel();
     126    //if(q > 0.0) { em = new G4BraggNoDeltaModel(); }
     127    //else { em = new G4ICRU73NoDeltaModel(); }
    123128    em->SetLowEnergyLimit(minKinEnergy);
    124129    em->SetHighEnergyLimit(eth);
    125130    AddEmModel(nm, em, flucModel);
    126     nm++;
     131    ++nm;
    127132  }
    128133
  • trunk/source/processes/electromagnetic/highenergy/src/G4mplIonisation.cc

    r1228 r1315  
    2424// ********************************************************************
    2525//
    26 // $Id: G4mplIonisation.cc,v 1.8 2009/02/20 16:38:33 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-03 $
     26// $Id: G4mplIonisation.cc,v 1.10 2010/03/28 16:45:38 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
    2828//
    2929// -------------------------------------------------------------------
     
    7575//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
    7676
    77 G4bool G4mplIonisation::IsApplicable(const G4ParticleDefinition& p)
     77G4bool G4mplIonisation::IsApplicable(const G4ParticleDefinition&)
    7878{
    79   return (p.GetParticleName() == "monopole");
     79  return true;
    8080}
    8181
Note: See TracChangeset for help on using the changeset viewer.