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
5a76c249
Commit
5a76c249
authored
Oct 20, 2020
by
Jihee Kim
Browse files
Options
Downloads
Patches
Plain Diff
Checking. Dropped out energy range
parent
b7a0c854
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ecal/emcal_electrons.sh
+2
-1
2 additions, 1 deletion
ecal/emcal_electrons.sh
ecal/scripts/makeplot.C
+5
-1
5 additions, 1 deletion
ecal/scripts/makeplot.C
with
7 additions
and
2 deletions
ecal/emcal_electrons.sh
+
2
−
1
View file @
5a76c249
...
...
@@ -50,7 +50,8 @@ popd
pwd
mkdir
-p
results
root
-b
-q
"ecal/scripts/makeplot.C(
${
E_start
}
,
${
E_end
}
,
\"
${
JUGGLER_DETECTOR
}
/
${
JUGGLER_REC_FILE
}
\"
)"
root
-b
-q
"ecal/scripts/makeplot.C(
\"
${
JUGGLER_DETECTOR
}
/
${
JUGGLER_REC_FILE
}
\"
)"
#root -b -q "ecal/scripts/makeplot.C(${E_start}, ${E_end}, \"${JUGGLER_DETECTOR}/${JUGGLER_REC_FILE}\")"
#root -b -q "ecal/scripts/makeplot.C(${E_start}, ${E_end}, \"${JUGGLER_DETECTOR}/${JUGGLER_REC_FILE}\", \"results/${JUGGLER_FILE_NAME_TAG}.txt\")"
#mkdir -p sim_output
...
...
This diff is collapsed.
Click to expand it.
ecal/scripts/makeplot.C
+
5
−
1
View file @
5a76c249
...
...
@@ -3,7 +3,8 @@
// Plot variables
////////////////////////////////////////
//int makeplot(double e_start = 1.0, double e_end = 1.0, const char* input_fname = "sim_output/sim_emcal_electrons_output.root", const char *fout = "results/rec_1000k_info_1GeV.txt")
int
makeplot
(
double
e_start
=
1
.
0
,
double
e_end
=
1
.
0
,
const
char
*
input_fname
=
"sim_output/sim_emcal_electrons_output.root"
)
//int makeplot(double e_start = 1.0, double e_end = 1.0, const char* input_fname = "sim_output/sim_emcal_electrons_output.root")
int
makeplot
(
const
char
*
input_fname
=
"sim_output/sim_emcal_electrons_output.root"
)
{
// Setting figures
gROOT
->
SetStyle
(
"Plain"
);
...
...
@@ -21,6 +22,9 @@ int makeplot(double e_start = 1.0, double e_end = 1.0, const char* input_fname =
//if(!fp)
// fprintf(stderr,"error: can't open %s\n", fout);
Double_t
e_start
=
1
.
0
;
Double_t
e_end
=
1
.
0
;
// Input ROOT file
TFile
*
f
=
new
TFile
(
input_fname
,
"READ"
);
TTree
*
t
=
(
TTree
*
)
f
->
Get
(
"events"
);
...
...
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