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

#include <G4EmLowEPPhysics.hh>

+ Inheritance diagram for G4EmLowEPPhysics:

Public Member Functions

 G4EmLowEPPhysics (G4int ver=1, const G4String &name="")
 
 ~G4EmLowEPPhysics () override
 
void ConstructParticle () override
 
void ConstructProcess () override
 
- 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
 
G4int GetInstanceID () const
 
virtual void TerminateWorker ()
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPhysicsConstructor
static const G4VPCManagerGetSubInstanceManager ()
 
- Protected Types inherited from G4VPhysicsConstructor
using PhysicsBuilder_V = G4VPCData::PhysicsBuilders_V
 
- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
PhysicsBuilder_V GetBuilders () const
 
void AddBuilder (G4PhysicsBuilderInterface *bld)
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4int g4vpcInstanceID
 
- Static Protected Attributes inherited from G4VPhysicsConstructor
static G4RUN_DLL G4VPCManager subInstanceManager
 

Detailed Description

Definition at line 35 of file G4EmLowEPPhysics.hh.

Constructor & Destructor Documentation

◆ G4EmLowEPPhysics()

G4EmLowEPPhysics::G4EmLowEPPhysics ( G4int  ver = 1,
const G4String name = "" 
)
explicit

Definition at line 109 of file G4EmLowEPPhysics.cc.

110 : G4VPhysicsConstructor("G4EmLowEPPhysics"), verbose(ver)
111{
113 param->SetDefaults();
114 param->SetVerbose(verbose);
115 param->SetMinEnergy(100*CLHEP::eV);
116 param->SetLowestElectronEnergy(100*CLHEP::eV);
117 param->SetNumberOfBinsPerDecade(20);
119 param->SetStepFunction(0.2, 100*CLHEP::um);
120 param->SetStepFunctionMuHad(0.1, 50*CLHEP::um);
121 param->SetStepFunctionLightIons(0.1, 20*CLHEP::um);
122 param->SetStepFunctionIons(0.1, 1*CLHEP::um);
123 param->SetUseMottCorrection(true);
124 param->SetMscRangeFactor(0.04);
125 param->SetMuHadLateralDisplacement(true);
126 param->SetFluo(true);
127 param->SetUseICRU90Data(true);
129}
@ bElectromagnetic
void SetMinEnergy(G4double val)
void SetLowestElectronEnergy(G4double val)
void SetStepFunctionLightIons(G4double v1, G4double v2)
void SetNumberOfBinsPerDecade(G4int val)
static G4EmParameters * Instance()
void SetMuHadLateralDisplacement(G4bool val)
void ActivateAngularGeneratorForIonisation(G4bool val)
void SetStepFunction(G4double v1, G4double v2)
void SetFluo(G4bool val)
void SetStepFunctionMuHad(G4double v1, G4double v2)
void SetVerbose(G4int val)
void SetStepFunctionIons(G4double v1, G4double v2)
void SetUseICRU90Data(G4bool val)
void SetUseMottCorrection(G4bool val)
void SetMscRangeFactor(G4double val)

◆ ~G4EmLowEPPhysics()

G4EmLowEPPhysics::~G4EmLowEPPhysics ( )
override

Definition at line 133 of file G4EmLowEPPhysics.cc.

134{}

Member Function Documentation

◆ ConstructParticle()

void G4EmLowEPPhysics::ConstructParticle ( )
overridevirtual

Implements G4VPhysicsConstructor.

Definition at line 138 of file G4EmLowEPPhysics.cc.

139{
140 // minimal set of particles for EM physics
142}
static void ConstructMinimalEmSet()
Definition: G4EmBuilder.cc:234

◆ ConstructProcess()

void G4EmLowEPPhysics::ConstructProcess ( )
overridevirtual

Implements G4VPhysicsConstructor.

Definition at line 146 of file G4EmLowEPPhysics.cc.

147{
148 if(verbose > 1) {
149 G4cout << "### " << GetPhysicsName() << " Construct Processes " << G4endl;
150 }
152
154
155 // common processes
157 G4hMultipleScattering* hmsc = new G4hMultipleScattering("ionmsc");
158
159 // nuclear stopping
161 pnuc->SetMaxKinEnergy(CLHEP::MeV);
162
163 // Add gamma EM Processes
165
167 G4VEmModel* theLivermorePEModel = new G4LivermorePhotoElectricModel();
168 pe->SetEmModel(theLivermorePEModel);
169
170 // Compton scattering - Livermore model above 20 MeV, Monarsh's model below
173 G4VEmModel* theLowEPComptonModel = new G4LowEPComptonModel();
174 theLowEPComptonModel->SetHighEnergyLimit(20*MeV);
175 cs->AddEmModel(0, theLowEPComptonModel);
176
177 // gamma conversion - 5D model below 80 GeV with Livermore x-sections
178 G4GammaConversion* theGammaConversion = new G4GammaConversion();
179 G4VEmModel* conv = new G4BetheHeitler5DModel();
180 theGammaConversion->SetEmModel(conv);
181
182 // default Rayleigh scattering is Livermore
183 G4RayleighScattering* theRayleigh = new G4RayleighScattering();
184
185 ph->RegisterProcess(pe, particle);
186 ph->RegisterProcess(cs, particle);
187 ph->RegisterProcess(theGammaConversion, particle);
188 ph->RegisterProcess(theRayleigh, particle);
189
190 // e-
191 particle = G4Electron::Electron();
192
193 // multiple scattering
196
197 // Ionisation - Livermore should be used only for low energies
198 G4eIonisation* eioni = new G4eIonisation();
200 theIoniLivermore->SetHighEnergyLimit(0.1*CLHEP::MeV);
201 eioni->AddEmModel(0, theIoniLivermore, new G4UniversalFluctuation() );
202
203 // Bremsstrahlung
209 brem->SetEmModel(br1);
210 brem->SetEmModel(br2);
211 br1->SetHighEnergyLimit(GeV);
212
213 // register processes
214 ph->RegisterProcess(msc, particle);
215 ph->RegisterProcess(eioni, particle);
216 ph->RegisterProcess(brem, particle);
217
218 // e+
219 particle = G4Positron::Positron();
220
221 // multiple scattering
222 msc = new G4eMultipleScattering();
224
225 // Standard ionisation
226 eioni = new G4eIonisation();
227
228 // Bremsstrahlung
229 brem = new G4eBremsstrahlung();
230 br1 = new G4SeltzerBergerModel();
231 br2 = new G4eBremsstrahlungRelModel();
234 brem->SetEmModel(br1);
235 brem->SetEmModel(br2);
236 br1->SetHighEnergyLimit(CLHEP::GeV);
237
238 // register processes
239 ph->RegisterProcess(msc, particle);
240 ph->RegisterProcess(eioni, particle);
241 ph->RegisterProcess(brem, particle);
242 ph->RegisterProcess(ee, particle);
243 ph->RegisterProcess(new G4eplusAnnihilation(), particle);
244
245 // generic ion
246 particle = G4GenericIon::GenericIon();
247
248 G4ionIonisation* ionIoni = new G4ionIonisation();
250 ionIoni->SetEmModel(mod);
251
252 ph->RegisterProcess(hmsc, particle);
253 ph->RegisterProcess(ionIoni, particle);
254 ph->RegisterProcess(pnuc, particle);
255
256 // muons, hadrons ions
258
259 // extra configuration
261}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
static G4Electron * Electron()
Definition: G4Electron.cc:93
static void ConstructCharged(G4hMultipleScattering *hmsc, G4NuclearStopping *nucStopping, G4bool isWVI=true)
Definition: G4EmBuilder.cc:170
static void PrepareEMPhysics()
Definition: G4EmBuilder.cc:259
static G4Gamma * Gamma()
Definition: G4Gamma.cc:85
static G4GenericIon * GenericIon()
Definition: G4GenericIon.cc:92
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)
static G4PhysicsListHelper * GetPhysicsListHelper()
static G4Positron * Positron()
Definition: G4Positron.cc:93
void SetHighEnergyLimit(G4double)
Definition: G4VEmModel.hh:757
void SetAngularDistribution(G4VEmAngularDistribution *)
Definition: G4VEmModel.hh:618
void AddEmModel(G4int, G4VEmModel *, const G4Region *region=nullptr)
void SetEmModel(G4VEmModel *, G4int index=0)
void SetMaxKinEnergy(G4double e)
void SetEmModel(G4VEmModel *, G4int index=0)
void AddEmModel(G4int, G4VEmModel *, G4VEmFluctuationModel *fluc=0, const G4Region *region=nullptr)
void SetEmModel(G4VMscModel *, size_t index=0)
const G4String & GetPhysicsName() const

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