Geant4 11.2.2
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 ()
 
void SetPhysicsName (const G4String &="")
 
const G4StringGetPhysicsName () const
 
void SetPhysicsType (G4int)
 
G4int GetPhysicsType () const
 
G4int GetInstanceID () const
 
virtual void TerminateWorker ()
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 

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 = 0
 
G4String namePhysics = ""
 
G4int typePhysics = 0
 
G4ParticleTabletheParticleTable = nullptr
 
G4int g4vpcInstanceID = 0
 
- 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 51 of file G4MuonicAtomDecayPhysics.cc.

52 : G4VPhysicsConstructor("G4MuonicAtomDecay")
53{
56#ifdef G4VERBOSE
57 if (GetVerboseLevel()>0) {
58 G4cout << "G4MuonicAtomDecayPhysics() with verboseLevel "
59 << verboseLevel << G4endl;
60 }
61#endif
62}
#define G4endl
Definition G4ios.hh:67
G4GLOB_DLL std::ostream G4cout
static void InitialiseParameters()
G4VPhysicsConstructor(const G4String &="")
void SetVerboseLevel(G4int value)

◆ G4MuonicAtomDecayPhysics() [2/2]

G4MuonicAtomDecayPhysics::G4MuonicAtomDecayPhysics ( const G4String & name)
explicit

Definition at line 64 of file G4MuonicAtomDecayPhysics.cc.

66{
67}

◆ ~G4MuonicAtomDecayPhysics()

G4MuonicAtomDecayPhysics::~G4MuonicAtomDecayPhysics ( )
virtual

Definition at line 71 of file G4MuonicAtomDecayPhysics.cc.

72{
73}

Member Function Documentation

◆ ConstructParticle()

void G4MuonicAtomDecayPhysics::ConstructParticle ( )
overridevirtual

Implements G4VPhysicsConstructor.

Definition at line 77 of file G4MuonicAtomDecayPhysics.cc.

78{
79#ifdef G4VERBOSE
80 if (GetVerboseLevel()>0) {
81 G4cout << "G4MuonicAtomDecayPhysics::ConstructParticle()" << G4endl;
82 }
83#endif
85}
static G4GenericMuonicAtom * GenericMuonicAtom()

◆ ConstructProcess()

void G4MuonicAtomDecayPhysics::ConstructProcess ( )
overridevirtual

Implements G4VPhysicsConstructor.

Definition at line 89 of file G4MuonicAtomDecayPhysics.cc.

90{
92 G4int plhvl = plh->GetVerboseLevel();
93#ifdef G4VERBOSE
94 if (GetVerboseLevel()>0) {
95 G4cout << "G4MuonicAtomDecayPhysics::ConstructProcess() verboseLevel "
96 << GetVerboseLevel() << " to be set to " << plhvl << G4endl;
97 }
98#endif
99 G4bool rc1 = plh->
100 RegisterProcess(new G4MuonicAtomDecay(nullptr), // default G4HadronicInteraction* will be set
102 plh->SetVerboseLevel(plhvl);
103 if (!(rc1)) {
104 G4cout << " G4MuonicAtomDecayPhysics::ConstructProcess() : "
105 << " RegisterProcess failed for G4GenericMuonicAtom "
106 << G4endl;
107 }
108}
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: