Classes | Defines | Typedefs | Variables

marglobals.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _run_params
struct  STRONG

Defines

#define MAX_MODE   8
#define MAX_SET   4
#define OUT_SPIRAL   0
#define OUT_PCK   1
#define OUT_MAR   2
#define OUT_IMAGE   3
#define OUT_CIF   4
#define OUT_CBF   5
#define SINGLE_RUN   0
#define INDEX_RUN   1
#define MAD_RUN   2
#define MULTI_RUN   3
#define TOTAL_RUN   (MULTI_RUN+MAX_SET)
#define EXT   extern

Typedefs

typedef struct _run_params RUN_PARAMS

Variables

EXT int mar_number
EXT int mar_mode
EXT int mar_par1
EXT int mar_par2
EXT int mar_par3
EXT int mar_par4
EXT int mar_par5
EXT int mar_par6
EXT int mar_par7
EXT int stat_gap [8]
EXT char mar_str [28]
EXT char ips_command [128]
EXT char buf [2048]
EXT char str [1024]
EXT char mar_host [32]
EXT char working_dir [128]
EXT char config_file [128]
EXT char save_file [128]
EXT char scanner_no [8]
EXT char image_root [64]
EXT char image_dir [128]
EXT char spiral_file [128]
EXT char image_file [128]
EXT char * trntable
EXT int fdnd
EXT int mar_port
EXT int debug
EXT int total_run
EXT int SET
EXT int NSET
EXT RUN_PARAMS run_p [TOTAL_RUN]
struct {
   short int   stat
   unsigned short int   nfrm
   unsigned short int   ffrm
   unsigned short int   fspi
   float   phi
progress [TOTAL_RUN]
EXT float stat_pixelsize
EXT float stat_xray_units
EXT float stat_dist
EXT float stat_omega
EXT float stat_phi
EXT float stat_theta
EXT float stat_chi
EXT float stat_phibeg
EXT float stat_phiend
EXT float stat_dphi
EXT float stat_omebeg
EXT float stat_omeend
EXT float stat_dome
EXT int stat_phiosc
EXT int stat_omeosc
EXT float stat_time
EXT float stat_units
EXT float stat_intensity
EXT float stat_wavelength
EXT float stat_multiplier
EXT int stat_mode
EXT int stat_max_count
EXT int stat_n_images
EXT int stat_n_passes
EXT int stat_sweeps
EXT int stat_scanmode
EXT int stat_scanner_op
EXT int stat_scanner_msg
EXT int stat_scanner_control
EXT int stat_xray_shutter
EXT int stat_xform_msg
EXT char stat_dir [80]
EXT char stat_fname [80]
EXT float com_kV
EXT float com_mA
EXT float com_slitx
EXT float com_slity
EXT float com_dist
EXT float com_theta
EXT float com_chi
EXT float com_phibeg
EXT float com_phiend
EXT float com_dphi
EXT float com_omebeg
EXT float com_omeend
EXT float com_dome
EXT int com_phiosc
EXT int com_omeosc
EXT float com_dosebeg
EXT float com_doseend
EXT float com_doseavg
EXT float com_dosesig
EXT float com_dosemin
EXT float com_dosemax
EXT int com_dosen
EXT float com_time
EXT float com_units
EXT float com_intensity
EXT float com_polar
EXT float com_wavelength
EXT float com_multiplier
EXT float com_pixelsize
EXT float com_diam
EXT int com_mode
EXT int com_format
EXT int com_size
EXT int com_scanmode
EXT int com_scan_add
EXT int com_scan_erase
EXT char com_use_spiral
EXT char com_filter [80]
EXT char com_source [80]
EXT char com_dir [80]
EXT char com_root [80]
EXT char com_remark [80]
EXT char com_file [80]
EXT int nb_size
EXT int incontrol
EXT int netcontrol
EXT int mar_cmd
EXT int dcop
EXT int retrycnt
EXT int totimg
EXT int totpass
EXT int init_op
EXT int dc_stop
EXT float delta
EXT float sum_xray_units
EXT int fdmar
EXT int ion_chamber
EXT int distance_steps
EXT int phi_steps
EXT int omega_steps
EXT int xrayshutter_status
EXT int lock_status
EXT int erase_status
EXT int position_status
EXT int upper_status
EXT int lower_status
EXT int laser_status
EXT int lasershutter_status
EXT int transref_status
EXT char erase_lamp_on_ok
EXT int cur_mode
EXT short cur_size
EXT short cur_diameter
EXT short cur_nfrm
EXT float cur_pixelsize
EXT float cur_intensmin
EXT int cur_scantime
EXT char keep_spiral
EXT char big_scanner
EXT int verbose

Define Documentation

#define EXT   extern

Definition at line 71 of file marglobals.h.

#define INDEX_RUN   1

Definition at line 37 of file marglobals.h.

#define MAD_RUN   2

Definition at line 38 of file marglobals.h.

#define MAX_MODE   8

Definition at line 26 of file marglobals.h.

#define MAX_SET   4

Definition at line 27 of file marglobals.h.

#define MULTI_RUN   3

Definition at line 39 of file marglobals.h.

#define OUT_CBF   5
#define OUT_CIF   4
#define OUT_IMAGE   3
#define OUT_MAR   2
#define OUT_PCK   1
#define OUT_SPIRAL   0

Definition at line 29 of file marglobals.h.

Referenced by Command::exec_command().

#define SINGLE_RUN   0

Definition at line 36 of file marglobals.h.

#define TOTAL_RUN   (MULTI_RUN+MAX_SET)

Definition at line 40 of file marglobals.h.


Typedef Documentation

typedef struct _run_params RUN_PARAMS

Variable Documentation

EXT char big_scanner

Definition at line 288 of file marglobals.h.

EXT char buf[2048]
EXT float com_chi
EXT float com_diam

Definition at line 203 of file marglobals.h.

Referenced by Command::exec_command().

EXT char com_dir[80]
EXT float com_dist
EXT float com_dome

Definition at line 182 of file marglobals.h.

Referenced by Command::exec_command(), and Command::mar_init_params().

EXT float com_doseavg

Definition at line 189 of file marglobals.h.

Referenced by MarXF::get_header_values(), and Command::mar_init_params().

EXT float com_dosebeg

Definition at line 187 of file marglobals.h.

Referenced by MarXF::get_header_values(), and Command::mar_init_params().

EXT float com_doseend

Definition at line 188 of file marglobals.h.

Referenced by MarXF::get_header_values(), and Command::mar_init_params().

EXT float com_dosemax

Definition at line 192 of file marglobals.h.

Referenced by MarXF::get_header_values(), and Command::mar_init_params().

EXT float com_dosemin

Definition at line 191 of file marglobals.h.

Referenced by MarXF::get_header_values(), and Command::mar_init_params().

EXT int com_dosen

Definition at line 193 of file marglobals.h.

Referenced by MarXF::get_header_values(), and Command::mar_init_params().

EXT float com_dosesig

Definition at line 190 of file marglobals.h.

Referenced by MarXF::get_header_values(), and Command::mar_init_params().

EXT float com_dphi
EXT char com_file[80]

Definition at line 217 of file marglobals.h.

EXT char com_filter[80]
EXT int com_format
EXT float com_intensity

Definition at line 197 of file marglobals.h.

EXT float com_kV
EXT float com_mA
EXT int com_mode
EXT float com_multiplier

Definition at line 201 of file marglobals.h.

EXT float com_omebeg
EXT float com_omeend
EXT int com_omeosc
EXT float com_phibeg
EXT float com_phiend
EXT int com_phiosc
EXT float com_pixelsize

Definition at line 202 of file marglobals.h.

Referenced by Command::exec_command(), and Command::mar_init_params().

EXT float com_polar
EXT char com_remark[80]
EXT char com_root[80]
EXT int com_scan_add
EXT int com_scan_erase
EXT int com_scanmode
EXT int com_size

Definition at line 206 of file marglobals.h.

Referenced by Command::exec_command(), and Command::mar_init_params().

EXT float com_slitx

Definition at line 170 of file marglobals.h.

Referenced by Command::exec_command(), and Command::mar_init_params().

EXT float com_slity

Definition at line 171 of file marglobals.h.

Referenced by Command::exec_command(), and Command::mar_init_params().

EXT char com_source[80]
EXT float com_theta
EXT float com_time
EXT float com_units

Definition at line 196 of file marglobals.h.

EXT char com_use_spiral

Definition at line 210 of file marglobals.h.

Referenced by Command::exec_command(), Command::mar_init_params(), and MarHW::marTask().

EXT float com_wavelength
EXT char config_file[128]

Definition at line 91 of file marglobals.h.

Referenced by MarStartup::marStartup().

EXT short cur_diameter

Definition at line 269 of file marglobals.h.

Referenced by Command::mar_init_params(), MarHW::marTask(), and MarHW::StartScan().

EXT float cur_intensmin

Definition at line 272 of file marglobals.h.

Referenced by MarHW::mar_progress().

EXT int cur_mode

Definition at line 267 of file marglobals.h.

Referenced by MarHW::mar_change_mode(), MarStartup::marStartup(), and MarHW::marTask().

EXT short cur_nfrm

Definition at line 270 of file marglobals.h.

EXT float cur_pixelsize

Definition at line 271 of file marglobals.h.

Referenced by Command::mar_init_params(), MarHW::marTask(), and MarHW::StartScan().

EXT int cur_scantime

Definition at line 273 of file marglobals.h.

Referenced by Command::mar_init_params().

EXT short cur_size

Definition at line 268 of file marglobals.h.

EXT int dc_stop

Definition at line 233 of file marglobals.h.

Referenced by MarHW::mar_move_phi(), MarHW::mar_progress(), and MarHW::marTask().

EXT int dcop

Definition at line 228 of file marglobals.h.

EXT int debug
EXT float delta

Definition at line 234 of file marglobals.h.

Referenced by MarHW::mar_move_phi(), and MarHW::marTask().

EXT int distance_steps

Definition at line 244 of file marglobals.h.

Referenced by MarHW::mar_progress(), MarHW::marTask(), and MarHW::process_status().

EXT char erase_lamp_on_ok

Definition at line 261 of file marglobals.h.

EXT int erase_status

Definition at line 254 of file marglobals.h.

EXT int fdmar

Definition at line 237 of file marglobals.h.

EXT int fdnd

Definition at line 102 of file marglobals.h.

unsigned short int ffrm

Definition at line 116 of file marglobals.h.

unsigned short int fspi

Definition at line 117 of file marglobals.h.

EXT char image_dir[128]

Definition at line 96 of file marglobals.h.

EXT char image_file[128]
EXT char image_root[64]

Definition at line 95 of file marglobals.h.

EXT int incontrol

Definition at line 224 of file marglobals.h.

EXT int init_op

Definition at line 232 of file marglobals.h.

EXT int ion_chamber

Definition at line 243 of file marglobals.h.

EXT char ips_command[128]

Definition at line 85 of file marglobals.h.

Referenced by Command::exec_command(), and MarHW::marTask().

EXT char keep_spiral
EXT int laser_status

Definition at line 258 of file marglobals.h.

Definition at line 259 of file marglobals.h.

EXT int lock_status

Definition at line 253 of file marglobals.h.

EXT int lower_status

Definition at line 257 of file marglobals.h.

EXT int mar_cmd
EXT char mar_host[32]

Definition at line 88 of file marglobals.h.

Referenced by MarStartup::marStartup(), MarNet::net_open(), and Scan345::scan345_main().

EXT int mar_mode
EXT int mar_number
EXT int mar_par1
EXT int mar_par2
EXT int mar_par3
EXT int mar_par4
EXT int mar_par5
EXT int mar_par6

Definition at line 81 of file marglobals.h.

EXT int mar_par7

Definition at line 82 of file marglobals.h.

EXT int mar_port

Definition at line 103 of file marglobals.h.

Referenced by MarStartup::marStartup(), MarNet::net_open(), and Scan345::scan345_main().

EXT char mar_str[28]
EXT int nb_size

Definition at line 223 of file marglobals.h.

EXT int netcontrol
unsigned short int nfrm

Definition at line 115 of file marglobals.h.

EXT int NSET

Definition at line 111 of file marglobals.h.

EXT int omega_steps

Definition at line 246 of file marglobals.h.

Referenced by MarHW::marTask(), and MarHW::process_status().

float phi

Definition at line 118 of file marglobals.h.

EXT int phi_steps

Definition at line 245 of file marglobals.h.

Referenced by MarHW::mar_move_phi(), MarHW::marTask(), and MarHW::process_status().

EXT int position_status

Definition at line 255 of file marglobals.h.

EXT { ... } progress[TOTAL_RUN]
EXT int retrycnt

Definition at line 229 of file marglobals.h.

EXT RUN_PARAMS run_p[TOTAL_RUN]

Definition at line 112 of file marglobals.h.

Referenced by MarHW::NotEnoughDiskSpace().

EXT char save_file[128]

Definition at line 92 of file marglobals.h.

EXT char scanner_no[8]

Definition at line 93 of file marglobals.h.

Referenced by MarXF::mar_start_scan_readout(), and MarStartup::marStartup().

EXT int SET

Definition at line 110 of file marglobals.h.

Referenced by MarHW::NotEnoughDiskSpace().

EXT char spiral_file[128]
short int stat

Definition at line 114 of file marglobals.h.

EXT float stat_chi

Definition at line 132 of file marglobals.h.

EXT char stat_dir[80]
EXT float stat_dist

Definition at line 128 of file marglobals.h.

Referenced by MarHW::mar_progress(), MarHW::marTask(), and MarHW::process_status().

EXT float stat_dome

Definition at line 140 of file marglobals.h.

EXT float stat_dphi

Definition at line 136 of file marglobals.h.

Referenced by MarHW::mar_initial_status(), MarHW::mar_progress(), and MarHW::marTask().

EXT char stat_fname[80]

Definition at line 165 of file marglobals.h.

Referenced by MarHW::mar_initial_status(), and MarHW::marError().

EXT int stat_gap[8]
EXT float stat_intensity
EXT int stat_max_count

Definition at line 152 of file marglobals.h.

EXT int stat_mode

Definition at line 151 of file marglobals.h.

Referenced by MarHW::mar_start_expo(), MarHW::marTask(), and MarHW::StartScan().

EXT float stat_multiplier

Definition at line 150 of file marglobals.h.

EXT int stat_n_images

Definition at line 153 of file marglobals.h.

Referenced by MarHW::mar_initial_status().

EXT int stat_n_passes
EXT float stat_omebeg

Definition at line 138 of file marglobals.h.

EXT float stat_omeend

Definition at line 139 of file marglobals.h.

EXT float stat_omega

Definition at line 129 of file marglobals.h.

Referenced by MarHW::mar_initial_status(), MarHW::marTask(), and MarHW::process_status().

EXT int stat_omeosc

Definition at line 143 of file marglobals.h.

EXT float stat_phi
EXT float stat_phibeg

Definition at line 134 of file marglobals.h.

Referenced by MarHW::mar_initial_status(), and MarHW::marTask().

EXT float stat_phiend

Definition at line 135 of file marglobals.h.

Referenced by MarHW::marTask(), and MarHW::StartScan().

EXT int stat_phiosc

Definition at line 142 of file marglobals.h.

EXT float stat_pixelsize

Definition at line 125 of file marglobals.h.

Referenced by MarXF::get_header_values(), and MarXF::mar_start_scan_readout().

EXT int stat_scanmode

Definition at line 160 of file marglobals.h.

Referenced by MarHW::mar_initial_status(), MarHW::mar_progress(), and MarHW::marTask().

EXT int stat_scanner_op
EXT int stat_sweeps

Definition at line 155 of file marglobals.h.

EXT float stat_theta

Definition at line 131 of file marglobals.h.

EXT float stat_time
EXT float stat_units

Definition at line 146 of file marglobals.h.

Referenced by MarHW::mar_start_expo(), and MarHW::marTask().

EXT float stat_wavelength

Definition at line 149 of file marglobals.h.

Referenced by GetConfig().

EXT int stat_xform_msg

Definition at line 162 of file marglobals.h.

Referenced by MarXF::mar_start_scan_readout(), and MarXF::Transform().

EXT float stat_xray_units
EXT char str[1024]
EXT float sum_xray_units

Definition at line 235 of file marglobals.h.

Referenced by MarXF::get_header_values(), MarXF::PrintResults(), and MarHW::StartScan().

EXT int total_run

Definition at line 105 of file marglobals.h.

EXT int totimg

Definition at line 230 of file marglobals.h.

EXT int totpass
EXT int transref_status

Definition at line 260 of file marglobals.h.

EXT char* trntable

Definition at line 100 of file marglobals.h.

EXT int upper_status

Definition at line 256 of file marglobals.h.

EXT int verbose
EXT char working_dir[128]

Definition at line 252 of file marglobals.h.