Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4EmExtraPhysics Class Reference

#include <G4EmExtraPhysics.hh>

+ Inheritance diagram for G4EmExtraPhysics:

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)
 
- Public Member Functions inherited from G4VPhysicsConstructor
 G4VPhysicsConstructor (const G4String &="")
 
 G4VPhysicsConstructor (const G4String &name, G4int physics_type)
 
virtual ~G4VPhysicsConstructor ()
 
virtual void ConstructParticle ()=0
 
virtual void ConstructProcess ()=0
 
void SetPhysicsName (const G4String &="")
 
const G4StringGetPhysicsName () const
 
void SetPhysicsType (G4int)
 
G4int GetPhysicsType () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 

Additional Inherited Members

- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4ParticleTable::G4PTblDicIteratortheParticleIterator
 
G4PhysicsListHelperthePLHelper
 

Detailed Description

Definition at line 55 of file G4EmExtraPhysics.hh.

Constructor & Destructor Documentation

◆ G4EmExtraPhysics() [1/2]

G4EmExtraPhysics::G4EmExtraPhysics ( G4int  ver = 1)

Definition at line 63 of file G4EmExtraPhysics.cc.

63 :
64 G4VPhysicsConstructor("G4GammaLeptoNuclearPhys"), wasBuilt(false), gnActivated(false),
65 munActivated(false), synActivated(false), synchOn(false), gammNucOn(true), muNucOn(false),
66 theElectronSynch(0), thePositronSynch(0), theGNPhysics(0), muNucProcess(0), muNucModel(0),
67 verbose(ver)
68{
69 theMessenger = new G4EmMessenger(this);
71}
@ bEmExtra

◆ G4EmExtraPhysics() [2/2]

G4EmExtraPhysics::G4EmExtraPhysics ( const G4String name)

Definition at line 73 of file G4EmExtraPhysics.cc.

73 :
74 G4VPhysicsConstructor("G4GammaLeptoNuclearPhys"), wasBuilt(false), gnActivated(false),
75 munActivated(false), synActivated(false), synchOn(false), gammNucOn(true), muNucOn(false),
76 theElectronSynch(0), thePositronSynch(0), theGNPhysics(0), muNucProcess(0), muNucModel(0),
77 verbose(1)
78{
79 theMessenger = new G4EmMessenger(this);
81}

◆ ~G4EmExtraPhysics()

G4EmExtraPhysics::~G4EmExtraPhysics ( )
virtual

Definition at line 83 of file G4EmExtraPhysics.cc.

84{
85 delete theMessenger;
86 delete theElectronSynch;
87 delete thePositronSynch;
88 delete theGNPhysics;
89 delete muNucProcess;
90 delete muNucModel;
91}

Member Function Documentation

◆ ConstructParticle()

void G4EmExtraPhysics::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 117 of file G4EmExtraPhysics.cc.

118{
124}
static G4Electron * Electron()
Definition: G4Electron.cc:94
static G4Gamma * Gamma()
Definition: G4Gamma.cc:86
static G4MuonMinus * MuonMinus()
Definition: G4MuonMinus.cc:100
static G4MuonPlus * MuonPlus()
Definition: G4MuonPlus.cc:99
static G4Positron * Positron()
Definition: G4Positron.cc:94

◆ ConstructProcess()

void G4EmExtraPhysics::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 126 of file G4EmExtraPhysics.cc.

127{
128 if(wasBuilt) return;
129 wasBuilt = true;
130
131 if (synchOn) BuildSynch();
132 if (gammNucOn) BuildGammaNuclear();
133 if (muNucOn) BuildMuonNuclear();
134}

◆ GammaNuclear()

void G4EmExtraPhysics::GammaNuclear ( G4String aState)

Definition at line 101 of file G4EmExtraPhysics.cc.

102{
103 if(newState == "on" || newState == "ON") {
104 gammNucOn = true;
105 if(wasBuilt) BuildGammaNuclear();
106 } else gammNucOn = false;
107}

Referenced by G4EmMessenger::SetNewValue().

◆ MuonNuclear()

void G4EmExtraPhysics::MuonNuclear ( G4String aState)

Definition at line 109 of file G4EmExtraPhysics.cc.

110{
111 if(newState == "on" || newState == "ON") {
112 muNucOn = true;
113 if(wasBuilt) BuildMuonNuclear();
114 } else muNucOn = false;
115}

Referenced by G4EmMessenger::SetNewValue().

◆ Synch()

void G4EmExtraPhysics::Synch ( G4String aState)

Definition at line 93 of file G4EmExtraPhysics.cc.

94{
95 if(newState == "on" || newState == "ON") {
96 synchOn = true;
97 if(wasBuilt) BuildSynch();
98 } else synchOn = false;
99}

Referenced by G4EmMessenger::SetNewValue().


The documentation for this class was generated from the following files: