Geant4  10.02.p03
ExGflashPhysics Class Reference

#include <ExGflashPhysics.hh>

Inheritance diagram for ExGflashPhysics:
Collaboration diagram for ExGflashPhysics:

Public Member Functions

 ExGflashPhysics (const G4String &name="fastSimulation")
 
virtual ~ExGflashPhysics ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
- Public Member Functions inherited from G4VPhysicsConstructor
 G4VPhysicsConstructor (const G4String &="")
 
 G4VPhysicsConstructor (const G4String &name, G4int physics_type)
 
virtual ~G4VPhysicsConstructor ()
 
void SetPhysicsName (const G4String &="")
 
const G4StringGetPhysicsName () const
 
void SetPhysicsType (G4int)
 
G4int GetPhysicsType () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
G4int GetInstanceID () const
 

Private Member Functions

ExGflashPhysicsoperator= (const ExGflashPhysics &right)
 
 ExGflashPhysics (const ExGflashPhysics &)
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPhysicsConstructor
static const G4VPCManagerGetSubInstanceManager ()
 
- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
- 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 42 of file ExGflashPhysics.hh.

Constructor & Destructor Documentation

◆ ExGflashPhysics() [1/2]

ExGflashPhysics::ExGflashPhysics ( const G4String name = "fastSimulation")

Definition at line 48 of file ExGflashPhysics.cc.

49  : G4VPhysicsConstructor(name)
50 {}
G4VPhysicsConstructor(const G4String &="")

◆ ~ExGflashPhysics()

ExGflashPhysics::~ExGflashPhysics ( )
virtual

Definition at line 54 of file ExGflashPhysics.cc.

55 {}

◆ ExGflashPhysics() [2/2]

ExGflashPhysics::ExGflashPhysics ( const ExGflashPhysics )
private

Member Function Documentation

◆ ConstructParticle()

void ExGflashPhysics::ConstructParticle ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 59 of file ExGflashPhysics.cc.

60 {}

◆ ConstructProcess()

void ExGflashPhysics::ConstructProcess ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 64 of file ExGflashPhysics.cc.

65 {
66  G4FastSimulationManagerProcess* fastSimulationManagerProcess
68  G4cout << "FastSimulationManagerProcess constructed" <<G4endl;
69 
71  particleIterator->reset();
72  while( (*particleIterator)() ){
73  G4ParticleDefinition* particle = particleIterator->value();
74  G4ProcessManager* pmanager = particle->GetProcessManager();
75  // The fast simulation process becomes a discrete process only since 9.0:
76  pmanager->AddDiscreteProcess(fastSimulationManagerProcess);
77  }
78 }
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4ProcessManager * GetProcessManager() const
G4GLOB_DLL std::ostream G4cout
std::vector< G4InuclElementaryParticle >::iterator particleIterator
Definition: G4BigBanger.cc:65
#define G4endl
Definition: G4ios.hh:61
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
Here is the call graph for this function:

◆ operator=()

ExGflashPhysics& ExGflashPhysics::operator= ( const ExGflashPhysics right)
private

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