GGEMS  1.1
GPU GEant4-based Monte Carlo Simulations
GGEMSProcessesManager.cc File Reference

GGEMS class managing the processes in GGEMS simulation. More...

Include dependency graph for GGEMSProcessesManager.cc:

Go to the source code of this file.

Functions

GGEMSProcessesManagerget_instance_processes_manager (void)
 Get the GGEMSProcessesManager pointer for python user. More...
 
void add_process_processes_manager (GGEMSProcessesManager *processes_manager, char const *process_name, char const *particle_name, char const *phantom_name)
 add a process for a specific phantom or all the phantom More...
 
void set_cross_section_table_number_of_bins_processes_manager (GGEMSProcessesManager *processes_manager, GGsize const number_of_bins)
 set the number of the bins in the cross section table More...
 
void set_cross_section_table_minimum_energy_processes_manager (GGEMSProcessesManager *processes_manager, GGfloat const energy, char const *unit)
 set the minimum energy in the cross section table More...
 
void set_cross_section_table_maximum_energy_processes_manager (GGEMSProcessesManager *processes_manager, GGfloat const energy, char const *unit)
 set the maximum energy in the cross section table More...
 
void print_infos_processes_manager (GGEMSProcessesManager *processes_manager)
 print infos about processes More...
 
void print_available_processes_manager (GGEMSProcessesManager *processes_manager)
 print infos about available processes More...
 
void print_tables_processes_manager (GGEMSProcessesManager *processes_manager, bool const is_processes_print_tables)
 print infos about physic tables More...
 

Detailed Description

GGEMS class managing the processes in GGEMS simulation.

Author
Julien BERT julie.nosp@m.n.be.nosp@m.rt@un.nosp@m.iv-b.nosp@m.rest..nosp@m.fr
Didier BENOIT didie.nosp@m.r.be.nosp@m.noit@.nosp@m.inse.nosp@m.rm.fr
LaTIM, INSERM - U1101, Brest, FRANCE
Version
1.0
Date
Monday March 9, 2020

Definition in file GGEMSProcessesManager.cc.

Function Documentation

◆ add_process_processes_manager()

void add_process_processes_manager ( GGEMSProcessesManager processes_manager,
char const *  process_name,
char const *  particle_name,
char const *  phantom_name 
)

add a process for a specific phantom or all the phantom

Parameters
processes_manager- pointer on the processes manager
process_name- Name of the process
particle_name- Name of the particle
phantom_name- Name of the phantom

Definition at line 209 of file GGEMSProcessesManager.cc.

◆ get_instance_processes_manager()

GGEMSProcessesManager* get_instance_processes_manager ( void  )

Get the GGEMSProcessesManager pointer for python user.

Returns
the pointer on the singleton

Definition at line 200 of file GGEMSProcessesManager.cc.

◆ print_available_processes_manager()

void print_available_processes_manager ( GGEMSProcessesManager processes_manager)

print infos about available processes

Parameters
processes_manager- pointer on the processes manager

Definition at line 254 of file GGEMSProcessesManager.cc.

◆ print_infos_processes_manager()

void print_infos_processes_manager ( GGEMSProcessesManager processes_manager)

print infos about processes

Parameters
processes_manager- pointer on the processes manager

Definition at line 245 of file GGEMSProcessesManager.cc.

◆ print_tables_processes_manager()

void print_tables_processes_manager ( GGEMSProcessesManager processes_manager,
bool const  is_processes_print_tables 
)

print infos about physic tables

Parameters
processes_manager- pointer on the processes manager
is_processes_print_tables- flag printing physic tables

Definition at line 263 of file GGEMSProcessesManager.cc.

◆ set_cross_section_table_maximum_energy_processes_manager()

void set_cross_section_table_maximum_energy_processes_manager ( GGEMSProcessesManager processes_manager,
GGfloat const  energy,
char const *  unit 
)

set the maximum energy in the cross section table

Parameters
processes_manager- pointer on the processes manager
energy- maximum energy
unit- unit of energy

Definition at line 236 of file GGEMSProcessesManager.cc.

◆ set_cross_section_table_minimum_energy_processes_manager()

void set_cross_section_table_minimum_energy_processes_manager ( GGEMSProcessesManager processes_manager,
GGfloat const  energy,
char const *  unit 
)

set the minimum energy in the cross section table

Parameters
processes_manager- pointer on the processes manager
energy- minimum energy
unit- unit of energy

Definition at line 227 of file GGEMSProcessesManager.cc.

◆ set_cross_section_table_number_of_bins_processes_manager()

void set_cross_section_table_number_of_bins_processes_manager ( GGEMSProcessesManager processes_manager,
GGsize const  number_of_bins 
)

set the number of the bins in the cross section table

Parameters
processes_manager- pointer on the processes manager
number_of_bins- number of the bins for the cross section table

Definition at line 218 of file GGEMSProcessesManager.cc.