G4EmExtraPhysics Class Reference

#include <G4EmExtraPhysics.hh>

Inheritance diagram for G4EmExtraPhysics:

G4VPhysicsConstructor

Public Member Functions

 G4EmExtraPhysics (G4int ver=1)
 G4EmExtraPhysics (const G4String &name)
virtual ~G4EmExtraPhysics ()
void ConstructParticle ()
void ConstructProcess ()
void Synch (G4String &aState)
void GammaNuclear (G4String &aState)
void MuonNuclear (G4String &aState)

Detailed Description

Definition at line 55 of file G4EmExtraPhysics.hh.


Constructor & Destructor Documentation

G4EmExtraPhysics::G4EmExtraPhysics ( G4int  ver = 1  ) 

Definition at line 63 of file G4EmExtraPhysics.cc.

References bEmExtra, and G4VPhysicsConstructor::SetPhysicsType().

00063                                            : 
00064   G4VPhysicsConstructor("G4GammaLeptoNuclearPhys"), wasBuilt(false), gnActivated(false), 
00065   munActivated(false), synActivated(false), synchOn(false), gammNucOn(true), muNucOn(false), 
00066   theElectronSynch(0), thePositronSynch(0), theGNPhysics(0), muNucProcess(0), muNucModel(0),
00067   verbose(ver)
00068 {
00069   theMessenger = new G4EmMessenger(this);
00070   SetPhysicsType(bEmExtra);
00071 }

G4EmExtraPhysics::G4EmExtraPhysics ( const G4String name  ) 

Definition at line 73 of file G4EmExtraPhysics.cc.

References bEmExtra, and G4VPhysicsConstructor::SetPhysicsType().

00073                                                  : 
00074   G4VPhysicsConstructor("G4GammaLeptoNuclearPhys"), wasBuilt(false), gnActivated(false), 
00075   munActivated(false), synActivated(false), synchOn(false), gammNucOn(true), muNucOn(false), 
00076   theElectronSynch(0), thePositronSynch(0), theGNPhysics(0), muNucProcess(0), muNucModel(0),
00077   verbose(1)
00078 {
00079   theMessenger = new G4EmMessenger(this);
00080   SetPhysicsType(bEmExtra);
00081 }

G4EmExtraPhysics::~G4EmExtraPhysics (  )  [virtual]

Definition at line 83 of file G4EmExtraPhysics.cc.

00084 {
00085   delete theMessenger;
00086   delete theElectronSynch;
00087   delete thePositronSynch;
00088   delete theGNPhysics;
00089   delete muNucProcess;
00090   delete muNucModel;
00091 }


Member Function Documentation

void G4EmExtraPhysics::ConstructParticle (  )  [virtual]

Implements G4VPhysicsConstructor.

Definition at line 117 of file G4EmExtraPhysics.cc.

References G4Electron::Electron(), G4Gamma::Gamma(), G4MuonMinus::MuonMinus(), G4MuonPlus::MuonPlus(), and G4Positron::Positron().

00118 {
00119   G4Gamma::Gamma();
00120   G4Electron::Electron();
00121   G4Positron::Positron();
00122   G4MuonPlus::MuonPlus();
00123   G4MuonMinus::MuonMinus();
00124 }

void G4EmExtraPhysics::ConstructProcess (  )  [virtual]

Implements G4VPhysicsConstructor.

Definition at line 126 of file G4EmExtraPhysics.cc.

00127 {
00128   if(wasBuilt) return;
00129   wasBuilt = true;
00130 
00131   if (synchOn)   BuildSynch();
00132   if (gammNucOn) BuildGammaNuclear();
00133   if (muNucOn)   BuildMuonNuclear();
00134 }

void G4EmExtraPhysics::GammaNuclear ( G4String aState  ) 

Definition at line 101 of file G4EmExtraPhysics.cc.

Referenced by G4EmMessenger::SetNewValue().

00102 {
00103   if(newState == "on" || newState == "ON") {
00104     gammNucOn = true;
00105     if(wasBuilt) BuildGammaNuclear();
00106   } else  gammNucOn = false;
00107 }

void G4EmExtraPhysics::MuonNuclear ( G4String aState  ) 

Definition at line 109 of file G4EmExtraPhysics.cc.

Referenced by G4EmMessenger::SetNewValue().

00110 {
00111   if(newState == "on" || newState == "ON") {
00112     muNucOn = true;
00113     if(wasBuilt) BuildMuonNuclear();
00114   } else muNucOn = false;
00115 }

void G4EmExtraPhysics::Synch ( G4String aState  ) 

Definition at line 93 of file G4EmExtraPhysics.cc.

Referenced by G4EmMessenger::SetNewValue().

00094 {
00095   if(newState == "on" || newState == "ON") {
00096     synchOn = true;
00097     if(wasBuilt) BuildSynch();
00098   } else synchOn = false;
00099 }


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