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
HcalMon.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file HcalMon.h
1
#ifndef HCAL_HCALMON_H
2
#define HCAL_HCALMON_H
3
4
#include <onlmon/OnlMon.h>
5
6
#include <vector>
7
8
class
CaloWaveformFitting
;
9
class
TowerInfoContainer
;
10
class
Event
;
11
class
TH1;
12
class
TH2;
13
class
Packet
;
14
class
runningMean
;
15
class
eventReceiverClient
;
16
17
class
HcalMon
:
public
OnlMon
18
{
19
public
:
20
HcalMon
(
const
std::string
&
name
);
21
virtual
~HcalMon
();
22
23
int
process_event
(
Event
* evt);
24
int
Init
();
25
int
BeginRun
(
const
int
runno);
26
int
Reset
();
27
std::vector<float>
getSignal
(
Packet
*
p
,
const
int
channel
);
28
std::vector<float>
anaWaveform
(
Packet
* p,
const
int
channel);
29
30
protected
:
31
int
evtcnt
= 0;
32
int
idummy
= 0;
33
const
int
Nsector
= 32;
34
const
int
Ntower
= 1536;
35
const
int
m_nChannels
= 192;
36
int
packetlow
= 8001;
37
int
packethigh
= 8008;
38
// TH1 *hcalhist1 = nullptr;
39
// TH2 *hcalhist2 = nullptr;
40
TH2*
h2_hcal_hits
=
nullptr
;
41
TH2*
h2_hcal_hits_trig
=
nullptr
;
42
TH1*
h_waveform_twrAvg
=
nullptr
;
43
TH1*
h_waveform_time
=
nullptr
;
44
TH1*
h_waveform_pedestal
=
nullptr
;
45
TH2*
h2_hcal_rm
=
nullptr
;
46
TH2*
h2_hcal_mean
=
nullptr
;
47
TH2*
h2_hcal_waveform
=
nullptr
;
48
TH2*
h2_hcal_correlation
=
nullptr
;
49
TH1*
h_sectorAvg_total
=
nullptr
;
50
TH1*
h_event
=
nullptr
;
51
TH1*
h_ntower
=
nullptr
;
52
TH1*
h1_packet_chans
=
nullptr
;
53
TH1*
h1_packet_length
=
nullptr
;
54
TH1*
h1_packet_number
=
nullptr
;
55
TH1*
h1_packet_event
=
nullptr
;
56
TH1*
h_rm_sectorAvg
[32] = {
nullptr
};
57
TH1*
h_rm_tower
[24][64] = {
nullptr
};
58
TH1*
h_hcal_trig
= {
nullptr
};
59
TH2*
h_caloPack_gl1_clock_diff
= {
nullptr
};
60
61
eventReceiverClient
*
erc
= {
nullptr
};
62
bool
anaGL1
=
false
;
63
64
CaloWaveformFitting
*
WaveformProcessing
=
nullptr
;
65
66
std::vector<runningMean*>
rm_vector_sectAvg
;
67
std::vector<runningMean*>
rm_vector_twr
;
68
std::vector<runningMean*>
rm_packet_number
;
69
std::vector<runningMean*>
rm_packet_length
;
70
std::vector<runningMean*>
rm_packet_chans
;
71
};
72
73
#endif
/* HCAL_HCALMON_H */
OnlMon
blob
main
subsystems
hcal
HcalMon.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration