StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
daq_l3.h
1 #ifndef _DAQ_L3_H_
2 #define _DAQ_L3_H_
3 
4 #include <stdio.h>
5 #include <DAQ_READER/daq_det.h>
6 #include <daqFormats.h>
7 
8 #define L3_MAX_NR_TRACKS 10000
9 
10 struct l3_t {
11  int mode; // for FY09 HLT this contains the "decision"!
12  int channels; // for FY09 HLT this contains the unique event sequence!
13  int max_channels;
14 
15  u_int tracks_num;
16  u_int cluster_num;
17  float xVertex;
18  float yVertex;
19  float zVertex;
20 
21  global_track track[L3_MAX_NR_TRACKS];
22 };
23 
24 
25 
26 class daq_l3 : public daq_det {
27 private:
28  class daq_dta *handle_legacy() ;
29 
30  class daq_dta *legacy ; // "legacy" bank
31 
32  static const char *help_string ;
33 protected:
34 
35 
36 public:
37  daq_l3(daqReader *rts_caller=0) ;
38  ~daq_l3() ;
39 
40 
41  daq_dta *get(const char *bank="*",int c1=-1, int c2=-1, int c3=-1, void *p1=0, void *p2=0) ;
42 
43  void help() const {
44  printf("%s\n%s\n",GetCVS(),help_string) ;
45  }
46 
47  const char *GetCVS() const { // Offline
48  static const char cvs[]="Tag $Name: $Id: built " __DATE__ " " __TIME__ ; return cvs;
49  }
50 
51 } ;
52 
53 
54 #endif // _DAQ_L3_H_
Definition: daq_l3.h:10
Definition: daq_l3.h:26