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_TPX
tpxStat.h
1
#ifndef _TPX_STAT_HH_
2
#define _TPX_STAT_HH_
3
4
#include <sys/types.h>
5
6
7
class
tpxStat
{
8
public
:
9
tpxStat
() {;} ;
10
~
tpxStat
() {;} ;
11
12
13
// used in FEE_CHECK runs...
14
int
fee_check_on ;
15
int
fee_check_altros[256] ;
16
struct
fee_check_data
{
17
double
ped, ped_sigma ;
18
double
rms, rms_sigma ;
19
double
charge, charge_sigma ;
20
double
t0, t0_sigma ;
21
double
count ;
22
int
aid ;
23
}
fee_check_data
[72][16];
// max 72 altros, 16 ch each...
24
25
int
sector ;
// from 1..36!!!
26
27
u_int stripes ;
// count of bad pads with all pixels lit...
28
29
// runs globally
30
void
run_start(u_int rb_mask,
int
run_type) ;
31
32
// run in the thread, per RB
33
void
accum(
char
*rdobuff,
int
bytes) ;
34
35
36
// runs globally
37
int
run_stop(FILE *f, u_int rb_mask,
int
run_type,
char
*fname) ;
38
39
struct
tpx_stat_struct
{
40
u_char should ;
// should the RDO be present
41
u_int count ;
42
u_int errs ;
43
struct
{
44
u_char should ;
// should the ALTRO be present
45
struct
{
46
u_int count ;
47
u_short max_adc ;
48
u_short min_adc ;
49
u_int stripes ;
50
} c[16] ;
// ALTRO channel (aka pad)
51
} a[256] ;
// ALTRO
52
} r[6] ;
// RDO; as logical!!!
53
54
55
56
private
:
57
int
run_type ;
// saved from run_start...
58
} ;
59
60
#endif
tpxStat::tpx_stat_struct
Definition:
tpxStat.h:39
tpxStat::fee_check_data
Definition:
tpxStat.h:16
tpxStat
Definition:
tpxStat.h:7
Generated by
1.8.5