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

update processes

File:
1 edited

Legend:

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

    r819 r961  
    2424// ********************************************************************
    2525//
    26 // $Id: G4PhotoElectricEffect.cc,v 1.37 2006/09/14 10:27:19 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-01-patch-02 $
     26// $Id: G4PhotoElectricEffect.cc,v 1.42 2009/02/20 12:06:37 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-02-ref-02 $
    2828//
    2929//
     
    8080  G4ProcessType type):G4VEmProcess (processName, type),
    8181    isInitialised(false)
    82 {}
     82{
     83  SetProcessSubType(fPhotoElectricEffect);
     84}
    8385
    8486//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    8688G4PhotoElectricEffect::~G4PhotoElectricEffect()
    8789{}
     90
     91//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
     92
     93G4bool G4PhotoElectricEffect::IsApplicable(const G4ParticleDefinition& p)
     94{
     95  return (&p == G4Gamma::Gamma());
     96}
    8897
    8998//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    95104    SetBuildTableFlag(false);
    96105    SetSecondaryParticle(G4Electron::Electron());
    97     if(!Model()) SetModel(new G4PEEffectModel);
     106    if(!Model()) SetModel(new G4PEEffectModel());
    98107    Model()->SetLowEnergyLimit(MinKinEnergy());
    99108    Model()->SetHighEnergyLimit(MaxKinEnergy());
     
    105114
    106115void G4PhotoElectricEffect::PrintInfo()
    107 {
    108   G4cout
    109     << " Total cross sections from Sandia parametrisation. "
    110     << "\n      Sampling according " << Model()->GetName() << " model" 
    111     << G4endl;
    112 }
     116{}
    113117
    114118//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
Note: See TracChangeset for help on using the changeset viewer.