wqs1a1.c File Reference

WQS: Analysis of ESS Data; Cross Section Calculation. More...

#include "vxWorks.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"
#include "ctype.h"
#include "taskLib.h"
#include "math.h"
#include "application.conf"

Defines

#define PRIVATwqs
#define PRIVAT7a
#define PRIVAT7x
#define SYSERR2
#define SYSERR   sqrt(SYSERR2)
#define EC   1.602189E-19
#define EL   2.567010E-38
#define WE   5.182177E-9
#define WI   2.842840E-12
#define CLIGHT   2.9979246e8
#define MECSQU   511.003e3
#define MPCSQU   931.5e6
#define A   -1.8371e-7
#define B   2.3971e-7
#define C   1.19594
#define D   .1e-6

Functions

static int sgsum (double cft)
static int bgsum (double cft)
static BOOL zero (double buff2, double buff3, double buff4)
static double crscor (void)
static double dagsdt (double rate)
int WqsCal (int sgspe, int bgspe)
void WqsSho (char type, FILE *fdsho)
void WqsWrt (char *spenam, float crsfac, FILE *fdsho)
int NonStrd (int sgspe, int bgspe)

Variables

static long m1
static long m2
static long m3
static long m4
static double eengy
static double crsval
static double rserr
static double rterr
static double aserr
static double aterr
static double formfac
static char * eccmnt
static double icurr
static double ecurr
static double mstime
static double ratemx
static double ratepk
static double ratebg
static double dterr
static double nratpk
static double nratbg
static double errpk
static double errbg
static double tmsum
static double icsum
static double ecsum
static double cntsmx
static double cntspk
static double cntsbg
static double avdtc
static double mxdtc
static double dterrbg
static double dterrpk
static double lbmean
static double rbmean
static double bgmean
static double slmean
static double srmean
static double sbmean
static double sdbg
static double sdlb
static double sdrb
static double chi1lb
static double chi1rb
static double chi1bg
static double chi5lb
static double chi5rb
static double chi5bg
static double xnratpk
static double xnratbg
static double xerrpk
static double xerrbg
static double xtmsum
static double xecsum
static double xdterrpk
float icrng [16]
float ecrng [8]


Detailed Description

WQS: Analysis of ESS Data; Cross Section Calculation.

Features:
Display of ESS Data
Cross Section Calculation

Author:
Kurt Huber; Strahlenzentrum J.L.-Universitaet GIESSEN
Date:
02.03.2001
Version:
14.10.2008
modification history
--------------------
14oct08 kHu	DOXYGEN comments added
12aug03 kHu	alle Aenderungen nachgeholt
02mar01 kHu	New from WQA

Define Documentation

#define A   -1.8371e-7

#define B   2.3971e-7

#define C   1.19594

#define CLIGHT   2.9979246e8

#define D   .1e-6

#define EC   1.602189E-19

#define EL   2.567010E-38

#define MECSQU   511.003e3

#define MPCSQU   931.5e6

#define PRIVAT7a

#define PRIVAT7x

#define PRIVATwqs

#define SYSERR   sqrt(SYSERR2)

#define SYSERR2

#define WE   5.182177E-9

#define WI   2.842840E-12


Function Documentation

static int bgsum ( double  cft  )  [static]

static double crscor ( void   )  [static]

static double dagsdt ( double  rate  )  [static]

int NonStrd ( int  sgspe,
int  bgspe 
)

static int sgsum ( double  cft  )  [static]

int WqsCal ( int  sgspe,
int  bgspe 
)

void WqsSho ( char  type,
FILE *  fdsho 
)

void WqsWrt ( char *  spenam,
float  crsfac,
FILE *  fdsho 
)

static BOOL zero ( double  buff2,
double  buff3,
double  buff4 
) [static]


Variable Documentation

double aserr [static]

double aterr [static]

double avdtc [static]

double bgmean [static]

double chi1bg [static]

double chi1lb [static]

double chi1rb [static]

double chi5bg [static]

double chi5lb [static]

double chi5rb [static]

double cntsbg [static]

double cntsmx [static]

double cntspk [static]

double crsval [static]

double dterr [static]

double dterrbg [static]

double dterrpk [static]

char* eccmnt [static]

float ecrng[8]

Initial value:

 {
                500.E-3, 150.E-3, 50.E-3, 15.E-3,
                5.E-3, 1.5E-3, 500.E-6, 150.E-6
                }

double ecsum [static]

double ecurr [static]

double eengy [static]

double errbg [static]

double errpk [static]

double formfac [static]

float icrng[16]

Initial value:

 {
                100.E-6, 30.E-6, 10.E-6, 3.E-6, 1.E-6,
                300.E-9, 100.E-9, 30.E-9, 10.E-9, 3.E-9, 1.E-9,
                300.E-12, 100.E-12, 30.E-12, 10.E-12, 3.E-12
                }

double icsum [static]

double icurr [static]

double lbmean [static]

long m1 [static]

long m2 [static]

long m3 [static]

long m4 [static]

double mstime [static]

double mxdtc [static]

double nratbg [static]

double nratpk [static]

double ratebg [static]

double ratemx [static]

double ratepk [static]

double rbmean [static]

double rserr [static]

double rterr [static]

double sbmean [static]

double sdbg [static]

double sdlb [static]

double sdrb [static]

double slmean [static]

double srmean [static]

double tmsum [static]

double xdterrpk [static]

double xecsum [static]

double xerrbg [static]

double xerrpk [static]

double xnratbg [static]

double xnratpk [static]

double xtmsum [static]


Generated on Wed Oct 15 16:17:21 2008 for Experiment-Software by  doxygen 1.5.6