Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
zcitron
JZCaPA
Commits
51862235
Commit
51862235
authored
Feb 25, 2019
by
clantz
Browse files
Changed some more floats to doubles and added default argument for _line
parent
63252c8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Analysis/include/Visualizer.h
View file @
51862235
...
...
@@ -10,6 +10,8 @@
#include
"TH1.h"
#include
"TStyle.h"
#include
"TVector.h"
#include
"TGraph.h"
#include
<iostream>
#include
<vector>
...
...
@@ -32,12 +34,12 @@ class Visualizer {
void
SetDebugMode
(
bool
_isDebugon
)
{
m_debug
=
_isDebugon
;
}
//Special plot treatments
void
OverlayHistos
(
TH1
*
h1
,
TH1
*
h2
,
TVirtualPad
*
pad
,
float
_line
=
0
);
void
ScatterPlot
(
std
::
vector
<
float
>
_v1
,
std
::
vector
<
float
>
_v2
,
TVirtualPad
*
pad
);
void
OverlayHistos
(
TH1
*
h1
,
TH1
*
h2
,
TVirtualPad
*
pad
,
double
_line
=
0
);
void
ScatterPlot
(
std
::
vector
<
double
>
_v1
,
std
::
vector
<
double
>
_v2
,
TVirtualPad
*
pad
);
//Main visualization methods
void
ManyPadsPlot
(
std
::
vector
<
TH1
*
>
_first_form
,
std
::
vector
<
TH1
*
>
_second_form
,
int
_ncol
,
int
_nrow
,
std
::
string
_out_name
,
std
::
string
_treatment
);
void
SinglePlot
(
std
::
vector
<
double
>
_v1
,
std
::
vector
<
double
>
_v2
,
std
::
string
_out_name
,
std
::
string
_treatment
,
double
_line
);
void
SinglePlot
(
std
::
vector
<
double
>
_v1
,
std
::
vector
<
double
>
_v2
,
std
::
string
_out_name
,
std
::
string
_treatment
,
double
_line
=
0
);
private
:
/** String identifying the style to be applied */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment