Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
detector_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
21
Issue boards
Milestones
Wiki
Code
Merge requests
7
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
detector_benchmarks
Commits
09f16ee7
Commit
09f16ee7
authored
4 years ago
by
Jihee Kim
Browse files
Options
Downloads
Patches
Plain Diff
Changed output directory for png files.
parent
3ddb3e55
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
calorimeters/simple_info_plot_histograms.cxx
+5
-5
5 additions, 5 deletions
calorimeters/simple_info_plot_histograms.cxx
with
5 additions
and
5 deletions
calorimeters/simple_info_plot_histograms.cxx
+
5
−
5
View file @
09f16ee7
...
...
@@ -121,7 +121,7 @@ void simple_info_plot_histograms(const char* fname = "sim_output/output_zdc_phot
auto
n0
=
d1
.
Filter
([](
int
n
){
return
(
n
>
0
);
},{
"nhits"
}).
Count
();
d1
.
Snapshot
(
"info_EVENT"
,
"
./calorimeters
/info_zdc_photons.root"
);
d1
.
Snapshot
(
"info_EVENT"
,
"
sim_output
/info_zdc_photons.root"
);
std
::
cout
<<
*
n0
<<
" events with nonzero hits
\n
"
;
TCanvas
*
c1
=
new
TCanvas
(
"c1"
,
"c1"
,
800
,
600
);
...
...
@@ -130,7 +130,7 @@ void simple_info_plot_histograms(const char* fname = "sim_output/output_zdc_phot
h0
->
SetLineWidth
(
2
);
h0
->
SetLineColor
(
kBlack
);
h0
->
DrawClone
();
c1
->
SaveAs
(
"
./calorimeters
/nhits_histo_zdc_photons.png"
);
c1
->
SaveAs
(
"
sim_output
/nhits_histo_zdc_photons.png"
);
TCanvas
*
c2
=
new
TCanvas
(
"c2"
,
"c2"
,
1000
,
1000
);
c2
->
Divide
(
2
,
2
);
...
...
@@ -151,7 +151,7 @@ void simple_info_plot_histograms(const char* fname = "sim_output/output_zdc_phot
h3
->
SetLineWidth
(
2
);
h3
->
SetLineColor
(
kBlack
);
h3
->
DrawClone
();
c2
->
SaveAs
(
"
./calorimeters
/hit_postion_histo_zdc_photons.png"
);
c2
->
SaveAs
(
"
sim_output
/hit_postion_histo_zdc_photons.png"
);
TCanvas
*
c3
=
new
TCanvas
(
"c3"
,
"c3"
,
600
,
600
);
c3
->
cd
();
...
...
@@ -160,7 +160,7 @@ void simple_info_plot_histograms(const char* fname = "sim_output/output_zdc_phot
h4
->
SetLineWidth
(
2
);
h4
->
SetLineColor
(
kBlack
);
h4
->
DrawClone
();
c3
->
SaveAs
(
"
./calorimeters
/edep_histo_zdc_photons.png"
);
c3
->
SaveAs
(
"
sim_output
/edep_histo_zdc_photons.png"
);
TCanvas
*
c4
=
new
TCanvas
(
"c4"
,
"c4"
,
600
,
600
);
c4
->
SetLogy
(
0
);
...
...
@@ -168,7 +168,7 @@ void simple_info_plot_histograms(const char* fname = "sim_output/output_zdc_phot
h5
->
SetLineWidth
(
2
);
h5
->
SetLineColor
(
kBlack
);
h5
->
DrawClone
();
c4
->
SaveAs
(
"
./calorimeters
/volID_histo_zdc_photons.png"
);
c4
->
SaveAs
(
"
sim_output
/volID_histo_zdc_photons.png"
);
if
(
*
n0
<
5
)
{
std
::
quick_exit
(
1
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment