remage
Simulation framework for HPGe-based experiments
 
Loading...
Searching...
No Matches
RMGPhysics Class Reference

Class to handle the physics lists, extends G4VModularPhysicsList. More...

#include <RMGPhysics.hh>

Inheritance diagram for RMGPhysics:
Collaboration diagram for RMGPhysics:

Classes

struct  ProdCutStore
 Struct to hold the production cut values. More...
 

Public Types

enum class  LowEnergyEMOption {
  kOption1 , kOption2 , kOption3 , kOption4 ,
  kPenelope , kLivermore , kLivermorePolarized , kNone
}
 Enum to specify a EM physics list from Geant4, see Geant4-manual for more information.
 
enum class  HadronicPhysicsListOption {
  kQGSP_BIC_HP , kQGSP_BERT_HP , kFTFP_BERT_HP , kShielding ,
  kNone
}
 Enum to specify a hardronic physics list from Geant4, see Geant4-manual for more information.
 

Public Member Functions

 RMGPhysics ()
 Constructor for RMGPhysics , this sets the default choices.
 
 RMGPhysics (RMGPhysics const &)=delete
 
RMGPhysicsoperator= (RMGPhysics const &)=delete
 
 RMGPhysics (RMGPhysics &&)=delete
 
RMGPhysicsoperator= (RMGPhysics &&)=delete
 
void SetCuts () override
 Sets the production cut values, and energy range.
 
void SetLowEnergyRange (G4double low_energy)
 Sets the energy range for the production cut table.
 
void SetHighEnergyRange (G4double high_energy)
 Sets the energy range for the production cut table.
 
void SetDefaultProductionCut (double cut)
 Set the production cut for the default region.
 
void SetSensitiveProductionCut (double cut)
 Set the production cut for the sensitive region.
 
void SetLowEnergyEMOptionString (std::string option)
 Set the low energy EM options from a string, for use in the messenger.
 
void SetHadronicPhysicsListOptionString (std::string option)
 Set the low energy EM options from a string, for use in the messenger.
 
void SetUseGammaAngCorr (bool)
 Option to turn on gamma emisson with correct angular correlations.
 
void SetGammaTwoJMAX (int max_two_j)
 
void SetStoreICLevelData (bool)
 
void DumpProcessesForParticles (std::string file_name)
 

Protected Member Functions

void ConstructParticle () override
 
void ConstructProcess () override
 
virtual void ConstructOptical ()
 

Detailed Description

Class to handle the physics lists, extends G4VModularPhysicsList.

This handles selecting the physics list options (from those in geant4), and defining the stepping cuts and production cuts for the simulation.

Constructor & Destructor Documentation

◆ RMGPhysics()

RMGPhysics::RMGPhysics ( )

Constructor for RMGPhysics , this sets the default choices.

This sets the default prdduction cuts values. By default a cut of 0.1 mm is used.

Member Function Documentation

◆ SetCuts()

void RMGPhysics::SetCuts ( )
override

Sets the production cut values, and energy range.

Defines a set of production cuts for the default region and also for the G4Region "SensitiveRegion". This is created in RMGHardware, but this behavior might be changed in a derived class, so careful here!

◆ SetDefaultProductionCut()

void RMGPhysics::SetDefaultProductionCut ( double cut)

Set the production cut for the default region.

The same cut is used for electrons, positrons and gammas. Notes:

  • No production cut alpha or generic ion is set.
    Parameters
    cutthe production cut value for the default region.

◆ SetSensitiveProductionCut()

void RMGPhysics::SetSensitiveProductionCut ( double cut)

Set the production cut for the sensitive region.

The same cut is used for electrons, positrons and gammas. Notes:

  • No production cut alpha or generic ion is set.
    Parameters
    cutthe production cut value for the sensitive region.

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