MIDAS
Loading...
Searching...
No Matches
hardware.h
Go to the documentation of this file.
1/********************************************************************\
2
3 Name: HARDWARE.H
4 Created by: Stefan Ritt
5
6 Contents: Type ID definitions and structured for specific
7 hardware.
8
9 $Id$
10
11\********************************************************************/
12
13/* Hardware data types. Can be used to create MIDAS banks. Should
14 be or'ed with standard data types like TID_DWORD | TID_LRS1882 */
15
16#define TID_LRS1882 (1<<8) /* LeCroy 1882 fastbus ADC */
17#define TID_LRS1877 (2<<8) /* LeCroy 1877 fastbus TDC */
18#define TID_PCOS3 (3<<8) /* LeCroy PCOS 3 wire chambers */
19#define TID_LRS1875 (4<<8) /* LeCroy 1875 fastbus TDC */
20
21/* Hardware data records */
22
31
40
49
50typedef struct {
51 WORD data : 12;
52 WORD : 4;
54 WORD : 1;
59
60typedef struct {
61 WORD : 8;
62 WORD count : 6;
63 WORD : 2;
64 WORD crate : 8;
65 WORD tag : 3;
68
69typedef struct {
70 WORD data : 12;
74 WORD : 1;
76 WORD : 2;
77 WORD tag : 3;
unsigned short int WORD
Definition mcstd.h:49
WORD channel
Definition hardware.h:75
WORD geo_addr
Definition hardware.h:78
WORD underflow
Definition hardware.h:72
WORD overflow
Definition hardware.h:71
WORD channel
Definition hardware.h:53
WORD geo_addr
Definition hardware.h:57
WORD parity
Definition hardware.h:37
WORD geo_addr
Definition hardware.h:38
WORD buffer
Definition hardware.h:36
WORD channel
Definition hardware.h:35
WORD channel
Definition hardware.h:26
WORD geo_addr
Definition hardware.h:29