Belle II Software development
ExtPhysicsList Class Reference

Standalone physics list for the geant4e extrapolator. More...

#include <ExtPhysicsList.h>

Inheritance diagram for ExtPhysicsList:

Public Member Functions

 ExtPhysicsList ()
 Constructor.
 
virtual ~ExtPhysicsList ()
 Destructor.
 
void SetCuts ()
 Required method: sets cutoff values for propagation.
 

Detailed Description

Standalone physics list for the geant4e extrapolator.

This is used only if the simulation module is not present; otherwise, the simulation's physics list (which contains this) is used.

Definition at line 28 of file ExtPhysicsList.h.

Constructor & Destructor Documentation

◆ ExtPhysicsList()

Constructor.

Definition at line 37 of file ExtPhysicsList.cc.

37 : G4VModularPhysicsList()
38{
39 defaultCutValue = 0.7 * CLHEP::mm; //Default production cut value. Unit given in Geant4 units.
40 //defaultCutValue = 1.0E+9 * CLHEP::cm; // set big step so that AlongStep computes all the energy
41
42 // Instead of calling G4EmStandardPhysics to create process tables for standard particles that
43 // will never be used, we just define the standard particles that are in Const::ChargedStable but
44 // don't assign any processes to them. Note that G4PhysicsListHelper::CheckParticleList requires
45 // G4Gamma and G4GenericIon. G4EmStandardPhysics() defines Gamma, Electron, Positron, MuonPlus,
46 // MuonMinus, PionPlus, PionMinus, KaonPlus, KaonMinus, Proton, AntiProton, Deuteron, Triton, He3,
47 // Alpha, and GenericIon -- but not AntiDeuteron.
48 //- G4AntiDeuteron::AntiDeuteron();
49 //- RegisterPhysics(new G4EmStandardPhysics);
50 G4Gamma::Gamma();
51 G4Electron::Electron();
52 G4Positron::Positron();
53 G4MuonMinus::MuonMinus();
54 G4MuonPlus::MuonPlus();
55 G4PionPlus::PionPlus();
56 G4PionMinus::PionMinus();
57 G4KaonPlus::KaonPlus();
58 G4KaonMinus::KaonMinus();
59 G4Proton::Proton();
60 G4AntiProton::AntiProton();
61 G4Deuteron::Deuteron();
62 G4AntiDeuteron::AntiDeuteron();
63 G4GenericIon::GenericIon();
64 RegisterPhysics(new ExtPhysicsConstructor);
65 if (false) SetCuts();
66}
void SetCuts()
Required method: sets cutoff values for propagation.

◆ ~ExtPhysicsList()

~ExtPhysicsList ( )
virtual

Destructor.

Definition at line 68 of file ExtPhysicsList.cc.

69{
70}

Member Function Documentation

◆ SetCuts()

void SetCuts ( )

Required method: sets cutoff values for propagation.

Definition at line 72 of file ExtPhysicsList.cc.

73{
74 // Set cuts to the defaultCutValue.
75 SetCutsWithDefault();
76 // // LEP: For geant4e-specific particles, set a big step so that AlongStep computes
77 // // all the energy (as is done in G4ErrorPhysicsList)
78 // G4ParticleTable* myParticleTable = G4ParticleTable::GetParticleTable();
79 // G4ParticleTable::G4PTblDicIterator* myParticleIterator = myParticleTable->GetIterator();
80 // myParticleIterator->reset();
81 // while ((*myParticleIterator)()) {
82 // G4ParticleDefinition* particle = myParticleIterator->value();
83 // if (particle->GetParticleName().substr(0, 4) == "g4e_") {
84 // SetParticleCuts(1.0E+9 * CLHEP::cm, particle);
85 // }
86 // }
87
88}

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