G4EmQExtraPhysics Class Reference

#include <G4EmQExtraPhysics.hh>

Inheritance diagram for G4EmQExtraPhysics:

G4VPhysicsConstructor

Public Member Functions

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

Detailed Description

Definition at line 53 of file G4EmQExtraPhysics.hh.


Constructor & Destructor Documentation

G4EmQExtraPhysics::G4EmQExtraPhysics ( G4int  ver = 1  ) 

Definition at line 61 of file G4EmQExtraPhysics.cc.

References bEmExtra, G4HadronicDeprecate, and G4VPhysicsConstructor::SetPhysicsType().

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

G4EmQExtraPhysics::G4EmQExtraPhysics ( const G4String name  ) 

Definition at line 72 of file G4EmQExtraPhysics.cc.

References bEmExtra, G4HadronicDeprecate, and G4VPhysicsConstructor::SetPhysicsType().

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

G4EmQExtraPhysics::~G4EmQExtraPhysics (  )  [virtual]

Definition at line 83 of file G4EmQExtraPhysics.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 G4EmQExtraPhysics::ConstructParticle (  )  [virtual]

Implements G4VPhysicsConstructor.

Definition at line 117 of file G4EmQExtraPhysics.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 G4EmQExtraPhysics::ConstructProcess (  )  [virtual]

Implements G4VPhysicsConstructor.

Definition at line 126 of file G4EmQExtraPhysics.cc.

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

void G4EmQExtraPhysics::GammaNuclear ( G4String aState  ) 

Definition at line 101 of file G4EmQExtraPhysics.cc.

Referenced by G4EmQMessenger::SetNewValue().

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

void G4EmQExtraPhysics::MuonNuclear ( G4String aState  ) 

Definition at line 109 of file G4EmQExtraPhysics.cc.

Referenced by G4EmQMessenger::SetNewValue().

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

void G4EmQExtraPhysics::Synch ( G4String aState  ) 

Definition at line 93 of file G4EmQExtraPhysics.cc.

Referenced by G4EmQMessenger::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:53 2013 for Geant4 by  doxygen 1.4.7