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
packet_iddigitizerv3.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file packet_iddigitizerv3.h
1
#ifndef __PACKET_IDDIGITIZERV3_H__
2
#define __PACKET_IDDIGITIZERV3_H__
3
4
5
#include "
packet_w124.h
"
6
7
#ifndef __CINT__
8
class
WINDOWSEXPORT
Packet_iddigitizerv3
:
public
Packet_w4
{
9
#else
10
class
Packet_iddigitizerv3
:
public
Packet_w4
{
11
#endif
12
13
public
:
14
Packet_iddigitizerv3
(
PACKET_ptr
);
15
~
Packet_iddigitizerv3
();
16
17
int
iValue(
const
int
sample,
const
int
ch);
18
int
iValue(
const
int
,
const
char
* what);
19
void
dump (
OSTREAM
&
os
=
COUT
) ;
20
21
22
protected
:
23
int
decode ();
24
unsigned
int
decode_FEM (
unsigned
int
*
k
,
const
int
fem_nr,
const
int
len);
25
26
int
_broken
;
27
28
#define NR_FEMS 4
29
30
// header info per packet
31
int
_evtnr
;
32
int
_flagword
;
33
int
_detid
;
34
int
_module_address
;
35
int
_xmit_clock
;
36
37
// info per FEM
38
int
_fem_slot[
NR_FEMS
];
39
int
_fem_evtnr[
NR_FEMS
];
40
int
_fem_clock[
NR_FEMS
];
41
42
int
_fem_checksum_MSB[
NR_FEMS
];
43
int
_fem_checksum_LSB[
NR_FEMS
];
44
int
_fem_calculated_checksum_MSB[
NR_FEMS
];
45
int
_fem_calculated_checksum_LSB[
NR_FEMS
];
46
47
int
_nsamples
;
48
int
_nr_modules
;
49
50
int
_nchannels
;
51
int
_is_decoded
;
52
53
bool
isZeroSuppressed[
NR_FEMS
*64];
54
bool
_AnyChannelisSuppressed
;
55
56
int
adc[32][
NR_FEMS
*64];
57
int
pre_post[2][
NR_FEMS
*64];
58
59
60
};
61
62
63
#endif
/* __PACKET_IDDIGITIZERV3_H__ */
online_distribution
blob
master
newbasic
packet_iddigitizerv3.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration