Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Florian Uhlig
cbmroot
Commits
11621943
Commit
11621943
authored
May 31, 2022
by
Administrator
Browse files
same
parent
33e5033b
Changes
1
Hide whitespace changes
Inline
Side-by-side
sim/detectors/trd/CbmTrdCheckUtil.h
View file @
11621943
...
...
@@ -7,6 +7,7 @@
#include
"CbmTrdDigi.h"
#include
<FairRootFileSink.h>
#include
<FairRootManager.h>
#include
<TFile.h>
...
...
@@ -58,8 +59,12 @@ public:
void
DumpPlots
()
{
TDirectory
*
oldir
=
gDirectory
;
TFile
*
outFile
=
FairRootManager
::
Instance
()
->
GetOutFile
();
if
(
outFile
!=
NULL
)
{
TFile
*
outFile
=
nullptr
;
FairRootFileSink
*
sink
=
dynamic_cast
<
FairRootFileSink
*>
(
FairRootManager
::
Instance
()
->
GetSink
());
if
(
sink
)
{
outFile
=
sink
->
GetRootFile
();
}
if
(
outFile
)
{
outFile
->
cd
();
if
(
!
f1D
.
empty
())
for
(
auto
const
&
x
:
f1D
)
...
...
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