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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
reconstruction_benchmarks
Commits
8e014d1a
Commit
8e014d1a
authored
4 years ago
by
Jihee Kim
Browse files
Options
Downloads
Patches
Plain Diff
fixed filter
parent
2137af76
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!36
Update Analysis Script
This commit is part of merge request
!36
. Comments created here will be created in the context of that merge request.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ecal/scripts/emcal_electrons_analysis.cxx
+1
-1
1 addition, 1 deletion
ecal/scripts/emcal_electrons_analysis.cxx
with
1 addition
and
1 deletion
ecal/scripts/emcal_electrons_analysis.cxx
+
1
−
1
Edit
View file @
8e014d1a
...
@@ -138,7 +138,7 @@ void emcal_electrons_analysis(const char* input_fname = "rec_electron_10kEvt.roo
...
@@ -138,7 +138,7 @@ void emcal_electrons_analysis(const char* input_fname = "rec_electron_10kEvt.roo
auto
d2
=
d1
.
Filter
(
"ncluster==1"
);
auto
d2
=
d1
.
Filter
(
"ncluster==1"
);
auto
hClusterE1
=
d2
.
Histo1D
({
"hClusterE1"
,
"One Cluster Energy; Cluster Energy [GeV]; Events"
,
100
,
-
0.5
,
30.5
},
"clusterE"
);
auto
hClusterE1
=
d2
.
Histo1D
({
"hClusterE1"
,
"One Cluster Energy; Cluster Energy [GeV]; Events"
,
100
,
-
0.5
,
30.5
},
"clusterE"
);
auto
hEres
=
d2
.
Histo1D
({
"hEres"
,
"Energy Resolution; #DeltaE/E; Events"
,
100
,
-
0.3
,
0.3
},
"E_res"
);
auto
hEres
=
d2
.
Histo1D
({
"hEres"
,
"Energy Resolution; #DeltaE/E; Events"
,
100
,
-
0.3
,
0.3
},
"E_res"
);
auto
hPthr_accepted
=
d2
.
Filter
(
[]
(
float
x
,
float
y
)
{
return
x
/
y
>
0.90
;
},
{
"clusterE
"
,
"
E_thr"
}
)
auto
hPthr_accepted
=
d2
.
Filter
(
"clusterE
/
E_thr
> 0.9
"
)
.
Histo1D
({
"hPthr_accepted"
,
"Thrown momentum for reconstructed particle; p_{thr} [GeV]; Events"
,
100
,
-
0.5
,
30.5
},
"p_thr"
);
.
Histo1D
({
"hPthr_accepted"
,
"Thrown momentum for reconstructed particle; p_{thr} [GeV]; Events"
,
100
,
-
0.5
,
30.5
},
"p_thr"
);
// Draw Histograms
// Draw Histograms
...
...
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