1 saw 1.1 /*-----------------------------------------------------------------------------
2 * Copyright (c) 1993-1996 Southeastern Universities Research Association,
3 * Continuous Electron Beam Accelerator Facility
4 *
5 * This software was developed under a United States Government license
6 * described in the NOTICE file included as part of this distribution.
7 *
8 * Stephen A. Wood, 12000 Jefferson Ave., Newport News, VA 23606
9 * Email: saw@cebaf.gov Tel: (804) 249-7367 Fax: (804) 249-5800
10 *-----------------------------------------------------------------------------
11 *
12 * Description:
13 * Structures, defs, and prototypes for internal use by CTP.
14 *
15 * Author: Stephen Wood, CEBAF Hall C
16 *
17 * Revision History:
18 * $Log: thInternal.h,v $
19 * Revision 1.6 1996/01/30 15:44:49 saw
20 * Add prototypes of calls needed by groups, add DEFAULTGRPSTR and ALLGRPSTR
21 *
22 saw 1.1 * Revision 1.5 1995/08/03 13:53:43 saw
23 * Add parameters for #, real, integer, double
24 *
25 * Revision 1.4 1994/09/27 20:07:54 saw
26 * Add SCALERSTR definition
27 *
28 * Revision 1.3 1994/07/21 20:48:27 saw
29 * Add "gethit" and "report" string definitions
30 *
31 * Revision 1.2 1993/11/22 21:21:07 saw
32 * Add QUOTECHARS definitions.
33 *
34 * Revision 1.1 1993/05/11 17:37:30 saw
35 * Initial revision
36 *
37 */
38
39 #ifndef _TH_INTERNAL_H
40 #define _TH_INTERNAL_H
41
42 #ifndef _DAVAR_H
43 saw 1.1 #include "daVar.h"
44 #endif
45
46 thStatus thLoadParameters(daVarStruct *var);
47 thStatus thBookGethits(daVarStruct *var);
48 thStatus thBookTests(daVarStruct *var);
49 thStatus thBookHists(daVarStruct *var);
50 thStatus thBookReports(daVarStruct *var);
51 thStatus thExecuteTestsV(daVarStruct *var);
52 thStatus thClearTestFlagsV(daVarStruct *var);
53 thStatus thClearTestScalersV(daVarStruct *var);
54 thStatus thIncTestScalersV(daVarStruct *var);
55 thStatus thExecuteHistsV(daVarStruct *var);
56 thStatus thClearHistsV(daVarStruct *var);
57 thStatus thExecuteaGethitBlock(daVarStruct *var);
58
59 extern daVarStatus thWHandler();
60 extern daVarStatus thRHandler();
61
62 #define BEGINSTR "begin"
63 #define ENDSTR "end"
64 saw 1.1 #define BLOCKSTR "block"
65 #define GROUPSTR "group"
66 #define DEFAULTGRPSTR "default"
67 #define ALLGRPSTR "all"
68 #define COMCHAR ';'
69 #define SPECIALCHAR '#'
70
71 /* Double and single quote chars */
72 #define QUOTECHAR1 0x22
73 #define QUOTECHAR2 0x27
74 #define PARMSTR "parm"
75 #define TESTSTR "test"
76 #define HISTSTR "hist"
77 #define UHISTSTR "uhist"
78 #define NTUPLESTR "ntup"
79 #define EVENTSTR "event"
80 #define GETHITSTR "gethit"
81 #define REPORTSTR "report"
82 #define SCALERSTR "scaler"
83 #define REAL "real"
84 #define INTEGER "integer"
85 saw 1.1 #define DOUBLE "double"
86
87 #define HTITLECHAR '$'
88
89 #define TH_SCALER "scaler"
90 #define TH_ND "nd"
91 #define TH_NX "nx"
92 #define TH_NY "ny"
93 #define TH_XMI "xmi"
94 #define TH_XMA "xma"
95 #define TH_YMI "ymi"
96 #define TH_YMA "yma"
97 #define TH_CONTEN "conten"
98 #define TH_X "x"
99 #define TH_Y "y"
100 #define TH_TEST "test"
101
102 #endif
103
|