(file) Return to thInternal.h CVS log (file) (dir) Up to [HallC] / Analyzer / CTP

  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 saw   1.3  *   Revision 1.2  1999/11/04 20:34:06  saw
 20            *   Alpha compatibility.
 21            *   New RPC call needed for root event display.
 22            *   Start of code to write ROOT trees (ntuples) from new "tree" block
 23            *
 24 saw   1.2  *   Revision 1.8  1999/08/25 13:16:06  saw
 25            *   *** empty log message ***
 26            *
 27            *   Revision 1.7  1999/03/01 19:54:48  saw
 28            *   Add weighted histograms
 29            *
 30            *	  Revision 1.6  1996/01/30  15:44:49  saw
 31            *	  Add prototypes of calls needed by groups, add DEFAULTGRPSTR and ALLGRPSTR
 32 saw   1.1  *
 33            *	  Revision 1.5  1995/08/03  13:53:43  saw
 34            *	  Add parameters for #, real, integer, double
 35            *
 36            *	  Revision 1.4  1994/09/27  20:07:54  saw
 37            *	  Add SCALERSTR definition
 38            *
 39            *	  Revision 1.3  1994/07/21  20:48:27  saw
 40            *	  Add "gethit" and "report" string definitions
 41            *
 42            *	  Revision 1.2  1993/11/22  21:21:07  saw
 43            *	  Add QUOTECHARS definitions.
 44            *
 45            *	  Revision 1.1  1993/05/11  17:37:30  saw
 46            *	  Initial revision
 47            *
 48            */
 49           
 50           #ifndef _TH_INTERNAL_H
 51           #define _TH_INTERNAL_H
 52           
 53 saw   1.1 #ifndef _DAVAR_H
 54           #include "daVar.h"
 55           #endif
 56           
 57           thStatus thLoadParameters(daVarStruct *var);
 58           thStatus thBookGethits(daVarStruct *var);
 59           thStatus thBookTests(daVarStruct *var);
 60           thStatus thBookHists(daVarStruct *var);
 61           thStatus thBookReports(daVarStruct *var);
 62           thStatus thExecuteTestsV(daVarStruct *var);
 63           thStatus thClearTestFlagsV(daVarStruct *var);
 64           thStatus thClearTestScalersV(daVarStruct *var);
 65           thStatus thIncTestScalersV(daVarStruct *var);
 66           thStatus thExecuteHistsV(daVarStruct *var);
 67           thStatus thClearHistsV(daVarStruct *var);
 68           thStatus thExecuteaGethitBlock(daVarStruct *var);
 69 saw   1.2 thStatus thBookTree(daVarStruct *var);
 70           thStatus thFillTreeV(daVarStruct *var);
 71           thStatus thClearTreeV(daVarStruct *var);
 72           thStatus thWriteTreeV(daVarStruct *var);
 73           thStatus thCloseTreeV(daVarStruct *var);
 74 saw   1.1 
 75           extern daVarStatus thWHandler();
 76           extern daVarStatus thRHandler();
 77           
 78           #define BEGINSTR "begin"
 79           #define ENDSTR "end"
 80           #define BLOCKSTR "block"
 81           #define GROUPSTR "group"
 82           #define DEFAULTGRPSTR "default"
 83           #define ALLGRPSTR "all"
 84           #define COMCHAR ';'
 85           #define SPECIALCHAR '#'
 86           
 87           /* Double and single quote chars */
 88           #define QUOTECHAR1 0x22
 89           #define QUOTECHAR2 0x27
 90           #define PARMSTR "parm"
 91           #define TESTSTR "test"
 92           #define HISTSTR "hist"
 93           #define UHISTSTR "uhist"
 94           #define NTUPLESTR "ntup"
 95 saw   1.1 #define EVENTSTR "event"
 96           #define GETHITSTR "gethit"
 97           #define REPORTSTR "report"
 98 saw   1.2 #define TREESTR "tree"
 99 saw   1.1 #define SCALERSTR "scaler"
100           #define REAL "real"
101           #define INTEGER "integer"
102           #define DOUBLE "double"
103           
104           #define HTITLECHAR '$'
105 saw   1.2 #define WEIGHTCHAR '#'
106 saw   1.1 
107           #define TH_SCALER "scaler"
108           #define TH_ND "nd"
109           #define TH_NX "nx"
110           #define TH_NY "ny"
111           #define TH_XMI "xmi"
112           #define TH_XMA "xma"
113           #define TH_YMI "ymi"
114           #define TH_YMA "yma"
115           #define TH_CONTEN "conten"
116           #define TH_X "x"
117           #define TH_Y "y"
118           #define TH_TEST "test"
119           
120           #endif
121           

Analyzer/Replay: Mark Jones, Documents: Stephen Wood
Powered by
ViewCVS 0.9.2-cvsgraph-1.4.0