Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Riccardo Longo
JZCaPA
Commits
630bfe6f
Commit
630bfe6f
authored
Nov 24, 2021
by
Chad Lantz
Browse files
Made the successful creation statement conditional on the successful creation of the detector
parent
bc85b959
Changes
1
Hide whitespace changes
Inline
Side-by-side
Analysis/src/ZDC.cpp
100644 → 100755
View file @
630bfe6f
...
...
@@ -80,8 +80,11 @@ void ZDC::LoadElements( std::vector < Channel* > _elements, int _runNumber){
SetElement
(
_elements
.
at
(
i
));
}
}
if
(
GetChannelsVector
().
size
()
>
1
)
std
::
cout
<<
"WARNING : more than one entry for one ZDC module. Check the config.xml"
<<
std
::
endl
;
std
::
cout
<<
"ZDC object created with "
<<
GetChannelsVector
().
size
()
<<
" channel entries "
<<
std
::
endl
;
if
(
GetChannelsVector
().
size
()
>
1
)
std
::
cout
<<
"WARNING : more than one entry for one ZDC module. Check the config.xml"
<<
std
::
endl
;
if
(
GetChannelsVector
().
size
()
>
0
)
std
::
cout
<<
"ZDC object created with "
<<
GetChannelsVector
().
size
()
<<
" channel entries "
<<
std
::
endl
;
}
...
...
Write
Preview
Markdown
is supported
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