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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
benchmarks
detector_benchmarks
Commits
c1f7f437
Commit
c1f7f437
authored
Jun 24, 2021
by
Marshall Scott
Browse files
Options
Downloads
Patches
Plain Diff
Trying with const double meanE
parent
014fd8fd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/barrel_ecal/scripts/emcal_barrel_pi0_analysis.cxx
+2
-2
2 additions, 2 deletions
benchmarks/barrel_ecal/scripts/emcal_barrel_pi0_analysis.cxx
with
2 additions
and
2 deletions
benchmarks/barrel_ecal/scripts/emcal_barrel_pi0_analysis.cxx
+
2
−
2
View file @
c1f7f437
...
...
@@ -49,7 +49,7 @@ void emcal_barrel_pi0_analysis(const char* input_fname = "sim_output/sim_emcal_b
double
samp_frac
=
1.0
;
// Thrown Energy [GeV]
double
meanE
=
5
;
// Calculated later
//
double meanE = 5; // Calculated later
auto
Ethr
=
[](
std
::
vector
<
dd4pod
::
Geant4ParticleData
>
const
&
input
)
{
return
TMath
::
Sqrt
(
input
[
2
].
psx
*
input
[
2
].
psx
+
input
[
2
].
psy
*
input
[
2
].
psy
+
input
[
2
].
psz
*
input
[
2
].
psz
+
input
[
2
].
mass
*
input
[
2
].
mass
);
};
...
...
@@ -112,7 +112,7 @@ void emcal_barrel_pi0_analysis(const char* input_fname = "sim_output/sim_emcal_b
// Gather Sampling fraction and mean Energy, ideally this will be taken from a json file
samp_frac
=
hfsam
->
GetMean
();
meanE
=
hEthr
->
GetMean
();
const
double
meanE
=
hEthr
->
GetMean
();
// Event Counts
auto
nevents_thrown
=
d1
.
Count
();
...
...
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