Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
HadronPhysicsLHEP Class Reference

#include <HadronPhysicsLHEP.hh>

+ Inheritance diagram for HadronPhysicsLHEP:

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4ParticleTable::G4PTblDicIteratortheParticleIterator
 
G4PhysicsListHelperthePLHelper
 

Detailed Description

Definition at line 59 of file HadronPhysicsLHEP.hh.

Constructor & Destructor Documentation

◆ HadronPhysicsLHEP() [1/2]

HadronPhysicsLHEP::HadronPhysicsLHEP ( G4int  verbose = 1)

Definition at line 57 of file HadronPhysicsLHEP.cc.

58 : G4VPhysicsConstructor("hInelastic LHEP")
59 , theNeutrons(0)
60 , theLHEPNeutron(0)
61 , thePiK(0)
62 , theLHEPPiK(0)
63 , thePro(0)
64 , theLHEPPro(0)
65 , theMiscLHEP(0)
66 , theStoppingHadron(0)
67{}

◆ HadronPhysicsLHEP() [2/2]

HadronPhysicsLHEP::HadronPhysicsLHEP ( const G4String name)

Definition at line 69 of file HadronPhysicsLHEP.cc.

71 , theNeutrons(0)
72 , theLHEPNeutron(0)
73 , thePiK(0)
74 , theLHEPPiK(0)
75 , thePro(0)
76 , theLHEPPro(0)
77 , theMiscLHEP(0)
78 , theStoppingHadron(0)
79{}

◆ ~HadronPhysicsLHEP()

HadronPhysicsLHEP::~HadronPhysicsLHEP ( )
virtual

Definition at line 96 of file HadronPhysicsLHEP.cc.

97{
98 delete theLHEPNeutron;
99 delete theNeutrons;
100 delete theLHEPPro;
101 delete thePro;
102 delete theLHEPPiK;
103 delete thePiK;
104}

Member Function Documentation

◆ ConstructParticle()

void HadronPhysicsLHEP::ConstructParticle ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 106 of file HadronPhysicsLHEP.cc.

107{
108 G4MesonConstructor pMesonConstructor;
109 pMesonConstructor.ConstructParticle();
110
111 G4BaryonConstructor pBaryonConstructor;
112 pBaryonConstructor.ConstructParticle();
113
114 G4ShortLivedConstructor pShortLivedConstructor;
115 pShortLivedConstructor.ConstructParticle();
116}
static void ConstructParticle()
static void ConstructParticle()

◆ ConstructProcess()

void HadronPhysicsLHEP::ConstructProcess ( )
virtual

Implements G4VPhysicsConstructor.

Definition at line 119 of file HadronPhysicsLHEP.cc.

120{
121 CreateModels();
122 theNeutrons->Build();
123 thePro->Build();
124 thePiK->Build();
125 theMiscLHEP->Build();
126 theStoppingHadron->Build();
127}

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