Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:20:45

0001 /* 
0002 ** framePublic.h
0003 ** 
0004 ** Author: $Author: purschke $  
0005 **   Date: $Date: 2000/07/21 01:51:13 $ 
0006 ** 
0007 ** $Log: framePublic.h,v $
0008 ** Revision 1.1.1.1  2000/07/21 01:51:13  purschke
0009 ** mlp -- adding the new automakified "basic" module to CVS.
0010 **
0011 **
0012 ** Revision 1.3  1998/12/11 22:01:42  markacs
0013 ** (stephen markacs) adding log into cvs tags
0014 ** 
0015 */
0016 /*
0017 ** framePublic.h
0018 **
0019 **   Defines "public" enumerations, typedefs, etc. used in both
0020 **   C and C++ frame routines.
0021 **
0022 */
0023 
0024 #ifndef _FRAMEPUBLIC_ 
0025 #define _FRAMEPUBLIC_ 
0026 
0027 #include "phenixOnline.h"
0028 #include "frameV1Public.h"
0029 
0030 /*
0031 **  Use C linkage for below structures
0032 */
0033 #ifdef __cplusplus
0034 extern "C" {
0035 #endif
0036 
0037   /*
0038   **  Here's a current failure in the frame versioning scheme as implemented
0039   **  Right now the alignment block is treated as being defined with a particular
0040   **  version. That means the contents are version specific. Until we figure out
0041   **  how to handle this problem, explicitly define the alignment block to be from V1
0042   */
0043   typedef ALIGNBLKV1 ALIGNBLK;
0044 
0045   /*
0046   ** Define the type of pointer used for a frame. For now a frame
0047   **   will be pointed to as if it is a PHDWORD array. When headers
0048   **   are accessed the pointer to the frame will be cast to that
0049   **   of the proper header type.
0050   */
0051   
0052   typedef PHDWORD* FRAME_ptr;
0053   
0054   /*
0055   **  Enumeration for the "dataType" field
0056   */
0057   enum DataTypes {
0058     normalData = 1,
0059     calibrationData = 2,
0060     monitorData = 3,
0061     rawData = 4
0062     /*
0063     ** more to be added
0064     */
0065   } ;
0066   
0067   /*
0068   **  Enumeration for the "frameType" field
0069   */
0070   enum FrameTypes {
0071     dcmFrame  = 1,
0072     dcbFrame = 2,
0073     sebFrame = 3,
0074     atpFrame = 4,
0075     oncsFrame = 5
0076     /*
0077     ** more to be added
0078     */
0079   } ;
0080   
0081 #ifdef __cplusplus
0082 }
0083 #endif
0084 
0085 #endif
0086 
0087 
0088 
0089 
0090 
0091 
0092 
0093