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
34ec892a
Commit
34ec892a
authored
Jan 29, 2016
by
Daniel Hynds
Browse files
updated return code
Former-commit-id: c00d1e22747f8b43187faa908b575b8bea21735e
parent
6b0b9a5c
Changes
2
Hide whitespace changes
Inline
Side-by-side
branches/trunk/algorithms/EventDisplay.C
View file @
34ec892a
...
...
@@ -18,13 +18,13 @@ void EventDisplay::initialise(Parameters* par){
}
int
EventDisplay
::
run
(
Clipboard
*
clipboard
){
StatusCode
EventDisplay
::
run
(
Clipboard
*
clipboard
){
// Get the tracks
Timepix3Tracks
*
tracks
=
(
Timepix3Tracks
*
)
clipboard
->
get
(
"Timepix3"
,
"tracks"
);
if
(
tracks
==
NULL
){
return
1
;
return
Success
;
}
TApplication
*
rootapp
=
new
TApplication
(
"example"
,
0
,
0
);
...
...
@@ -60,7 +60,7 @@ int EventDisplay::run(Clipboard* clipboard){
eventMap
->
DrawCopy
(
"same,box"
);
canv
->
Update
();
rootapp
->
Run
();
return
1
;
return
Success
;
}
...
...
branches/trunk/algorithms/EventDisplay.h
View file @
34ec892a
...
...
@@ -20,7 +20,7 @@ public:
// Functions
void
initialise
(
Parameters
*
);
int
run
(
Clipboard
*
);
StatusCode
run
(
Clipboard
*
);
void
finalise
();
TH3F
*
eventMap
;
...
...
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