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_SST
sstPed.h
1
#ifndef _SST_PED_HH_
2
#define _SST_PED_HH_
3
4
5
#include <sys/types.h>
6
7
#include "daq_sst.h"
8
9
10
11
class
sstPed
{
12
public
:
13
sstPed
() ;
14
~
sstPed
() ;
15
16
17
int
sector ;
18
int
valid ;
// when calced or loaded
19
20
int
rb_mask ;
21
22
void
init(
int
active_rbs) ;
// mallocs (if nece) and clears ped_store
23
24
void
accum(
char
*evbuff,
int
bytes,
int
rdo1) ;
25
26
void
calc() ;
// calculates mean/rms into ped_store
27
int
to_evb(
char
*buff) ;
// to EVB format from ped_store
28
29
30
int
to_cache(
char
*fname = 0, u_int run = 0) ;
// to cached file from ped_store
31
32
33
// allocated per RDO
34
daq_sst_ped_t
*ped_store ;
35
36
37
daq_sst
*sst_rdr ;
// need it for something...
38
39
int
sizeof_ped ;
40
41
} ;
42
43
#endif
daq_sst_ped_t
Definition:
daq_sst.h:42
daq_sst
Definition:
daq_sst.h:49
sstPed
Definition:
sstPed.h:11
Generated by
1.8.5