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
8ec7783a
Commit
8ec7783a
authored
Oct 20, 2020
by
Jihee Kim
Browse files
Options
Downloads
Patches
Plain Diff
Debugging on filename
parent
bf40623e
No related branches found
No related tags found
1 merge request
!10
Electron data set
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ecal/scripts/emcal_electrons_reader.cxx
+1
-5
1 addition, 5 deletions
ecal/scripts/emcal_electrons_reader.cxx
with
1 addition
and
5 deletions
ecal/scripts/emcal_electrons_reader.cxx
+
1
−
5
View file @
8ec7783a
...
...
@@ -31,9 +31,6 @@ void emcal_electrons_reader(double e_start = 1.0, double e_end = 1.0, const char
int
events_parsed
=
0
;
GenEvent
evt
(
Units
::
GEV
,
Units
::
MM
);
string
e1
=
to_string
(
e_start
);
string
e2
=
to_string
(
e_end
);
// Histograms
TH1F
*
h_electrons_energy
=
new
TH1F
(
"h_electron_energy"
,
"electron energy;E [GeV];Events"
,
100
,
e_start
-
0.5
,
e_end
+
0.5
);
TH1F
*
h_electrons_eta
=
new
TH1F
(
"h_electron_eta"
,
"electron #eta;#eta;Events"
,
100
,
-
10.0
,
10.0
);
...
...
@@ -72,8 +69,7 @@ void emcal_electrons_reader(double e_start = 1.0, double e_end = 1.0, const char
h_electrons_energy
->
SetLineWidth
(
2
);
h_electrons_energy
->
SetLineColor
(
kBlue
);
h_electrons_energy
->
DrawClone
();
//c->SaveAs("results/input_electrons_energy_0GeVto30GeV.png");
c
->
SaveAs
(
"results/input_electrons_energy_"
+
e1
+
"GeVto"
+
e2
+
"GeV.png"
);
c
->
SaveAs
(
"results/input_electrons_energy_0GeVto30GeV.png"
);
c
->
SaveAs
(
"results/input_electrons_energy_0GeVto30GeV.pdf"
);
TCanvas
*
c1
=
new
TCanvas
(
"c1"
,
"c1"
,
500
,
500
);
...
...
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