Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
91d8cb98
Commit
91d8cb98
authored
Nov 09, 2018
by
Simon Spannagel
Browse files
OnMon: didn't work
parent
571ba171
Pipeline
#581807
passed with stages
in 8 minutes and 48 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/modules/OnlineMonitor/OnlineMonitor.cpp
View file @
91d8cb98
...
...
@@ -178,13 +178,12 @@ void OnlineMonitor::AddHisto(string canvasName, string histoName, string style,
// Add root directory to path:
histoName
=
"/"
+
histoName
;
style
+=
"hist"
;
TH1
*
histogram
=
static_cast
<
TH1
*>
(
gDirectory
->
Get
(
histoName
.
c_str
()));
if
(
histogram
)
{
gui
->
histograms
[
canvasName
].
push_back
(
static_cast
<
TH1
*>
(
gDirectory
->
Get
(
histoName
.
c_str
())));
gui
->
styles
[
gui
->
histograms
[
canvasName
].
back
()]
=
style
;
gui
->
logarithmic
[
gui
->
histograms
[
canvasName
].
back
()]
=
logy
;
gui
->
styles
[
gui
->
histograms
[
canvasName
].
back
()]
=
style
;
}
else
{
LOG
(
WARNING
)
<<
"Histogram "
<<
histoName
<<
" does not exist"
;
}
...
...
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