Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 209 → Rev 207

/cvi/instr/HISTO/H1D.c
File deleted
/cvi/instr/HISTO/H2D.c
File deleted
/cvi/instr/HISTO/H3D.c
File deleted
/cvi/instr/HISTO/H1D.fp
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: instr/HISTO/H2D.fp
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/instr/HISTO/H2D.fp
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: instr/HISTO/H3D.fp
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/instr/HISTO/H3D.fp
Property changes:
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: instr/HISTO/H1D.h
===================================================================
--- instr/HISTO/H1D.h (revision 209)
+++ instr/HISTO/H1D.h (nonexistent)
@@ -1,78 +0,0 @@
-#ifndef _H1D_H_
-#define _H1D_H_
-
-#ifdef _CVI_
-#include <cvidef.h>
-#include <ivi.h>
-#include <userint.h>
-#else
-#define _VI_FUNC
-#endif
-
-#include <stdio.h>
-
-
-/* 2d histogramming */
-#define H1D_ID 0x11
-#pragma pack(4)
-typedef struct {
- unsigned int id,len;
- unsigned int nx;
- int nentries;
- unsigned int size;
- double min;
- double max;
- double minx;
- double stepx;
-
- char name[20];
- char title[100];
- char titlex[40];
- char titley[40];
-
- double *data;
-} H1D;
-#pragma pack()
-
-
-
-
-double _VI_FUNC H1D_GetYBinCenter(int h2d,int ybin);
-double _VI_FUNC H1D_GetYBinCenter(int h2d,int xbin);
-
-int _VI_FUNC H1D_Clear(int h2d);
-int _VI_FUNC H1D_Print(int h2d);
-int _VI_FUNC H1D_Exist(int h2d);
-int _VI_FUNC H1D_GetBin(int h2d, double value);
-int _VI_FUNC H1D_Fill(int h2d,double x, double val);
-int _VI_FUNC H1D_FillBin(int h2d,int x, double val);
-int _VI_FUNC H1D_SetBinContent(int h2d,int x, double val);
-double _VI_FUNC H1D_GetBinContent(int h2d,int atx);
-int _VI_FUNC H1D_Init(int h2d,char *name, char *title,int nx, double minx, double maxx);
-int _VI_FUNC H1D_Write(int h2d,const char *fname,const char*opt);
-int _VI_FUNC H1D_Write2File(int h2d,FILE *fp);
-int _VI_FUNC H1D_SetTitle(int h2d,char *title);
-int _VI_FUNC H1D_SetTitleX(int h2d,char *title);
-int _VI_FUNC H1D_SetTitleY(int h2d,char *title);
-int _VI_FUNC H1D_SetName(int h2d,char *title);
-
-char * _VI_FUNC H1D_GetTitleX(int h1d);
-
-char * _VI_FUNC H1D_GetTitleY(int h1d);
-
-char * _VI_FUNC H1D_GetTitle(int h1d);
-
-
-
-int _VI_FUNC H1D_GetNbinsX(int h);
-
-double _VI_FUNC H1D_GetMinX(int h);
-double _VI_FUNC H1D_GetMaxX(int h);
-
-double _VI_FUNC H1D_GetStepX(int h);
-double _VI_FUNC H1D_GetMin(int h);
-double _VI_FUNC H1D_GetMax(int h);
-double * _VI_FUNC H1D_GetData(int h);
-int _VI_FUNC H1D_Draw(int histogram,int panel, int control, int *plothandle) ;
-
-#endif /* _H1D_H_ */
Index: instr/HISTO/H2D.h
===================================================================
--- instr/HISTO/H2D.h (revision 209)
+++ instr/HISTO/H2D.h (nonexistent)
@@ -1,97 +0,0 @@
-#ifndef _H2D_H_
-#define _H2D_H_
-
-
-#ifdef _CVI_
-#include <cvidef.h>
-#include <ivi.h>
-#include <userint.h>
-#include "toolbox.h"
-
-#ifndef _HCOLORMAP_
-#define _HCOLORMAP_
-typedef struct {
- ColorMapEntry *array;
- int numberofColors;
- int HiColor;
-} HColorMap;
-#endif
-
-HColorMap _VI_FUNC *H2D_GetColorMap(void);
-
-#else
-#define _VI_FUNC
-#endif
-
-#include <stdio.h>
-
-
-
-
-#ifdef __CINT__
-#define HALIGN 41
-#else
-#define HALIGN 40
-#endif
-
-
-/* 2d histogramming */
-#define H2D_ID 0x10
-#pragma pack(4)
-typedef struct {
- unsigned int id,len;
- unsigned int nx;
- unsigned int ny;
- int nentries;
- unsigned int size; // 6*4
- double min;
- double max;
- double minx;
- double miny;
- double stepx;
- double stepy; // 6*8
- char name[20];
- char title[100];
- char titlex[40];
- char titley[HALIGN]; // 196
- double *data;
-} H2D;
-#pragma pack()
-
-double _VI_FUNC H2D_GetYBinCenter(int h2d,int ybin);
-double _VI_FUNC H2D_GetYBinCenter(int h2d,int xbin);
-
-int _VI_FUNC H2D_Clear(int h2d);
-int _VI_FUNC H2D_Print(int h2d);
-int _VI_FUNC H2D_Exist(int h2d);
-int _VI_FUNC H2D_CalculateBin(int h2d, int axis, double value);
-int _VI_FUNC H2D_GetBin(int h2d,int x, int y);
-int _VI_FUNC H2D_Fill(int h2d,double x, double y, double val);
-int _VI_FUNC H2D_SetBinContent(int h2d,int x, int y, double val);
-double _VI_FUNC H2D_GetBinContent(int h2d,int atx, int aty);
-int _VI_FUNC H2D_Init(int h2d,const char *name,const char *title,int nx, double minx, double maxx, int ny, double miny, double maxy);
-int _VI_FUNC H2D_Write(int h2d,const char *fname,const char*opt);
-int _VI_FUNC H2D_Write2File(int h2d,FILE *fp);
-int _VI_FUNC H2D_SetTitle(int h2d,const char *title);
-int _VI_FUNC H2D_SetTitleX(int h2d,const char *title);
-int _VI_FUNC H2D_SetTitleY(int h2d,const char *title);
-int _VI_FUNC H2D_SetName(int h2d,const char *title);
-
-int _VI_FUNC H2D_GetNbinsY(int h);
-int _VI_FUNC H2D_GetNbinsX(int h);
-double _VI_FUNC H2D_GetMinY(int h);
-double _VI_FUNC H2D_GetMinX(int h);
-double _VI_FUNC H2D_GetMaxX(int h);
-double _VI_FUNC H2D_GetMaxY(int h);
-double _VI_FUNC H2D_GetStepY(int h);
-double _VI_FUNC H2D_GetStepX(int h);
-double _VI_FUNC H2D_GetMin(int h);
-double _VI_FUNC H2D_GetMax(int h);
-double * _VI_FUNC H2D_GetData(int h);
-
-
-int _VI_FUNC H2D_SetRangeColors(double min, double max);
-int _VI_FUNC H2D_Draw(int histogram,int panel, int control, int *plothandle);
-
-
-#endif /* _H2D_H_ */
Index: instr/HISTO/H3D.h
===================================================================
--- instr/HISTO/H3D.h (revision 209)
+++ instr/HISTO/H3D.h (nonexistent)
@@ -1,98 +0,0 @@
-#ifndef _H3D_H_
-#define _H3D_H_
-
-#ifdef _CVI_
-#include <cvidef.h>
-#include <ivi.h>
-#include "toolbox.h"
-
-#ifndef _HCOLORMAP_
-#define _HCOLORMAP_
-typedef struct {
- ColorMapEntry *array;
- int numberofColors;
- int HiColor;
-} HColorMap;
-#endif
-
-HColorMap * _VI_FUNC H3D_GetColorMap(void);
-#else
-#define _VI_FUNC
-#endif
-
-#include <stdio.h>
-
-/* 2d histogramming */
-#define H3D_ID 0x12
-#pragma pack(4)
-typedef struct
-{
-unsigned int id,len;
-unsigned int nx;
-unsigned int ny;
-unsigned int nz;
-int nentries;
-unsigned int size;
-double min;
-double max;
-double minx;
-double miny;
-double minz;
-double stepx;
-double stepy;
-double stepz;
-char name[20];
-char title[100];
-char titlex[40];
-char titley[40];
-char titlez[40];
-double *data;
-}H3D;
-#pragma pack()
-
-
-
-int _VI_FUNC H3D_SliXY(int histogram,int slice, int direction);
-
-double _VI_FUNC H3D_GetYBinCenter(int h3d,int ybin);
-double _VI_FUNC H3D_GetYBinCenter(int h3d,int xbin);
-
-int _VI_FUNC H3D_Clear(int h3d);
-int _VI_FUNC H3D_Print(int h3d);
-int _VI_FUNC H3D_Exist(int h3d);
-int _VI_FUNC H3D_CalculateBin(int h3d, int axis, double value);
-int _VI_FUNC H3D_GetBin(int h3d,int x, int y, int z);
-int _VI_FUNC H3D_Fill(int h3d,double x, double y, double z, double val);
-int _VI_FUNC H3D_FillBin(int h3d,int x, int y, int z, double val);
-double _VI_FUNC H3D_GetBinContent(int h3d,int atx, int aty, int atz);
-int _VI_FUNC H3D_Init(int h3d,char *name, char *title,int nx, double minx, double maxx, int ny, double miny, double maxy,int nz, double minz, double maxz);
-int _VI_FUNC H3D_Write(int h3d,const char *fname,const char*opt);
-int _VI_FUNC H3D_Write2File(int h3d,FILE *fp);
-int _VI_FUNC H3D_SetTitle(int h3d,char *title);
-int _VI_FUNC H3D_SetTitleX(int h3d,char *title);
-int _VI_FUNC H3D_SetTitleY(int h3d,char *title);
-int _VI_FUNC H3D_SetTitleZ(int h3d,char *title);
-int _VI_FUNC H3D_SetName(int h3d,char *title);
-
-int _VI_FUNC H3D_GetNbinsY(int h);
-int _VI_FUNC H3D_GetNbinsX(int h);
-int _VI_FUNC H3D_GetNbinsZ(int h);
-
-double _VI_FUNC H3D_GetMaxX(int h);
-double _VI_FUNC H3D_GetMaxY(int h);
-double _VI_FUNC H3D_GetMaxZ(int h);
-
-double _VI_FUNC H3D_GetMinX(int h);
-double _VI_FUNC H3D_GetMinY(int h);
-double _VI_FUNC H3D_GetMinZ(int h);
-
-double _VI_FUNC H3D_GetStepX(int h);
-double _VI_FUNC H3D_GetStepY(int h);
-double _VI_FUNC H3D_GetStepZ(int h);
-
-double _VI_FUNC H3D_GetMin(int h);
-double _VI_FUNC H3D_GetMax(int h);
-double * _VI_FUNC H3D_GetSliceXYData(int h, int slice);
-double * _VI_FUNC H3D_GetData(int h);
-
-#endif