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

update processes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/electromagnetic/standard/src/G4eIonisation.cc

    r819 r961  
    2424// ********************************************************************
    2525//
    26 // $Id: G4eIonisation.cc,v 1.53 2007/05/22 17:34:36 vnivanch Exp $
    27 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     26// $Id: G4eIonisation.cc,v 1.57 2009/02/20 12:06:37 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2828//
    2929// -------------------------------------------------------------------
     
    9090    isInitialised(false)
    9191{
    92   SetStepFunction(0.2, 1*mm);
    93   SetIntegral(true);
    94   SetVerboseLevel(1);
     92  //  SetStepFunction(0.2, 1*mm);
     93  // SetIntegral(true);
     94  // SetVerboseLevel(1);
     95  SetProcessSubType(fIonisation);
    9596}
    9697
     
    99100G4eIonisation::~G4eIonisation()
    100101{}
     102
     103//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     104
     105G4double G4eIonisation::MinPrimaryEnergy(const G4ParticleDefinition*,
     106                                         const G4Material*,
     107                                         G4double cut)
     108{
     109  G4double x = cut;
     110  if(isElectron) x += cut;
     111  return x;
     112}
     113
     114//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     115
     116G4bool G4eIonisation::IsApplicable(const G4ParticleDefinition& p)
     117{
     118  return (&p == G4Electron::Electron() || &p == G4Positron::Positron());
     119}
    101120
    102121//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     
    110129    SetSecondaryParticle(theElectron);
    111130    if (!EmModel()) SetEmModel(new G4MollerBhabhaModel());
    112     EmModel()->SetLowEnergyLimit (100*eV);
    113     EmModel()->SetHighEnergyLimit(100*TeV);
     131    EmModel()->SetLowEnergyLimit (MinKinEnergy());
     132    EmModel()->SetHighEnergyLimit(MaxKinEnergy());
    114133    if (!FluctModel()) SetFluctModel(new G4UniversalFluctuation());
    115134               
     
    122141
    123142void G4eIonisation::PrintInfo()
    124 {
    125   if(EmModel())
    126     G4cout << "      Delta cross sections and sampling from "
    127            << EmModel()->GetName() << " model"
    128            << "\n      Good description from 1 KeV to 100 GeV."
    129            << G4endl;
    130 }
     143{}
    131144
    132145//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
Note: See TracChangeset for help on using the changeset viewer.