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
MyMonDraw.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file MyMonDraw.h
1
#ifndef EXAMPLE_MYMONDRAW_H
2
#define EXAMPLE_MYMONDRAW_H
3
4
#include <onlmon/OnlMonDraw.h>
5
6
#include <string>
// for allocator, string
7
8
class
OnlMonDB
;
9
class
TCanvas;
10
class
TGraphErrors;
11
class
TPad;
12
13
class
MyMonDraw
:
public
OnlMonDraw
14
{
15
public
:
16
MyMonDraw
(
const
std::string
&
name
);
17
~MyMonDraw
()
override
{}
18
19
int
Init
()
override
;
20
int
Draw
(
const
std::string
&what =
"ALL"
)
override
;
21
int
MakeHtml
(
const
std::string
&what =
"ALL"
)
override
;
22
int
SavePlot
(
const
std::string
&what =
"ALL"
,
const
std::string
&
type
=
"png"
)
override
;
23
24
protected
:
25
int
MakeCanvas
(
const
std::string
&name);
26
int
DrawFirst
(
const
std::string
&what =
"ALL"
);
27
int
DrawSecond
(
const
std::string
&what =
"ALL"
);
28
int
DrawHistory
(
const
std::string
&what =
"ALL"
);
29
int
TimeOffsetTicks
= -1;
30
TCanvas *
TC
[3] = {
nullptr
};
31
TPad *
transparent
[3] = {
nullptr
};
32
TPad *
Pad
[6] = {
nullptr
};
33
TGraphErrors *
gr
[2] = {
nullptr
};
34
OnlMonDB
*
dbvars
=
nullptr
;
35
};
36
37
#endif
/*__MYMONDRAW_H__ */
OnlMon
blob
main
subsystems
example
MyMonDraw.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:28
using
1.8.2 with
sPHENIX GitHub integration