StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
l3TrgReader.h
1 // ****************************************************************
2 // * l3TrgReader: Interface to TRG data. Should hide internals of
3 // * trgStructures.h. Two seperate files
4 // * l3TrgReaderV12.cxx and l3TrgReaderV12.cxx
5 // * implement the version dependent part of the
6 // * reader.
7 // * The data are accessed with public member vars.
8 // ****************************************************************
9 
10 #ifndef L3_TRG_READER_H
11 #define L3_TRG_READER_H
12 
13 
14 class L3_P;
15 
17 {
18 public:
19  // Interface functions
20  //virtual int read(void *buffer);
21  int read(void *buffer);
22  int readL3P(L3_P *l3p);
23  void reset();
24 
25 
26  protected:
27  // Version dependant readers
28  int readV12(void * buffer);
29  int readV20(void * buffer);
30  int readV21(void * buffer);
31 
32 public:
33  unsigned short token;
34  unsigned int bunchXing_hi, bunchXing_lo;
35 
36  unsigned short physicsWord;
37  unsigned short triggerWord;
38 
39  unsigned char ZDC[16];
40  unsigned char CTB[256];
41 
42  unsigned int l2Result;
43 };
44 
45 
46 #endif