Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4ExtDecayerPhysics Class Reference

The builder for external decayer. More...

#include <TG4ExtDecayerPhysics.h>

Inheritance diagram for TG4ExtDecayerPhysics:

Public Member Functions

 TG4ExtDecayerPhysics (const G4String &name="ExtDecayer")
 
 TG4ExtDecayerPhysics (G4int theVerboseLevel, const G4String &name="ExtDecayer")
 
virtual ~TG4ExtDecayerPhysics ()
 
void SetSelection (const G4String &selection)
 
void SetSkipNeutrino (G4bool skipNeutrino)
 
- Public Member Functions inherited from TG4VPhysicsConstructor
 TG4VPhysicsConstructor (const G4String &name)
 
 TG4VPhysicsConstructor (const G4String &name, G4int theVerboseLevel)
 
virtual ~TG4VPhysicsConstructor ()
 
- Public Member Functions inherited from TG4Verbose
 TG4Verbose (const G4String &cmdName)
 
 TG4Verbose (const G4String &cmdName, G4int verboseLevel)
 
virtual ~TG4Verbose ()
 

Protected Member Functions

virtual void ConstructParticle ()
 Construct particles.
 
virtual void ConstructProcess ()
 Construct physics processes.
 
- Protected Member Functions inherited from TG4VPhysicsConstructor
virtual void VerboseLevel (G4int level)
 
virtual G4int VerboseLevel () const
 

Private Member Functions

 TG4ExtDecayerPhysics (const TG4ExtDecayerPhysics &right)
 Not implemented.
 
TG4ExtDecayerPhysicsoperator= (const TG4ExtDecayerPhysics &right)
 Not implemented.
 

Private Attributes

TG4ExtDecayerMessenger fMessenger
 messenger
 
G4Decay * fDecayProcess
 decay process
 
G4String fSelection
 particles selection
 
G4bool fSkipNeutrino
 option to skip importing neutrinos
 

Detailed Description

The builder for external decayer.

The external decayer is added to all instantiated decay processes

Author
I. Hrivnacova; IPN Orsay

Definition at line 32 of file TG4ExtDecayerPhysics.h.

Constructor & Destructor Documentation

◆ TG4ExtDecayerPhysics() [1/3]

TG4ExtDecayerPhysics::TG4ExtDecayerPhysics ( const G4String & name = "ExtDecayer")

Standard constructor

Definition at line 27 of file TG4ExtDecayerPhysics.cxx.

◆ TG4ExtDecayerPhysics() [2/3]

TG4ExtDecayerPhysics::TG4ExtDecayerPhysics ( G4int theVerboseLevel,
const G4String & name = "ExtDecayer" )

Standard constructor

Definition at line 38 of file TG4ExtDecayerPhysics.cxx.

◆ ~TG4ExtDecayerPhysics()

TG4ExtDecayerPhysics::~TG4ExtDecayerPhysics ( )
virtual

Destructor

Definition at line 50 of file TG4ExtDecayerPhysics.cxx.

◆ TG4ExtDecayerPhysics() [3/3]

TG4ExtDecayerPhysics::TG4ExtDecayerPhysics ( const TG4ExtDecayerPhysics & right)
private

Not implemented.

Member Function Documentation

◆ SetSelection()

void TG4ExtDecayerPhysics::SetSelection ( const G4String & selection)
inline

Select particles for which the external decayer will have priority over using Geant4 decay table

Definition at line 65 of file TG4ExtDecayerPhysics.h.

Referenced by TG4ExtDecayerMessenger::SetNewValue().

◆ SetSkipNeutrino()

void TG4ExtDecayerPhysics::SetSkipNeutrino ( G4bool skipNeutrino)
inline

Set option to skip importing neutrinos

Definition at line 72 of file TG4ExtDecayerPhysics.h.

Referenced by TG4ExtDecayerMessenger::SetNewValue().

◆ ConstructParticle()

void TG4ExtDecayerPhysics::ConstructParticle ( )
protectedvirtual

Construct particles.

Nothing to be done here

Implements TG4VPhysicsConstructor.

Definition at line 62 of file TG4ExtDecayerPhysics.cxx.

◆ ConstructProcess()

void TG4ExtDecayerPhysics::ConstructProcess ( )
protectedvirtual

Construct physics processes.

Loop over all particles instantiated and add external decayer to all decay processes if External decayer is set

Implements TG4VPhysicsConstructor.

Definition at line 68 of file TG4ExtDecayerPhysics.cxx.

◆ operator=()

TG4ExtDecayerPhysics & TG4ExtDecayerPhysics::operator= ( const TG4ExtDecayerPhysics & right)
private

Not implemented.

Member Data Documentation

◆ fMessenger

TG4ExtDecayerMessenger TG4ExtDecayerPhysics::fMessenger
private

messenger

Definition at line 57 of file TG4ExtDecayerPhysics.h.

◆ fDecayProcess

G4Decay* TG4ExtDecayerPhysics::fDecayProcess
private

decay process

Definition at line 58 of file TG4ExtDecayerPhysics.h.

Referenced by ~TG4ExtDecayerPhysics().

◆ fSelection

G4String TG4ExtDecayerPhysics::fSelection
private

particles selection

Definition at line 59 of file TG4ExtDecayerPhysics.h.

Referenced by ConstructProcess(), and SetSelection().

◆ fSkipNeutrino

G4bool TG4ExtDecayerPhysics::fSkipNeutrino
private

option to skip importing neutrinos

Definition at line 60 of file TG4ExtDecayerPhysics.h.

Referenced by ConstructProcess(), and SetSkipNeutrino().


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