Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
01641153
Commit
01641153
authored
Jan 29, 2016
by
Daniel Hynds
Browse files
updated return code
Former-commit-id: 51379a0b55b0a49c464258c05911a0dff13c5cae
parent
34ec892a
Changes
2
Hide whitespace changes
Inline
Side-by-side
branches/trunk/algorithms/GUI.C
View file @
01641153
...
@@ -60,7 +60,7 @@ void GUI::initialise(Parameters* par){
...
@@ -60,7 +60,7 @@ void GUI::initialise(Parameters* par){
eventNumber
=
0
;
eventNumber
=
0
;
}
}
int
GUI
::
run
(
Clipboard
*
clipboard
){
StatusCode
GUI
::
run
(
Clipboard
*
clipboard
){
gSystem
->
ProcessEvents
();
gSystem
->
ProcessEvents
();
...
@@ -136,7 +136,7 @@ int GUI::run(Clipboard* clipboard){
...
@@ -136,7 +136,7 @@ int GUI::run(Clipboard* clipboard){
}
}
eventNumber
++
;
eventNumber
++
;
return
1
;
return
Success
;
// Old code to allow updating of a TBrowser (TBrowser in 5.34 not thread safe, so removed)
// Old code to allow updating of a TBrowser (TBrowser in 5.34 not thread safe, so removed)
// ((TCanvas*)gROOT->GetListOfCanvases()->At(0))->Paint();
// ((TCanvas*)gROOT->GetListOfCanvases()->At(0))->Paint();
...
...
branches/trunk/algorithms/GUI.h
View file @
01641153
...
@@ -24,7 +24,7 @@ public:
...
@@ -24,7 +24,7 @@ public:
// Functions
// Functions
void
initialise
(
Parameters
*
);
void
initialise
(
Parameters
*
);
int
run
(
Clipboard
*
);
StatusCode
run
(
Clipboard
*
);
void
finalise
();
void
finalise
();
// Canvases to display plots
// Canvases to display plots
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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