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

#include <G4MuonicAtomDecayPhysics.hh>

+ Inheritance diagram for G4MuonicAtomDecayPhysics:

Public Member Functions

 G4MuonicAtomDecayPhysics (G4int verbose=0)
 
 G4MuonicAtomDecayPhysics (const G4String &name)
 
virtual ~G4MuonicAtomDecayPhysics ()
 
virtual void ConstructParticle () override
 
virtual void ConstructProcess () override
 
- 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
 
G4int GetInstanceID () const
 
virtual void TerminateWorker ()
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPhysicsConstructor
static const G4VPCManagerGetSubInstanceManager ()
 
- Protected Types inherited from G4VPhysicsConstructor
using PhysicsBuilder_V = G4VPCData::PhysicsBuilders_V
 
- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
PhysicsBuilder_V GetBuilders () const
 
void AddBuilder (G4PhysicsBuilderInterface *bld)
 
- 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 36 of file G4MuonicAtomDecayPhysics.hh.

Constructor & Destructor Documentation

◆ G4MuonicAtomDecayPhysics() [1/2]

G4MuonicAtomDecayPhysics::G4MuonicAtomDecayPhysics ( G4int  verbose = 0)
explicit

Definition at line 50 of file G4MuonicAtomDecayPhysics.cc.

51 : G4VPhysicsConstructor("G4MuonicAtomDecay")
52{
54#ifdef G4VERBOSE
55 if (GetVerboseLevel()>0) {
56 G4cout << "G4MuonicAtomDecayPhysics() with verboseLevel "
57 << verboseLevel << G4endl;
58 }
59#endif
60}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
void SetVerboseLevel(G4int value)

◆ G4MuonicAtomDecayPhysics() [2/2]

G4MuonicAtomDecayPhysics::G4MuonicAtomDecayPhysics ( const G4String name)
explicit

Definition at line 62 of file G4MuonicAtomDecayPhysics.cc.

64{
65#ifdef G4VERBOSE
66 if (GetVerboseLevel()>0) {
67 G4cout << "G4MuonicAtomDecayPhysics() with verboseLevel "
68 << verboseLevel << " and name " << name << G4endl;
69 }
70#endif
71}
const char * name(G4int ptype)

◆ ~G4MuonicAtomDecayPhysics()

G4MuonicAtomDecayPhysics::~G4MuonicAtomDecayPhysics ( )
virtual

Definition at line 75 of file G4MuonicAtomDecayPhysics.cc.

76{
77}

Member Function Documentation

◆ ConstructParticle()

void G4MuonicAtomDecayPhysics::ConstructParticle ( )
overridevirtual

Implements G4VPhysicsConstructor.

Definition at line 81 of file G4MuonicAtomDecayPhysics.cc.

82{
83#ifdef G4VERBOSE
84 if (GetVerboseLevel()>0) {
85 G4cout << "G4MuonicAtomDecayPhysics::ConstructParticle()" << G4endl;
86 }
87#endif
89}
static G4GenericMuonicAtom * GenericMuonicAtom()

◆ ConstructProcess()

void G4MuonicAtomDecayPhysics::ConstructProcess ( )
overridevirtual

Implements G4VPhysicsConstructor.

Definition at line 93 of file G4MuonicAtomDecayPhysics.cc.

94{
96 G4int plhvl = plh->GetVerboseLevel();
97#ifdef G4VERBOSE
98 if (GetVerboseLevel()>0) {
99 G4cout << "G4MuonicAtomDecayPhysics::ConstructProcess() verboseLevel "
100 << GetVerboseLevel() << " to be set to " << plhvl << G4endl;
101 }
102#endif
103 G4bool rc1 = plh->
104 RegisterProcess(new G4MuonicAtomDecay(nullptr), // default G4HadronicInteraction* will be set
106 plh->SetVerboseLevel(plhvl);
107 if (!(rc1)) {
108 G4cout << " G4MuonicAtomDecayPhysics::ConstructProcess() : "
109 << " RegisterProcess failed for G4GenericMuonicAtom "
110 << G4endl;
111 }
112}
bool G4bool
Definition: G4Types.hh:86
int G4int
Definition: G4Types.hh:85
static G4PhysicsListHelper * GetPhysicsListHelper()
void SetVerboseLevel(G4int value)
G4bool RegisterProcess(G4VProcess *process, G4ParticleDefinition *particle)

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