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

#include <G4EmQExtraPhysics.hh>

+ Inheritance diagram for G4EmQExtraPhysics:

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)
 
- 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 53 of file G4EmQExtraPhysics.hh.

Constructor & Destructor Documentation

◆ G4EmQExtraPhysics() [1/2]

G4EmQExtraPhysics::G4EmQExtraPhysics ( G4int  ver = 1)

Definition at line 61 of file G4EmQExtraPhysics.cc.

61 :
62 G4VPhysicsConstructor("G4GammaLeptoNuclearPhys"), wasBuilt(false), gnActivated(false),
63 munActivated(false), synActivated(false), synchOn(false), gammNucOn(true), muNucOn(false),
64 theElectronSynch(0), thePositronSynch(0), theGNPhysics(0), muNucProcess(0), muNucModel(0),
65 verbose(ver)
66{
67 G4HadronicDeprecate("G4EmQExtraPhysics");
68 theMessenger = new G4EmQMessenger(this);
70}
@ bEmExtra
#define G4HadronicDeprecate(name)

◆ G4EmQExtraPhysics() [2/2]

G4EmQExtraPhysics::G4EmQExtraPhysics ( const G4String name)

Definition at line 72 of file G4EmQExtraPhysics.cc.

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

◆ ~G4EmQExtraPhysics()

G4EmQExtraPhysics::~G4EmQExtraPhysics ( )
virtual

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

Implements G4VPhysicsConstructor.

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

Implements G4VPhysicsConstructor.

Definition at line 126 of file G4EmQExtraPhysics.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 G4EmQExtraPhysics::GammaNuclear ( G4String aState)

Definition at line 101 of file G4EmQExtraPhysics.cc.

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

Referenced by G4EmQMessenger::SetNewValue().

◆ MuonNuclear()

void G4EmQExtraPhysics::MuonNuclear ( G4String aState)

Definition at line 109 of file G4EmQExtraPhysics.cc.

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

Referenced by G4EmQMessenger::SetNewValue().

◆ Synch()

void G4EmQExtraPhysics::Synch ( G4String aState)

Definition at line 93 of file G4EmQExtraPhysics.cc.

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

Referenced by G4EmQMessenger::SetNewValue().


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