|
CLUMPY
Version 2011.09_corr2
|
Global parameters declaration/initialisation (Galaxy, DM, Cosmology, SIMU). More...
#include <TApplication.h>#include <string>

Go to the source code of this file.
Enumerations | |
| enum | gENUM_CVIRMVIR { kB01_VIR, kENS01_VIR, kNETO07_200, kDUFFY08F_VIR, kDUFFY08F_200, kDUFFY08F_MEAN, kETTORI10_200 } |
| enum | gENUM_GAMMASPECT { kSUSY_BUB98, kSUSY_TO02, kSUSY_BBE08 } |
| enum | gENUM_PROFILE { kHOST = -1, kZHAO, kEINASTO, kEINASTO_N } |
| enum | gENUM_TYPEHALOES { kDSPH, kGALAXY, kCLUSTER } |
Functions | |
| void | load_parameters (string file_name) |
| int | string_to_enum (string par, string card_param) |
Variables | |
| const int | gN_CVIRMVIR = 7 |
Number of parameterisations (corresponding names defined in gNAMES_CVIRMVIR) | |
| const int | gN_GAMMASPECT = 3 |
Number of spectra parameterisations (corresponding names defined in gNAMES_GAMMASPECT) | |
| const int | gN_PROFILE = 3 |
| Number of DM profile families parameterisations (corresponding names defined in gNAMES_PROFILE) | |
| const int | gN_SHAPE_PARAMS = 3 |
| Number of shape parameters for DM profiles (gENUM_PROFILE) | |
| const int | gN_TYPEHALOES = 3 |
| Number of halo types (corresponding names defined in gNAMES_TYPEHALOES) | |
| const char | gNAMES_CVIRMVIR [gN_CVIRMVIR][50] |
relationship cards are B01_VIR, ENS01_VIR, and JS00 from here (see here) | |
| const char | gNAMES_GAMMASPECT [gN_GAMMASPECT][50] |
-ray spectrum are SUSY_BUB98, SUSY_TO02, and SUSY_BBE08 (see spectra.h) | |
| const char | gNAMES_PROFILE [gN_PROFILE][50] |
| DM profiles names are ZHAO, EINASTO, and EINASTO_N (see here) | |
| const char | gNAMES_TYPEHALOES [gN_TYPEHALOES][50] |
| Halo types names are DSPH, GALAXY, and CLUSTER. | |
| double | gCOSMO_RHO0_C |
Present day critical density of the universe in unit of (PDG) | |
| double | gCOSMO_OMEGA0_M |
Present day pressure-less matter density of the Universe (PDG) | |
| double | gCOSMO_OMEGA0_LAMBDA |
Present day dark energy density of the -CDM Universe (PDG) | |
| int | gDM_GAMMARAY_FLAG_SPECTRUM |
Select the DM -ray annihilation spectrum [gENUM_GAMMASPECT]. | |
| double | gDM_MMIN_SUBS |
Minimal mass of DM structures (free streaming, tidal disruption...) (very uncertain) | |
| double | gDM_MMAXFRAC_SUBS |
Maximal mass of subs defined to be gDM_MMAXFRAC_SUBS . | |
| double | gDM_RHOSAT |
Saturation density (Berezinskii et al., 1992): high central density not sustainable as overcome by DM annihilations. | |
| int | gGAL_CLUMPS_FLAG_CVIRMVIR |
parameterisation for the Galactic clumps [gENUM_CVIRMVIR] | |
| int | gGAL_CLUMPS_FLAG_PROFILE |
| Profile of Galactic clumps [gENUM_PROFILE]. | |
| double | gGAL_CLUMPS_SHAPE_PARAMS [gN_SHAPE_PARAMS] |
Shape parameters for any clump in the Galactic halo ( for kEINASTO, kEINASTO_N, or for kZHAO) | |
| double | gGAL_DPDM_SLOPE |
Slope of Gal. clumps : canonical value is 1.9 (range ) | |
| int | gGAL_DPDV_FLAG_PROFILE |
| Spatial distrib. of Gal. clumps [gENUM_PROFILE]. | |
| double | gGAL_DPDV_RSCALE |
| Scale radius [kpc] for the Galactic spatial distribution of clumps. | |
| double | gGAL_DPDV_SHAPE_PARAMS [gN_SHAPE_PARAMS] |
shape parameters for the Galactic clumps ( for kEINASTO, kEINASTO_N, or for kZHAO) | |
| double | gGAL_SUBS_M1 |
Lower end of the mass range [M1,M2] in which gGAL_SUBS_N_INM1M2 Gal. clumps are found . | |
| double | gGAL_SUBS_M2 |
Upper end of the mass range [M1,M2] in which gGAL_SUBS_N_INM1M2 Gal. clumps are found . | |
| int | gGAL_SUBS_N_INM1M2 |
| Number of Gal. sub-halos found in the mass range [M1,M2] = [gGAL_SUBS_M1,gGAL_SUBS_M2]. | |
| double | gGAL_RHOSOL |
is the local density of dark matter in ( ) | |
| double | gGAL_RSOL |
kpc, distance Earth - Galactic Center | |
| double | gGAL_RVIR |
kpc is the virial radius of the dark matter halo of the Galaxy [kpc] | |
| int | gGAL_TOT_FLAG_PROFILE |
Total DM profile for the Milky-Way [gENUM_PROFILE]. | |
| double | gGAL_TOT_RSCALE |
| Scale radius for the total DM halo of the Milky-Way [kpc]. | |
| double | gGAL_TOT_SHAPE_PARAMS [gN_SHAPE_PARAMS] |
shape parameters for the Galactic total DM halo ( for kEINASTO, kEINASTO_N, or for kZHAO) | |
| int | gHALO_CLUMPS_FLAG_CVIRMVIR [gN_TYPEHALOES] |
card_cvir parameterisation [gENUM_CVIRMVIR] for sub-clumps for each halo type (gN_TYPEHALOES) | |
| int | gHALO_CLUMPS_FLAG_PROFILE [gN_TYPEHALOES] |
| Profile for sub-clumps for each halo type [gENUM_PROFILE]. | |
| double | gHALO_CLUMPS_SHAPE_PARAMS [gN_TYPEHALOES][gN_SHAPE_PARAMS] |
Shape parameters for sub-clumps for each halo type ( for kEINASTO, kEINASTO_N, or for kZHAO) | |
| double | gHALO_DPDM_SLOPE [gN_TYPEHALOES] |
Mass distribution slope for each halo type : canonical value is 1.9 (range ) | |
| int | gHALO_DPDV_FLAG_PROFILE [gN_TYPEHALOES] |
| card_profile (spatial distrib.) for each halo type [gENUM_PROFILE] | |
| double | gHALO_DPDV_RSCALE [gN_TYPEHALOES] |
| Scale radius [kpc] of dP/dV fr each halo type. | |
| double | gHALO_DPDV_SHAPE_PARAMS [gN_TYPEHALOES][gN_SHAPE_PARAMS] |
shape parameters for each type ( for kEINASTO, kEINASTO_N, or for kZHAO) | |
| double | gHALO_SUBS_MASSFRACTION [gN_TYPEHALOES] |
| Mass fraction in sub-clumps for each type [%]. | |
| string | gLIST_HALOES |
| Relative path to a file containing a list of halos (DSPH, CLUSTER, GALAXY...) and their characteristics. | |
| double | gSIMU_ALPHAINT |
Integr. angle [rad] corresponding to the solid angle . | |
| double | gSIMU_EPS |
| Relative precision sought for all calculations. | |
| bool | gSIMU_IS_ANNIHIL_OR_DECAY |
Calculation is performed for an annihilating DM candidate (if true) or a decaying DM (if false) | |
| bool | gSIMU_IS_DISPLAY |
| Enables or disables displays (Root CERN graphs) in CLUMPY. | |
| bool | gSIMU_IS_PRINT |
| Enables or disables print on screen in CLUMPY. | |
| TApplication * | gSIMU_ROOTAPP |
| ROOT application (mandatory to enable displays) in CLUMPY. | |
| int | gSIMU_SEED |
| Seed for random number generator. If gSIMU_SEED = 0, seed is chosen from computer clock. | |
Global parameters declaration/initialisation (Galaxy, DM, Cosmology, SIMU).
I. CLUMPY base parameters
II. Functions
We sort the parameters in two broad categories.
,
,
(see references above).
,
,
, and the number of DM clumps counted in N-body simulation in a given the mass range. gENUM_PROFILE (see here).
to be chosen among gENUM_CVIRMVIR (see here).
. The parameters are
,
,
.
, recalling that the solid angle
and 
gLIST_HALOES points towards a list of halos that can be used for skymaps, etc.gSIMU_EPS), and wherever clumps are drawn, the seed gSIMU_SEED.
the scale radius appearing in the different profiles. However, depending on the chosen parameterisation, it can mean
,
or
(see here). It is up to the user to check that the values for
he/she uses in the input parameter file are 'realistic'. The table here gives some "reasonable" values for the Galactic halo.
gXXX from the parameter file file_name | [in] | file_name | Name of the parameter file (e.g. clumpy_params.txt) |
integer of an enum from a string | [in] | par | Parameter name (string) |
| [in] | card_param | Parameter value (string) |
par in the corresponding gENUM... list Definition in file params.h.