Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
plugins/Analysis/eta_ntuple/cern_c.h
Go to the documentation of this file.
1 /*
2  * prototypes for c_cern package
3  *
4  * clas c interface to hbook and hplot
5  *
6  * jm, ejw, 8-jan-1998
7  *
8  */
9 
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 
16 void hlimit(int size);
17 void hlimap(int size,char *name);
18 void hrput(int id, char *file, char *opt);
19 void hf1(int id,float data,float weight);
20 void hf1e(int id, float data, float weight, float error);
21 void hf2(int id,float data1,float data2,float weight);
22 void hdelet(int id);
23 void hrin( int id, int icycle , int iofset );
24 void hfn(int id, float data[]);
25 void hfnov(int id, float data[]);
26 void hfnt(int id);
27 void hfithn(int id, char *chfun, char *chopt, int np, float par[],
28  float step[], float pmin[], float pmax[], float sigpar[], float *chi2);
29 void hunpak(int histo,float contents[],char choice[], int num);
30 void hidopt( int id, char *chopt);
31 void hpak(int histo,float contents[]);
32 void hrget( int id, char *chfile, char *chopt);
33 void hldir(char dir[],char flag[]);
34 void hmdir(char dir[],char flag[]);
35 void hcdir(char dir[],char flag[]);
36 void hropen(int lun, char *name, const char*filename, const char*status, int stor,
37  int istat);
38 void hrout(int num, int icycle, char*opt);
39 void hrend(char*filename);
40 void hreset(int no, char* opt);
41 void hbook2(int no, char*name, int xbins, float xmin, float xmax, int ybins,
42  float ymin, float ymax, float weight);
43 void hbook1(int no, char*name, int nbins, float min, float max, float v);
44 void hbnt(int id,char *CHTITL,char *CHOPT);
45 void hbname(int id,const char *CHBLOK,void *VAR, const char *CHFORM);
46 void hbookn(int id, char *CHTITL,int NVAR, char *CHRZPA,int NWBUFF,char*CHTAGS);
47 void hbarx(int id);
48 void hfill(int no, float xvalue, float yvalue, float weight);
49 
50 
51  /* macros for choice variable*/
52 #define HSTATI_MEAN 1
53 #define HSTATI_STDEV 2
54 #define HSTATI_NEQUIV 3
55 float hstati_(int *id, int *icase, char *choice, int *num, int choicesize);
56 float hstati(int id, int icase, char *choice, int num);
57 
58 float hx_(int *id, float *x);
59 float hx(int id, float x);
60 void hxi(int id, float x, int *bin);
61 float hsum(int id);
62 
63 
64 void hopera(int id1,char *oper,int id2, int id3,float scale1,float scale2);
65 
66 /* hplot routines located in file clas_hplot.c - Keep these in a separate file!!!! */
67 
68 void hplint(int no);
69 void hplego(int no, float theta, float phi);
70 void hplcon(int histonum, int x, int y);
71 void hplzon(int x, int y, int num, char *opt);
72 void hplot(int no, char*chopt, char*chcase, int num);
73 void iuwk(int num1, int num2);
74 void hplcap(int unit);
75 void hplzon(int nx, int ny, int fistplotted, char *option);
76 
77 /* Minuit Routines */
78 void mninit(int IRD,int IWR,int ISAV);
79 void mnseti(char *CTITLE);
80 void mnparm(int NUM,char *CHNAM,double STVAL,double STEP,double BND1,double BND2,int *IERR);
81 void mnpars(char *CHSTR,int *ICOND);
82 void mnexcm(void *FCN,char *CHCOM,double ARGLIS[],int NARG,int *IERRFLAG,void *FUTIL);
83 void mncomd(void *FCN,char *CHSTR,int *ICONDN,void *FUTIL);
84 void mnpout(int NUM,char *CHNAM,double *VAL,double *ERROR,double *BND1,double *BND2,int *IVARBL);
85 void mnerrs(int NUM, double *EPLUS, double *EMINUS,double *EPARAB, double *GLOBCC);
86 
87 #ifdef __cplusplus
88 }
89 #endif
90 
float hstati(int id, int icase, char *choice, int num)
void hbname(int id, const char *CHBLOK, void *VAR, const char *CHFORM)
void hmdir(char dir[], char flag[])
void mnparm(int NUM, char *CHNAM, double STVAL, double STEP, double BND1, double BND2, int *IERR)
void hrput(int id, char *file, char *opt)
void hropen(int lun, char *name, char *filename, char *status, int stor, int istat)
float hx(int id, float x)
void hreset(int no, char *opt)
void hbookn(int id, char *CHTITL, int NVAR, char *CHRZPA, int NWBUFF, char *CHTAGS)
void hfnt(int id)
Double_t x[NCHANNELS]
Definition: st_tw_resols.C:39
void hlimit(int size)
TString filename
void hplot(int no, char *chopt, char *chcase, int num)
#define y
void hopera(int id1, char *oper, int id2, int id3, float scale1, float scale2)
void hbarx(int id)
long int flag
Definition: grkuta.cc:73
void hbnt(int id, char *CHTITL, char *CHOPT)
void hfithn(int id, char *chfun, char *chopt, int np, float par[], float step[], float pmin[], float pmax[], float sigpar[], float *chi2)
float hx_(int *id, float *x)
float hstati_(int *id, int *icase, char *choice, int *num, int choicesize)
#define ERROR
Definition: mc2coda.h:7
void hf2(int id, float data1, float data2, float weight)
void hrin(int id, int icycle, int iofset)
void hfnov(int id, float data[])
void hf1e(int id, float data, float weight, float error)
void hf1(int id, float data, float weight)
void iuwk(int num1, int num2)
void hfn(int id, float data[])
void hunpak(int histo, float contents[], char choice[], int num)
void mnpout(int NUM, char *CHNAM, double *VAL, double *ERROR, double *BND1, double *BND2, int *IVARBL)
void hrout(int num, int icycle, char *opt)
void mnseti(char *CTITLE)
void mninit(int IRD, int IWR, int ISAV)
void hxi(int id, float x, int *bin)
void hdelet(int id)
void hlimap(int size, char *name)
void mnpars(char *CHSTR, int *ICOND)
void hplint(int no)
void hidopt(int id, char *chopt)
float hsum(int id)
void hbook1(int no, char *name, int nbins, float min, float max, float v)
void hrend(char *filename)
void mnexcm(void *FCN, char *CHCOM, double ARGLIS[], int NARG, int *IERRFLAG, void *FUTIL)
void mnerrs(int NUM, double *EPLUS, double *EMINUS, double *EPARAB, double *GLOBCC)
void hplcon(int histonum, int x, int y)
void hplzon(int x, int y, int num, char *opt)
void hplcap(int unit)
Double_t ymin
Definition: bcal_hist_eff.C:89
void hldir(char dir[], char flag[])
void mncomd(void *FCN, char *CHSTR, int *ICONDN, void *FUTIL)
Double_t ymax
Definition: bcal_hist_eff.C:91
void hpak(int histo, float contents[])
TDirectory * dir
Definition: bcal_hist_eff.C:31
void hcdir(char dir[], char flag[])
void hbook2(int no, char *name, int xbins, float xmin, float xmax, int ybins, float ymin, float ymax, float weight)
void hrget(int id, char *chfile, char *chopt)
void hplego(int no, float theta, float phi)
void hfill(int no, float xvalue, float yvalue, float weight)