StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
RTS
src
DAQ_ETOW
daq_etow.h
1
#ifndef _DAQ_ETOW_H_
2
#define _DAQ_ETOW_H_
3
4
5
#include <DAQ_READER/daq_det.h>
6
7
#include <DAQ_EMC/daq_emc.h>
8
9
struct
etow_t
{
10
short
adc[ETOW_MAXFEE][ETOW_DATSIZE] ;
11
short
preamble[ETOW_MAXFEE][ETOW_PRESIZE] ;
12
} ;
13
14
extern
const
int
etow_crate_map[] ;
15
16
17
class
daq_etow
:
public
daq_det
{
18
private
:
19
class
daq_dta
*handle_raw() ;
20
class
daq_dta
*handle_adc() ;
21
22
class
daq_dta
*raw ;
23
class
daq_dta
*adc ;
24
25
26
static
const
char
*help_string ;
27
28
29
protected
:
30
int
Make() ;
// ETOW needs a special make...
31
32
public
:
33
daq_etow
(
daqReader
*rts_caller=0) ;
34
~
daq_etow
() ;
35
36
37
virtual
daq_dta
*
get
(
const
char
*bank=
"*"
,
int
c1=-1,
int
c2=-1,
int
c3=-1,
void
*p1=0,
void
*p2=0) ;
38
39
int
get_l2(
char
*buff,
int
buff_bytes,
struct
daq_trg_word
*trg,
int
prompt) ;
40
41
void
help()
const
{
42
printf(
"%s\n%s\n"
,GetCVS(),help_string) ;
43
}
44
45
const
char
*GetCVS()
const
{
// Offline
46
static
const
char
cvs[]=
"Tag $Name: $Id: built "
__DATE__
" "
__TIME__ ;
return
cvs;
47
}
48
49
} ;
50
51
52
#endif // _DAQ_ETOW_H_
daq_dta
Definition:
daq_dta.h:49
daq_trg_word
Definition:
daq_dta_structs.h:7
daq_det
Definition:
daq_det.h:54
daqReader
Definition:
daqReader.h:87
etow_t
Definition:
daq_etow.h:9
daq_etow
Definition:
daq_etow.h:17
Generated by
1.8.5