SatAndLight  2.2.2-hubble
Simulation toolkit for space telescopes
Options.h File Reference

This module is used to parse user options from the command line. More...

#include "CUtils.h"
#include "Error.h"
Include dependency graph for Options.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SnlOpt
 Manage a SNL command line option. More...
 
class  SnlProg
 Parse user options from the command line. More...
 

Typedefs

typedef enum _E_OPTIONS_ID E_OPTIONS_ID
 List of option IDs. More...
 

Enumerations

enum  _E_OPTIONS_ID {
  OPTIONS_ID_NONE =0 , OPTIONS_ID_IN_FILE , OPTIONS_ID_IN_FILES , OPTIONS_ID_OUT_FILE ,
  OPTIONS_ID_OUT_DIR , OPTIONS_ID_NAME , OPTIONS_ID_CAM_NAME , OPTIONS_ID_SRC_NAME ,
  OPTIONS_ID_TIME_START , OPTIONS_ID_TIME_DELTA , OPTIONS_ID_TIME_DECAY , OPTIONS_ID_N_PIX ,
  OPTIONS_ID_THRESHOLD , OPTIONS_ID_FLUX , OPTIONS_ID_ENERGY , OPTIONS_ID_ENERGY_MIN ,
  OPTIONS_ID_ENERGY_MAX , OPTIONS_ID_ENERGY_DECAY , OPTIONS_ID_ENERGIES , OPTIONS_ID_PHOTON_INDEX ,
  OPTIONS_ID_INTRINSIC_DENSITY , OPTIONS_ID_GALACTIC_DENSITY , OPTIONS_ID_REDSHIFT , OPTIONS_ID_OPENING_ANGLE ,
  OPTIONS_ID_HALF_OPENING_ANGLE , OPTIONS_ID_N
}
 List of option IDs. More...
 

Detailed Description

This module is used to parse user options from the command line.

Authors
Florent Robinet, flore.nosp@m.nt.r.nosp@m.obine.nosp@m.t@ij.nosp@m.clab..nosp@m.in2p.nosp@m.3.fr

Typedef Documentation

◆ E_OPTIONS_ID

List of option IDs.

Enumeration Type Documentation

◆ _E_OPTIONS_ID

List of option IDs.

Enumerator
OPTIONS_ID_NONE 

none.

OPTIONS_ID_IN_FILE 

input file.

OPTIONS_ID_IN_FILES 

input files (file pattern).

OPTIONS_ID_OUT_FILE 

output file.

OPTIONS_ID_OUT_DIR 

output directory.

OPTIONS_ID_NAME 

name.

OPTIONS_ID_CAM_NAME 

camera name.

OPTIONS_ID_SRC_NAME 

source name.

OPTIONS_ID_TIME_START 

time start \([ms]\).

OPTIONS_ID_TIME_DELTA 

time delta \([ms]\).

OPTIONS_ID_TIME_DECAY 

time decay \([ms]\).

OPTIONS_ID_N_PIX 

number of pictures.

OPTIONS_ID_THRESHOLD 

threshold.

OPTIONS_ID_FLUX 

flux \([keV^{-1}ms^{-1}mm^{-2}]\).

OPTIONS_ID_ENERGY 

energy \([keV]\).

OPTIONS_ID_ENERGY_MIN 

minimum energies \([keV]\).

OPTIONS_ID_ENERGY_MAX 

maximum energies \([keV]\).

OPTIONS_ID_ENERGY_DECAY 

Energy decay \([keV]\).

OPTIONS_ID_ENERGIES 

list of energies \([keV]\).

OPTIONS_ID_PHOTON_INDEX 

photon index ( \(E^{-\lambda}\)).

OPTIONS_ID_INTRINSIC_DENSITY 

intrinsic column density.

OPTIONS_ID_GALACTIC_DENSITY 

galactic column density.

OPTIONS_ID_REDSHIFT 

redshift.

OPTIONS_ID_OPENING_ANGLE 

opening angle.

OPTIONS_ID_HALF_OPENING_ANGLE 

half opening angle.

OPTIONS_ID_N 

number of option names.