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

#include <GammaPhysics.hh>

Inheritance diagram for GammaPhysics:
Collaboration diagram for GammaPhysics:

Public Member Functions

 GammaPhysics (const G4String &name="gamma")
 
 ~GammaPhysics ()
 
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 GammaPhysics.hh.

Constructor & Destructor Documentation

GammaPhysics::GammaPhysics ( const G4String name = "gamma")

Definition at line 48 of file GammaPhysics.cc.

50 { }
G4VPhysicsConstructor(const G4String &="")
GammaPhysics::~GammaPhysics ( )

Definition at line 54 of file GammaPhysics.cc.

55 { }

Member Function Documentation

virtual void GammaPhysics::ConstructParticle ( void  )
inlinevirtual

Implements G4VPhysicsConstructor.

Definition at line 49 of file GammaPhysics.hh.

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

Implements G4VPhysicsConstructor.

Definition at line 59 of file GammaPhysics.cc.

60 {
62  //
64  //
65  G4CascadeInterface* bertini = new G4CascadeInterface();
66  bertini->SetMaxEnergy(10*GeV);
67  process->RegisterMe(bertini);
68  //
69  pManager->AddDiscreteProcess(process);
70 }
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
void RegisterMe(G4HadronicInteraction *a)
static G4Gamma * Gamma()
Definition: G4Gamma.cc:86
G4ProcessManager * GetProcessManager() const
static constexpr double GeV
Definition: G4SIunits.hh:217
void SetMaxEnergy(const G4double anEnergy)

Here is the call graph for this function:


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