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
b08e9e16
Commit
b08e9e16
authored
4 years ago
by
Jihee Kim
Browse files
Options
Downloads
Patches
Plain Diff
typo
parent
21ce3842
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 @
b08e9e16
...
@@ -76,7 +76,7 @@ void emcal_electrons_analysis(const char* input_fname = "rec_electron_10kEvt.roo
...
@@ -76,7 +76,7 @@ void emcal_electrons_analysis(const char* input_fname = "rec_electron_10kEvt.roo
};
};
// Momentum [GeV]
// Momentum [GeV]
auto
p_rec
=
[](
const
std
::
ector
<
float
>&
energy_term
,
const
std
::
vector
<
float
>&
mass_term
){
return
TMath
::
Sqrt
((
energy_term
*
energy_term
)
-
(
mass_term
));
};
auto
p_rec
=
[](
const
std
::
v
ector
<
float
>&
energy_term
,
const
std
::
vector
<
float
>&
mass_term
){
return
TMath
::
Sqrt
((
energy_term
*
energy_term
)
-
(
mass_term
));
};
//auto p_rec = [] (const std::vector<eic::ClusterData>& evt) {
//auto p_rec = [] (const std::vector<eic::ClusterData>& evt) {
// std::vector<float> result;
// std::vector<float> result;
// for (const auto& i: evt)
// for (const auto& i: evt)
...
...
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