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
d3006047
Commit
d3006047
authored
Jan 15, 2019
by
Simon Spannagel
Browse files
Tracking4D: do not create empty plots for excluded detectors
parent
b57e7934
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/modules/Tracking4D/Tracking4D.cpp
View file @
d3006047
...
...
@@ -36,6 +36,11 @@ void Tracking4D::initialise() {
for
(
auto
&
detector
:
get_detectors
())
{
auto
detectorID
=
detector
->
name
();
// Do not create plots for detector snot participating in the tracking:
if
(
excludeDUT
&&
detector
->
isDUT
())
{
continue
;
}
TDirectory
*
directory
=
getROOTDirectory
();
TDirectory
*
local_directory
=
directory
->
mkdir
(
detectorID
.
c_str
());
if
(
local_directory
==
nullptr
)
{
...
...
Simon Spannagel
@simonspa
mentioned in merge request
!84 (merged)
·
Feb 01, 2019
mentioned in merge request
!84 (merged)
mentioned in merge request !84
Toggle commit list
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