Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
JZCaPA
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Riccardo Longo
JZCaPA
Commits
ca1f56c6
Commit
ca1f56c6
authored
6 years ago
by
clantz
Browse files
Options
Downloads
Patches
Plain Diff
Added SinglePlot and ScatterPlot. Also added a _line argument to OverlayHistos
parent
5856a9c2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Analysis/include/Visualizer.h
+3
-2
3 additions, 2 deletions
Analysis/include/Visualizer.h
with
3 additions
and
2 deletions
Analysis/include/Visualizer.h
+
3
−
2
View file @
ca1f56c6
...
@@ -20,7 +20,7 @@ class Visualizer {
...
@@ -20,7 +20,7 @@ class Visualizer {
Visualizer
();
Visualizer
();
Visualizer
(
std
::
string
_style
);
Visualizer
(
std
::
string
_style
);
//Styles (so fa only ATLAS)
//Styles (so fa
r
only ATLAS)
TStyle
*
AtlasStyle
();
TStyle
*
AtlasStyle
();
//Methods to set a given style
//Methods to set a given style
void
SetAtlasStyle
();
void
SetAtlasStyle
();
...
@@ -32,7 +32,8 @@ class Visualizer {
...
@@ -32,7 +32,8 @@ class Visualizer {
void
SetDebugMode
(
bool
_isDebugon
)
{
m_debug
=
_isDebugon
;
}
void
SetDebugMode
(
bool
_isDebugon
)
{
m_debug
=
_isDebugon
;
}
//Special plot treatments
//Special plot treatments
void
OverlayHistos
(
TH1
*
h1
,
TH1
*
h2
,
TVirtualPad
*
pad
);
void
OverlayHistos
(
TH1
*
h1
,
TH1
*
h2
,
TVirtualPad
*
pad
,
float
_line
=
0
);
void
ScatterPlot
(
std
::
vector
<
float
>
_v1
,
std
::
vector
<
float
>
_v2
,
TVirtualPad
*
pad
);
//Main visualization methods
//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
ManyPadsPlot
(
std
::
vector
<
TH1
*
>
_first_form
,
std
::
vector
<
TH1
*
>
_second_form
,
int
_ncol
,
int
_nrow
,
std
::
string
_out_name
,
std
::
string
_treatment
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment