Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
reconstruction_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
reconstruction_benchmarks
Commits
787ae1ca
Commit
787ae1ca
authored
Oct 20, 2020
by
Jihee Kim
Browse files
Options
Downloads
Patches
Plain Diff
Histogram setting
parent
5a76c249
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ecal/scripts/makeplot.C
+6
-4
6 additions, 4 deletions
ecal/scripts/makeplot.C
with
6 additions
and
4 deletions
ecal/scripts/makeplot.C
+
6
−
4
View file @
787ae1ca
...
...
@@ -22,8 +22,8 @@ int makeplot(const char* input_fname = "sim_output/sim_emcal_electrons_output.ro
//if(!fp)
// fprintf(stderr,"error: can't open %s\n", fout);
Double_t
e_start
=
1
.
0
;
Double_t
e_end
=
1
.
0
;
//
Double_t e_start = 1.0;
//
Double_t e_end = 1.0;
// Input ROOT file
TFile
*
f
=
new
TFile
(
input_fname
,
"READ"
);
...
...
@@ -80,8 +80,10 @@ int makeplot(const char* input_fname = "sim_output/sim_emcal_electrons_output.ro
// Declare histograms
TH1D
*
h1
=
new
TH1D
(
"h1"
,
"Scattering Angle(#theta)"
,
100
,
130
.
0
,
180
.
0
);
TH1D
*
h2
=
new
TH1D
(
"h2"
,
"Pseudo-rapidity(#eta)"
,
100
,
-
5
.
0
,
0
.
0
);
TH2D
*
h3
=
new
TH2D
(
"h3"
,
"Cluster E vs Pseudo-rapidity"
,
100
,
e_start
-
0
.
5
,
e_end
+
0
.
5
,
100
,
-
5
.
0
,
0
.
0
);
TH1D
*
h4
=
new
TH1D
(
"h4"
,
"Reconstructed energy per event"
,
100
,
e_start
-
0
.
5
,
e_end
+
0
.
5
);
TH2D
*
h3
=
new
TH2D
(
"h3"
,
"Cluster E vs Pseudo-rapidity"
,
100
,
-
0
.
5
,
30
.
5
,
100
,
-
5
.
0
,
0
.
0
);
//TH2D *h3 = new TH2D("h3","Cluster E vs Pseudo-rapidity", 100,e_start-0.5,e_end+0.5,100,-5.0,0.0);
TH1D
*
h4
=
new
TH1D
(
"h4"
,
"Reconstructed energy per event"
,
100
,
-
0
.
5
,
30
.
5
);
//TH1D *h4 = new TH1D("h4","Reconstructed energy per event", 100,e_start-0.5,e_end+0.5);
TH1D
*
h5
=
new
TH1D
(
"h5"
,
"Number of Clusters per event"
,
5
,
-
0
.
5
,
4
.
5
);
TH1D
*
h6
=
new
TH1D
(
"h6"
,
"Scattering Angle(#theta) with CUT"
,
100
,
130
.
0
,
180
.
0
);
TH1D
*
h7
=
new
TH1D
(
"h7"
,
"Pseudo-rapidity(#eta) with CUT"
,
100
,
-
5
.
0
,
0
.
0
);
...
...
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