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_FTP
daq_ftp.h
1
#ifndef _DAQ_FTP_H_
2
#define _DAQ_FTP_H_
3
4
struct
ftp_t
{
5
int
channels ;
6
int
mode ;
// 0 normal, 1 pedestals/RMSs
7
int
max_channels ;
8
9
// how many valid timebins in this pad
10
u_char counts[2][10][960] ;
11
// up to 256 valid timebins (count is in counts)
12
u_char timebin[2][10][960][256] ;
13
14
// up to 256 valid adcs (same count as above...)
15
u_char adc[2][10][960][256] ;
16
17
} ;
18
19
#ifndef DAQ_FTP_DATA_STRUCTURE
20
#include <stdio.h>
21
#include <DAQ_READER/daq_det.h>
22
23
class
daq_ftp
:
public
daq_det
{
24
private
:
25
class
daq_dta
*handle_legacy() ;
26
27
class
daq_dta
*legacy ;
// "legacy" bank
28
29
static
const
char
*help_string ;
30
protected
:
31
32
33
public
:
34
daq_ftp
(
daqReader
*rts_caller=0) ;
35
~
daq_ftp
() ;
36
37
38
daq_dta
*
get
(
const
char
*bank=
"*"
,
int
c1=-1,
int
c2=-1,
int
c3=-1,
void
*p1=0,
void
*p2=0) ;
39
40
void
help()
const
{
41
printf(
"%s\n%s\n"
,GetCVS(),help_string) ;
42
}
43
44
const
char
*GetCVS()
const
{
// Offline
45
static
const
char
cvs[]=
"Tag $Name: $Id: built "
__DATE__
" "
__TIME__ ;
return
cvs;
46
}
47
48
} ;
49
50
#endif // DAQ_FTP_DATA_STRUCTURE
51
#endif // _DAQ_FTP_H_
daq_ftp
Definition:
daq_ftp.h:23
daq_dta
Definition:
daq_dta.h:49
daq_det
Definition:
daq_det.h:54
daqReader
Definition:
daqReader.h:87
ftp_t
Definition:
daq_ftp.h:4
Generated by
1.8.5