Input Class Reference

Class to read user's input. More...

#include <input.h>

List of all members.

Public Member Functions

 Input ()
 Input (char **argv, int argc)
 Input (char *run, double &Ekfact_, int &Nr, int &Nz, double &D0_, double &zt_, double &zmax_, double &delta_, double &index_radial_, double &ab_C_, double &ab_N_, double &vA_, double &vC_, double &dvdz_conv_, double etaT_, char *profile)
virtual ~Input ()

Public Attributes

double Ekfact
int numr
int numz
double D0
double zt
double zmax
double delta
double index_radial
double vAlfven
double ab_C
double ab_N
double v0
double dvdz
double etaT
DPerpType set_profile
string filename
double mx
double taudec
double sigmav
int dmmode
DMprofile dmprof
 DM spatial profile. Iso NFW Kra Moore Einasto Alpha 2 1 2 1.5 Beta 2 3 3 3.0 Gamma 0 1 0.4 1.5 Rs 3.5 20. 10. 28. DMprof_ 0 1 2 3 4.

Detailed Description

Class to read user's input.

Author:
Luca Maccione luca.maccione@desy.de

Definition at line 25 of file input.h.


Constructor & Destructor Documentation

Input::Input (  )  [inline]

The default constructor.

Definition at line 27 of file input.h.

Input::Input ( char **  argv,
int  argc 
) [inline]

Constructor given a command line input. This is the standard way of passing user's input to DRAGON.

Definition at line 28 of file input.h.

References Constant, Exp, Expr, ExpRadial, Radial, and set_profile.

Input::Input ( char *  run,
double &  Ekfact_,
int &  Nr,
int &  Nz,
double &  D0_,
double &  zt_,
double &  zmax_,
double &  delta_,
double &  index_radial_,
double &  ab_C_,
double &  ab_N_,
double &  vA_,
double &  vC_,
double &  dvdz_conv_,
double  etaT_,
char *  profile 
) [inline]

Constructor given individual data. This is used when doing MCMC.

Definition at line 70 of file input.h.

References Constant, Exp, Expr, ExpRadial, filename, Radial, and set_profile.

virtual Input::~Input (  )  [inline, virtual]

Destructor. Does nothing.

Definition at line 107 of file input.h.


Member Data Documentation

double Input::ab_C

Source abundance of 12C.

Definition at line 119 of file input.h.

Referenced by Galaxy::Galaxy().

double Input::ab_N

Source abundance of 14N.

Definition at line 120 of file input.h.

Referenced by Galaxy::Galaxy().

double Input::D0

[1e28 cm^2/s] Normalization of diffusion coefficient.

Definition at line 113 of file input.h.

Referenced by Galaxy::Galaxy(), and DRAGON::Print().

double Input::delta

Power law index of energy dependence of diffusion coefficient.

Definition at line 116 of file input.h.

Referenced by Galaxy::Galaxy(), and DRAGON::Print().

DM channel. Ch No Particles Old Ch No 5 h10 h30 7 6 h20 h30 11 8 z0 h10 8 9 z0 h20 9 11 w+ h- / w- h+ 10 12 z0 z0 6 13 w+ w- 5 17 mu+ mu- 13 19 tau+ tau- 4 22 cc-bar 1 24 tt-bar 3 25 bb-bar 2 26 gluon gluon 12 29 z gamma 14

Definition at line 129 of file input.h.

Referenced by DRAGON::Print(), and TParticle::TParticle().

DM spatial profile. Iso NFW Kra Moore Einasto Alpha 2 1 2 1.5 Beta 2 3 3 3.0 Gamma 0 1 0.4 1.5 Rs 3.5 20. 10. 28. DMprof_ 0 1 2 3 4.

Definition at line 147 of file input.h.

Referenced by Galaxy::Galaxy(), and DRAGON::Print().

double Input::dvdz

[km/s/kpc] Vertical derivative of convection velocity.

Definition at line 122 of file input.h.

Referenced by Galaxy::Galaxy(), and DRAGON::Print().

double Input::Ekfact

Delta E/E.

Definition at line 110 of file input.h.

Referenced by Galaxy::Galaxy(), and DRAGON::Print().

double Input::etaT

index of dependence of the diffusion coefficient with .

Definition at line 123 of file input.h.

Referenced by Galaxy::Galaxy().

Run name.

Definition at line 125 of file input.h.

Referenced by DRAGON::DRAGON(), Input(), DRAGON::PrintChi2(), and DRAGON::PrintRatios().

Power law index of the scaling of diffusion coefficient with sources in the radial direction.

Definition at line 117 of file input.h.

Referenced by Galaxy::Galaxy().

double Input::mx

DM mass.

Definition at line 126 of file input.h.

Referenced by Galaxy::Galaxy(), DRAGON::Print(), and TParticle::TParticle().

Dimension of R grid.

Definition at line 111 of file input.h.

Referenced by Galaxy::Galaxy(), and DRAGON::Print().

Dimension of Z grid

Definition at line 112 of file input.h.

Referenced by Galaxy::Galaxy(), and DRAGON::Print().

Type of diffusion.

Definition at line 124 of file input.h.

Referenced by Galaxy::Galaxy(), and Input().

double Input::sigmav

Thermally averaged DM annihilation cross section.

Definition at line 128 of file input.h.

Referenced by Galaxy::Galaxy(), DRAGON::Print(), and TParticle::TParticle().

double Input::taudec

Lifetime of DM particle.

Definition at line 127 of file input.h.

Referenced by Galaxy::Galaxy(), DRAGON::Print(), and TParticle::TParticle().

double Input::v0

[km/s] Convection velocity on the galactic plane.

Definition at line 121 of file input.h.

Referenced by Galaxy::Galaxy(), and DRAGON::Print().

[km/s] Alfven velocity.

Definition at line 118 of file input.h.

Referenced by Galaxy::Galaxy(), and DRAGON::Print().

double Input::zmax

[kpc] Half height of the propagation box.

Definition at line 115 of file input.h.

Referenced by Galaxy::Galaxy(), and DRAGON::Print().

double Input::zt

[kpc] Vertical scale of diffusion coefficient.

Definition at line 114 of file input.h.

Referenced by Galaxy::Galaxy(), and DRAGON::Print().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
Generated on Mon Sep 27 12:59:57 2010 for DRAGON by  doxygen 1.6.3