G4MuElecElastic Class Reference

#include <G4MuElecElastic.hh>

Inheritance diagram for G4MuElecElastic:

G4VEmProcess G4VDiscreteProcess G4VProcess

Public Member Functions

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

Protected Member Functions

virtual void InitialiseProcess (const G4ParticleDefinition *)

Detailed Description

Definition at line 47 of file G4MuElecElastic.hh.


Constructor & Destructor Documentation

G4MuElecElastic::G4MuElecElastic ( const G4String processName = "MuElecElastic",
G4ProcessType  type = fElectromagnetic 
)

Definition at line 44 of file G4MuElecElastic.cc.

References G4VProcess::SetProcessSubType().

00045                      :G4VEmProcess (processName, type),
00046     isInitialised(false)
00047 {
00048   SetProcessSubType(51);
00049 }

G4MuElecElastic::~G4MuElecElastic (  )  [virtual]

Definition at line 53 of file G4MuElecElastic.cc.

00054 {}


Member Function Documentation

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

Implements G4VEmProcess.

Definition at line 65 of file G4MuElecElastic.cc.

References G4VEmProcess::AddEmModel(), G4VEmProcess::Model(), G4VEmProcess::SetBuildTableFlag(), G4VEmModel::SetHighEnergyLimit(), G4VEmModel::SetLowEnergyLimit(), and G4VEmProcess::SetModel().

00066 {
00067   if(!isInitialised) 
00068   {
00069     isInitialised = true;
00070     SetBuildTableFlag(false);
00071     if(!Model()) SetModel(new G4MuElecElasticModel);
00072     Model()->SetLowEnergyLimit(5*eV);
00073     Model()->SetHighEnergyLimit(100*MeV);
00074     AddEmModel(1, Model());
00075   } 
00076 }

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

Implements G4VEmProcess.

Definition at line 58 of file G4MuElecElastic.cc.

References G4Electron::Electron().

00059 {
00060   return (&p == G4Electron::Electron());
00061 }

void G4MuElecElastic::PrintInfo (  )  [virtual]

Implements G4VEmProcess.

Definition at line 80 of file G4MuElecElastic.cc.

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

00081 {
00082   G4cout
00083     << " Total cross sections computed from " << Model()->GetName() << " model"
00084     << G4endl;
00085 }         


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