Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StepMaxBuilder Class Reference

#include <StepMaxBuilder.hh>

Inheritance diagram for StepMaxBuilder:
Collaboration diagram for StepMaxBuilder:

Public Member Functions

 StepMaxBuilder (const G4String &name="UserStepMax")
 
 ~StepMaxBuilder ()
 
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
 

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 StepMaxBuilder.hh.

Constructor & Destructor Documentation

StepMaxBuilder::StepMaxBuilder ( const G4String name = "UserStepMax")

Definition at line 45 of file StepMaxBuilder.cc.

47 { }
G4VPhysicsConstructor(const G4String &="")
StepMaxBuilder::~StepMaxBuilder ( )

Definition at line 51 of file StepMaxBuilder.cc.

52 { }

Member Function Documentation

virtual void StepMaxBuilder::ConstructParticle ( void  )
inlinevirtual

Implements G4VPhysicsConstructor.

Definition at line 49 of file StepMaxBuilder.hh.

49 { };
void StepMaxBuilder::ConstructProcess ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 56 of file StepMaxBuilder.cc.

57 {
58  // Step limitation seen as a process
59  StepMaxProcess* process = new StepMaxProcess();
60 
62  particleIterator->reset();
63  while ((*particleIterator)()){
64  G4ParticleDefinition* particle = particleIterator->value();
65  G4ProcessManager* pmanager = particle->GetProcessManager();
66  if (process->IsApplicable(*particle)) pmanager->AddDiscreteProcess(process);
67  }
68 }
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
G4ParticleTable::G4PTblDicIterator * GetParticleIterator() const
G4ProcessManager * GetProcessManager() const
std::vector< G4InuclElementaryParticle >::iterator particleIterator
Definition: G4BigBanger.cc:65
virtual G4bool IsApplicable(const G4ParticleDefinition &)

Here is the call graph for this function:


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