#include <G4DNAVibExcitation.hh>
Inheritance diagram for G4DNAVibExcitation:
Public Member Functions | |
G4DNAVibExcitation (const G4String &processName="DNAVibrationalExcitation", G4ProcessType type=fElectromagnetic) | |
virtual | ~G4DNAVibExcitation () |
virtual G4bool | IsApplicable (const G4ParticleDefinition &) |
virtual void | PrintInfo () |
Protected Member Functions | |
virtual void | InitialiseProcess (const G4ParticleDefinition *) |
Definition at line 42 of file G4DNAVibExcitation.hh.
G4DNAVibExcitation::G4DNAVibExcitation | ( | const G4String & | processName = "DNAVibrationalExcitation" , |
|
G4ProcessType | type = fElectromagnetic | |||
) |
Definition at line 35 of file G4DNAVibExcitation.cc.
References G4VProcess::SetProcessSubType().
00036 :G4VEmProcess (processName, type), 00037 isInitialised(false) 00038 { 00039 SetProcessSubType(54); 00040 }
G4DNAVibExcitation::~G4DNAVibExcitation | ( | ) | [virtual] |
void G4DNAVibExcitation::InitialiseProcess | ( | const G4ParticleDefinition * | ) | [protected, virtual] |
Implements G4VEmProcess.
Definition at line 56 of file G4DNAVibExcitation.cc.
References G4VEmProcess::AddEmModel(), G4VEmProcess::EmModel(), G4ParticleDefinition::GetParticleName(), G4VEmProcess::SetBuildTableFlag(), G4VEmProcess::SetEmModel(), G4VEmModel::SetHighEnergyLimit(), and G4VEmModel::SetLowEnergyLimit().
00057 { 00058 if(!isInitialised) 00059 { 00060 isInitialised = true; 00061 SetBuildTableFlag(false); 00062 00063 G4String name = p->GetParticleName(); 00064 00065 if(name == "e-") 00066 { 00067 if(!EmModel()) SetEmModel(new G4DNASancheExcitationModel); 00068 EmModel()->SetLowEnergyLimit(2*eV); 00069 EmModel()->SetHighEnergyLimit(100*eV); 00070 00071 AddEmModel(1, EmModel()); 00072 } 00073 } 00074 }
G4bool G4DNAVibExcitation::IsApplicable | ( | const G4ParticleDefinition & | ) | [virtual] |
Implements G4VEmProcess.
Definition at line 49 of file G4DNAVibExcitation.cc.
References G4Electron::Electron().
00050 { 00051 return (&p == G4Electron::Electron()); 00052 }
void G4DNAVibExcitation::PrintInfo | ( | ) | [virtual] |
Implements G4VEmProcess.
Definition at line 78 of file G4DNAVibExcitation.cc.
References G4VEmProcess::EmModel(), G4cout, G4endl, and G4VEmModel::GetName().
00079 { 00080 G4cout 00081 << " Total cross sections computed from " 00082 << EmModel()->GetName() 00083 << G4endl; 00084 }