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
LL1HEADER.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file LL1HEADER.h
1
#ifndef __LL1HEADER_H__
2
#define __LL1HEADER_H__
3
4
#include <TObject.h>
5
6
#include <iostream>
7
#include <string>
8
9
static
const
int
NRMOD
= 4;
10
static
const
int
NMODBYXMIT
[] = {1};
11
12
static
const
int
NXMIT
=
sizeof
(
NMODBYXMIT
)/
sizeof
(*
NMODBYXMIT
);
13
static
const
int
PACKET
[
NXMIT
] = {14002};
14
15
static
const
int
NCHANPERMOD
= 64;
16
static
const
int
NRSAM
= 20;
17
static
const
int
NPEDSAM
= 3;
18
19
static
const
int
NCH
= 52;
20
static
const
int
NTRIGWORDS
= 8;
21
static
const
int
NCHARGESUM
= 8;
22
static
const
int
NHITCHANNEL
= 8;
23
static
const
int
NTIMESUM
= 4;
24
static
const
int
NADCSH
= 13;
25
26
class
LL1HEADER
27
{
28
29
public
:
30
int
runnumber
=0;
31
int
evtnr
=0;
32
int
clock
=0;
33
34
int
evenchecksum
=0;
35
int
calcevenchecksum
=0;
36
int
oddchecksum
=0;
37
int
calcoddchecksum
=0;
38
39
int
femslot
[
NRMOD
]={0};
40
int
femevtnr
[
NRMOD
]={0};
41
int
femclock
[
NRMOD
]={0};
42
43
int
adc
[
NRMOD
*
NCHANPERMOD
][
NRSAM
]={0};
44
int
channel
[
NCH
][
NRSAM
]={0};
45
int
triggerwords
[
NTRIGWORDS
][
NRSAM
]={0};
46
float
mean
[
NRMOD
*
NCHANPERMOD
]={0.};
47
float
rms
[
NRMOD
*
NCHANPERMOD
]={0.};
48
int
minadc
[
NRMOD
*
NCHANPERMOD
]={0};
49
int
maxadc
[
NRMOD
*
NCHANPERMOD
]={0};
50
float
pedestal
[
NRMOD
*
NCHANPERMOD
]={0.};
51
float
pedsig
[
NRMOD
*
NCHANPERMOD
]={0.};
52
float
peak
[
NRMOD
*
NCHANPERMOD
]={0.};
53
float
time
[
NRMOD
*
NCHANPERMOD
]={0.};
54
float
integral
[
NRMOD
*
NCHANPERMOD
]={0.};
55
float
integral2
[
NRMOD
*
NCHANPERMOD
]={0.};
56
57
int
nhit_n1
[
NRSAM
]={0};
58
int
nhit_n2
[
NRSAM
]={0};
59
int
nhit_s1
[
NRSAM
]={0};
60
int
nhit_s2
[
NRSAM
]={0};
61
int
nhit_n
[
NRSAM
]={0};
62
int
nhit_s
[
NRSAM
]={0};
63
int
chargesum_s1
[
NRSAM
]={0};
64
int
chargesum_s2
[
NRSAM
]={0};
65
int
chargesum_n1
[
NRSAM
]={0};
66
int
chargesum_n2
[
NRSAM
]={0};
67
int
chargesum_s
[
NRSAM
]={0};
68
int
chargesum_n
[
NRSAM
]={0};
69
int
timesum_s1
[
NRSAM
]={0};
70
int
timesum_s2
[
NRSAM
]={0};
71
int
timesum_n1
[
NRSAM
]={0};
72
int
timesum_n2
[
NRSAM
]={0};
73
int
timesum_s
[
NRSAM
]={0};
74
int
timesum_n
[
NRSAM
]={0};
75
76
int
idxsample
={0};
77
int
idxhitn
={0};
78
int
idxhits
={0};
79
80
int
summary
[
NXMIT
]={0};
81
82
LL1HEADER
() {};
83
84
~LL1HEADER
() {};
85
86
};
87
88
#endif
/* __LL1HEADER_H__ */
OnlMon
blob
main
subsystems
ll1
LL1HEADER.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration