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_BTOW
daq_btow.h
1
#ifndef _DAQ_BTOW_H_
2
#define _DAQ_BTOW_H_
3
4
5
#include <DAQ_READER/daq_det.h>
6
7
#include <DAQ_EMC/daq_emc.h>
8
9
struct
btow_t
{
10
short
adc[BTOW_MAXFEE][BTOW_DATSIZE] ;
11
short
preamble[BTOW_MAXFEE][BTOW_PRESIZE] ;
12
} ;
13
14
extern
const
int
btow_crate_map[] ;
15
16
class
daq_btow
:
public
daq_det
{
17
private
:
18
class
daq_dta
*handle_raw() ;
19
class
daq_dta
*handle_adc() ;
20
21
class
daq_dta
*raw ;
22
class
daq_dta
*adc ;
23
24
static
const
char
*help_string ;
25
26
27
protected
:
28
int
Make() ;
// BTOW needs a special make...
29
30
public
:
31
daq_btow
(
daqReader
*rts_caller=0) ;
32
~
daq_btow
() ;
33
34
35
virtual
daq_dta
*
get
(
const
char
*bank=
"*"
,
int
c1=-1,
int
c2=-1,
int
c3=-1,
void
*p1=0,
void
*p2=0) ;
36
37
38
int
get_l2(
char
*buff,
int
buff_bytes,
struct
daq_trg_word
*trg,
int
prompt) ;
39
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_BTOW_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
btow_t
Definition:
daq_btow.h:9
daq_btow
Definition:
daq_btow.h:16
Generated by
1.8.5