G4DNAElastic Class Reference

#include <G4DNAElastic.hh>

Inheritance diagram for G4DNAElastic:

G4VEmProcess G4VDiscreteProcess G4VProcess

Public Member Functions

 G4DNAElastic (const G4String &processName="DNAElastic", G4ProcessType type=fElectromagnetic)
virtual ~G4DNAElastic ()
virtual G4bool IsApplicable (const G4ParticleDefinition &)
virtual void PrintInfo ()

Protected Member Functions

virtual void InitialiseProcess (const G4ParticleDefinition *)

Detailed Description

Definition at line 42 of file G4DNAElastic.hh.


Constructor & Destructor Documentation

G4DNAElastic::G4DNAElastic ( const G4String processName = "DNAElastic",
G4ProcessType  type = fElectromagnetic 
)

Definition at line 35 of file G4DNAElastic.cc.

References G4VProcess::SetProcessSubType().

00036                      :G4VEmProcess (processName, type),
00037     isInitialised(false)
00038 {
00039   SetProcessSubType(51);
00040 }

G4DNAElastic::~G4DNAElastic (  )  [virtual]

Definition at line 44 of file G4DNAElastic.cc.

00045 {}


Member Function Documentation

void G4DNAElastic::InitialiseProcess ( const G4ParticleDefinition  )  [protected, virtual]

Implements G4VEmProcess.

Definition at line 56 of file G4DNAElastic.cc.

References G4VEmProcess::AddEmModel(), G4VEmProcess::EmModel(), G4VEmProcess::SetBuildTableFlag(), G4VEmProcess::SetEmModel(), G4VEmModel::SetHighEnergyLimit(), and G4VEmModel::SetLowEnergyLimit().

00057 {
00058   if(!isInitialised) 
00059   {
00060     isInitialised = true;
00061     SetBuildTableFlag(false);
00062     if(!EmModel()) SetEmModel(new G4DNAScreenedRutherfordElasticModel);
00063     EmModel()->SetLowEnergyLimit(0*eV);
00064     EmModel()->SetHighEnergyLimit(1.*MeV);
00065     AddEmModel(1, EmModel());
00066   } 
00067 }

G4bool G4DNAElastic::IsApplicable ( const G4ParticleDefinition  )  [virtual]

Implements G4VEmProcess.

Definition at line 49 of file G4DNAElastic.cc.

References G4Electron::Electron().

00050 {
00051   return (&p == G4Electron::Electron());
00052 }

void G4DNAElastic::PrintInfo (  )  [virtual]

Implements G4VEmProcess.

Definition at line 71 of file G4DNAElastic.cc.

References G4VEmProcess::EmModel(), G4cout, G4endl, and G4VEmModel::GetName().

00072 {
00073   G4cout
00074     << " Total cross sections computed from " << EmModel()->GetName() << " model"
00075     << G4endl;
00076 }         


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:51:47 2013 for Geant4 by  doxygen 1.4.7