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
CemcMonDraw.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CemcMonDraw.h
1
#ifndef CEMC_CEMCMONDRAW_H
2
#define CEMC_CEMCMONDRAW_H
3
4
#include <onlmon/OnlMonDraw.h>
5
6
#include <string>
// for allocator, string
7
#include <TH2.h>
8
#include <TStyle.h>
9
10
class
TCanvas;
11
class
TGraphErrors;
12
class
TPad;
13
14
class
CemcMonDraw
:
public
OnlMonDraw
15
{
16
public
:
17
CemcMonDraw
(
const
std::string
&
name
=
"CEMCMON"
);
// same name as server!
18
19
~CemcMonDraw
()
override
{}
20
21
int
Init
()
override
;
22
int
Draw
(
const
std::string
&what =
"ALL"
)
override
;
23
int
MakeHtml
(
const
std::string
&what =
"ALL"
)
override
;
24
int
SavePlot
(
const
std::string
&what =
"ALL"
,
const
std::string
&
type
=
"png"
)
override
;
25
void
setSave
(
int
s
) {
save
=
s
;}
26
27
private
:
28
int
MakeCanvas
(
const
std::string
&
name
);
29
int
DrawFirst
(
const
std::string
&what =
"ALL"
);
30
int
DrawSecond
(
const
std::string
&what =
"ALL"
);
31
int
DrawThird
(
const
std::string
&what =
"ALL"
);
32
int
DrawFourth
(
const
std::string
&what =
"ALL"
);
33
int
DrawHistory
(
const
std::string
&what =
"ALL"
);
34
int
FindHotTower
(TPad *warn,TH2* );
35
time_t
getTime
();
36
std::vector<int>
getBadPackets
(TH1 *
hist
,
int
what,
float
cutoff);
37
38
39
const
int
nTowersEta
= 96;
40
const
int
nTowersPhi
= 256;
41
const
int
templateDepth
=10000;
42
int
save
= 0;
43
TCanvas *
TC
[9] = {
nullptr
};
44
TPad *
transparent
[9] = {
nullptr
};
45
TPad *
Pad
[18] = {
nullptr
};
46
TPad *
warning
[18] = {
nullptr
};
47
TGraphErrors *
gr
[2] = {
nullptr
};
48
TStyle*
cemcStyle
=
nullptr
;
49
const
int
nSEBs
= 8;
50
};
51
52
#endif
/* CEMC_CEMCMONDRAW_H */
OnlMon
blob
main
subsystems
cemc
CemcMonDraw.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration