Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
detector_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
detector_benchmarks
Commits
0b0e9268
Commit
0b0e9268
authored
4 years ago
by
Marshall Scott
Browse files
Options
Downloads
Patches
Plain Diff
plotting charge 3
parent
ee92375f
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!24
Resolve "pi0 resolution for ECal barrel"
This commit is part of merge request
!24
. 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
benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx
+2
-2
2 additions, 2 deletions
...marks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx
with
2 additions
and
2 deletions
benchmarks/barrel_ecal/scripts/emcal_barrel_pions_analysis.cxx
+
2
−
2
Edit
View file @
0b0e9268
...
@@ -129,7 +129,7 @@ void emcal_barrel_pions_analysis(const char* input_fname = "sim_output/sim_emcal
...
@@ -129,7 +129,7 @@ void emcal_barrel_pions_analysis(const char* input_fname = "sim_output/sim_emcal
};
};
// Thrown Energy [GeV]
// Thrown Energy [GeV]
auto
Ethr
=
[](
std
::
vector
<
dd4pod
::
Geant4ParticleData
>
const
&
input
)
{
auto
charge
=
[](
std
::
vector
<
dd4pod
::
Geant4ParticleData
>
const
&
input
)
{
std
::
vector
<
double
>
result
;
std
::
vector
<
double
>
result
;
result
.
push_back
(
input
[
2
].
charge
);
result
.
push_back
(
input
[
2
].
charge
);
return
result
;
return
result
;
...
@@ -143,7 +143,7 @@ void emcal_barrel_pions_analysis(const char* input_fname = "sim_output/sim_emcal
...
@@ -143,7 +143,7 @@ void emcal_barrel_pions_analysis(const char* input_fname = "sim_output/sim_emcal
.
Define
(
"fsam"
,
fsam2
,
{
"Esim"
,
"Ethr"
})
.
Define
(
"fsam"
,
fsam2
,
{
"Esim"
,
"Ethr"
})
.
Define
(
"dE"
,
eResol
,
{
"Esim"
,
"Ethr"
})
.
Define
(
"dE"
,
eResol
,
{
"Esim"
,
"Ethr"
})
.
Define
(
"dE_rel"
,
eResol_rel
,
{
"Esim"
,
"Ethr"
})
.
Define
(
"dE_rel"
,
eResol_rel
,
{
"Esim"
,
"Ethr"
})
.
Define
(
"charge"
,
{
"mcparticles"
})
.
Define
(
"charge"
,
charge
,
{
"mcparticles"
})
;
;
// Define Histograms
// Define 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