dEmcDCMData.idl

Go to the documentation of this file.
00001 /* dEmcDCMData.idl */
00002 
00003 /* -------------  OLD VERSION
00004 
00005 struct dEmcDCMData {
00006   long flag;            * dummy for now *
00007   long module;          * Module number encoded *
00008   long evno;            * Event number *
00009   long clock;           * Beam clock *
00010   long detid;           * Detector ID *
00011   long timecell;        * Timing AMU cell number *
00012   long precell;         * Pre AMU cell number *  
00013   long postcell;        * Post AMU cell number *
00014   long data[442];       * Max. size: 144*3 + 8 user words + 2 words
00015                            Due to zero suppression, much of the
00016                            array may remain empty
00017                            If N channels fired, there are N * 3 words
00018                                 1: channel N post
00019                                 2: channel N pre
00020                                 3: channel N time
00021                            followed by
00022                                 8 user words
00023                                 1 parity word
00024                                 1 trailer (all bits zero?)
00025                         *
00026 };
00027 
00028 ------------------ END OF OLD VERSION */
00029 
00038 struct dEmcDCMData {
00039    unsigned long nWords;        /* number of valid 32-bit words in array */
00040    unsigned long scheme;        /* DCM formatting scheme */
00041    unsigned long packetID;      /* Upper 8 bits: subsystem ID */
00042    unsigned long DCM[450];      /* Contents: see above        */
00043 };