REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Private Member Functions | Private Attributes
TRestGeant4PhysicsLists Class Reference

Detailed Description

RESTSoft : Software for Rare Event Searches with TPCs

TRestGeant4PhysicsLists.h

G4 class to be used to design REST metadata classes to be inherited from TRestMetadata How to use: replace TRestGeant4PhysicsLists by your class name, fill the required functions following instructions and add all needed additional members and functionality

Apr 2017: First concept. Javier Galan

Definition at line 31 of file TRestGeant4PhysicsLists.h.

#include <TRestGeant4PhysicsLists.h>

Inheritance diagram for TRestGeant4PhysicsLists:
TRestMetadata

Public Member Functions

 ClassDefOverride (TRestGeant4PhysicsLists, 2)
 
Int_t FindPhysicsList (const TString &physicsListName) const
 
Double_t GetCutForElectron () const
 
Double_t GetCutForGamma () const
 
Double_t GetCutForMuon () const
 
Double_t GetCutForNeutron () const
 
Double_t GetCutForPositron () const
 
std::vector< std::string > GetIonStepList () const
 
Double_t GetMaximumEnergyProductionCuts () const
 
Double_t GetMinimumEnergyProductionCuts () const
 
TString GetPhysicsListOptionValue (const TString &physicsListName, const TString &option, const TString &defaultValue="NotDefined") const
 
Bool_t PhysicsListExists (const TString &physicsListName) const
 
void PrintMetadata () override
 Implemented it in the derived metadata class to print out specific metadata information. More...
 
 TRestGeant4PhysicsLists (const char *configFilename, std::string name="")
 

Private Member Functions

TString GetPhysicsListOptionString (const TString &physicsListName) const
 
void InitFromConfigFile () override
 To make settings from rml file. This method must be implemented in the derived class.
 
void Initialize () override
 Making default settings.
 

Private Attributes

Double_t fCutForElectron
 
Double_t fCutForGamma
 
Double_t fCutForMuon
 
Double_t fCutForNeutron
 
Double_t fCutForPositron
 
std::vector< std::string > fIonLimitStepList
 
Double_t fMaxEnergyRangeProductionCuts
 
Double_t fMinEnergyRangeProductionCuts
 
std::vector< TString > fPhysicsListOptions
 
std::vector< TString > fPhysicsLists
 

Additional Inherited Members

Member Function Documentation

◆ PrintMetadata()

void TRestGeant4PhysicsLists::PrintMetadata ( )
overridevirtual

Implemented it in the derived metadata class to print out specific metadata information.

Prints metadata content on screen. Usually overloaded by the derived metadata class.

Reimplemented from TRestMetadata.

Definition at line 141 of file TRestGeant4PhysicsLists.cxx.


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