Public Member Functions | List of all members
gar::garg4::ModularPhysicsList Class Reference

#include <PhysicsList.h>

Inheritance diagram for gar::garg4::ModularPhysicsList:

Public Member Functions

 ModularPhysicsList ()
 
virtual ~ModularPhysicsList ()
 
virtual void ConstructProcess ()
 
void RegisterPhysics (G4VPhysicsConstructor *g)
 
const G4VPhysicsConstructor * GetPhysics (G4int index) const
 
const G4VPhysicsConstructor * GetPhysics (const G4String &name) const
 

Detailed Description

Definition at line 55 of file PhysicsList.h.

Constructor & Destructor Documentation

gar::garg4::ModularPhysicsList::ModularPhysicsList ( )
explicit

Definition at line 34 of file PhysicsList.cxx.

35  : G4VModularPhysicsList()
36  {}
gar::garg4::ModularPhysicsList::~ModularPhysicsList ( )
virtual

Definition at line 40 of file PhysicsList.cxx.

41  {}

Member Function Documentation

void gar::garg4::ModularPhysicsList::ConstructProcess ( )
virtual

Definition at line 44 of file PhysicsList.cxx.

45  {
46  // We don't need to modify G4VModularPhysicsList's
47  // AddTransportation method. Just invoke it directly.
48  G4VModularPhysicsList::AddTransportation();
49 
50  // This code is also unchanged from
51  // G4VModularPhysicsList::ConstructProcess(); it means "activate
52  // the physics processes and particle combinations we've specified
53  // in physicsVector." The physicsVector is built up by the
54  // pre-supplied Geant4 physics list; see PhysicsList.h for the
55  // name of that list. "physicsVector" is defined in
56  // G4VModularPhysicsList.hh.
58  for (itr = G4MT_physicsVector->begin(); itr!= G4MT_physicsVector->end(); ++itr) {
59  (*itr)->ConstructProcess();
60  }
61  }// end ConstructProcess
intermediate_table::iterator iterator
#define G4MT_physicsVector
Definition: PhysicsList.cxx:29
const G4VPhysicsConstructor* gar::garg4::ModularPhysicsList::GetPhysics ( G4int  index) const
inline

Definition at line 72 of file PhysicsList.h.

73  {
74  return G4VModularPhysicsList::GetPhysics(index);
75  }
const G4VPhysicsConstructor* gar::garg4::ModularPhysicsList::GetPhysics ( const G4String &  name) const
inline

Definition at line 76 of file PhysicsList.h.

77  {
78  return G4VModularPhysicsList::GetPhysics(name);
79  }
static QCString name
Definition: declinfo.cpp:673
void gar::garg4::ModularPhysicsList::RegisterPhysics ( G4VPhysicsConstructor *  g)
inline

Definition at line 68 of file PhysicsList.h.

69  {
70  G4VModularPhysicsList::RegisterPhysics(g);
71  }
static constexpr double g
Definition: Units.h:144

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