#include <EDepSimExtraPhysics.hh>
Definition at line 20 of file EDepSimExtraPhysics.hh.
EDepSim::ExtraPhysics::ExtraPhysics |
( |
| ) |
|
|
explicit |
Construct the extra physics lists. The argument is the default recombination for argon. If the value is negative, then use NEST.
Definition at line 23 of file EDepSimExtraPhysics.cc.
EDepSim::ExtraPhysics::~ExtraPhysics |
( |
| ) |
|
|
virtual |
void EDepSim::ExtraPhysics::ConstructParticle |
( |
| ) |
|
|
virtual |
void EDepSim::ExtraPhysics::ConstructProcess |
( |
| ) |
|
|
virtual |
Definition at line 32 of file EDepSimExtraPhysics.cc.
33 EDepSimLog(
"EDepSim::ExtraPhysics:: Add Extra Physics Processes");
35 G4ParticleTable::G4PTblDicIterator* theParticleIterator
36 = theParticleTable->GetIterator();
38 theParticleIterator->reset();
39 while ((*theParticleIterator)()) {
40 G4ParticleDefinition* particle = theParticleIterator->value();
41 G4ProcessManager* pman = particle->GetProcessManager();
42 G4String particleName = particle->GetParticleName();
43 G4String particleType = particle->GetParticleType();
44 double charge = particle->GetPDGCharge();
49 <<
" without a Process Manager.");
56 pman->AddDiscreteProcess(
new G4StepLimiter(
"Step Limit"));
65 pman->AddProcess(scintProcess,ordDefault,
66 ordInActive,ordDefault);
74 pman->AddProcess(scintProcess,ordDefault,
75 ordInActive,ordDefault);
#define EDepSimLog(outStream)
G4bool IsApplicable(const G4ParticleDefinition &aParticleType)
Determine which particles this process should be applied too.
#define EDepSimThrow(message)
Print an error message, and then throw an exception.
G4bool IsApplicable(const G4ParticleDefinition &aParticleType)
void SetScintillationYieldFactor(const G4double yieldfactor)
#define EDepSimError(outStream)
void EDepSim::ExtraPhysics::SetIonizationModel |
( |
int |
m | ) |
|
|
inline |
Set the ionization model to be use. The ionization model calculates the amount of total deposited energy that will be visible as ionization. Because of how G4 works, the total energy deposited and the non-ionization energy are tabulated. The implemented models are: 0) Use NEST to make a detailed calculation. 1) Use EDepSim::SimpleScintillation to make a quick calculation.
Definition at line 37 of file EDepSimExtraPhysics.hh.
int EDepSim::ExtraPhysics::fIonizationModel |
|
private |
The documentation for this class was generated from the following files: