Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
oncsSub_idsrs_v01.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file oncsSub_idsrs_v01.h
1
#ifndef __ONCSSUB_IDSRS_V01_H__
2
#define __ONCSSUB_IDSRS_V01_H__
3
4
#include <vector>
5
6
#include "
oncsSubevent.h
"
7
8
#ifndef __CINT__
9
class
WINDOWSEXPORT
oncsSub_idsrs_v01
:
public
oncsSubevent_w4
{
10
#else
11
class
oncsSub_idsrs_v01
:
public
oncsSubevent_w4
{
12
#endif
13
14
public
:
15
oncsSub_idsrs_v01
(
subevtdata_ptr
);
16
~
oncsSub_idsrs_v01
();
17
18
19
int
iValue(
const
int
channel
,
const
char
*);
20
int
iValue(
const
int
channel,
const
int
hybrid,
const
char
*);
21
int
iValue(
const
int
channel,
const
int
tsample,
const
int
hybrid);
22
23
void
dump (
OSTREAM
&
os
=
COUT
) ;
24
25
protected
:
26
int
*decode (
int
*);
27
28
29
typedef
struct
{
30
int
n
;
31
int
address
;
32
int
error
;
33
int
adc[128];
34
}
report
;
35
36
typedef
struct
{
37
int
framecounter
;
38
int
hdmi
;
39
char
desc[5];
40
int
words
;
41
std::vector<int>
adc
;
42
std::vector<report *>
rowdata
;
43
}
hybriddata
;
44
45
46
std::vector<hybriddata*>
hybridlist
;
47
int
nhybrids
;
48
49
int
analyze
(
hybriddata
* hd);
50
int
add_report (
hybriddata
* hd,
const
int
start
,
const
int
nreport);
51
52
53
};
54
55
56
57
#endif
/* __ONCSSUB_IDUPPETDATA_V104_H__ */
online_distribution
blob
master
newbasic
oncsSub_idsrs_v01.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:27
using
1.8.2 with
sPHENIX GitHub integration