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
2a44633d
Commit
2a44633d
authored
1 year ago
by
Chandradoy Chatterjee
Browse files
Options
Downloads
Patches
Plain Diff
Incident angle in Benchmark
parent
a5b53946
Branches
68-update-acts-to-v9-1
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
benchmarks/rich/src/CherenkovPIDAnalysis.cc
+4
-2
4 additions, 2 deletions
benchmarks/rich/src/CherenkovPIDAnalysis.cc
with
4 additions
and
2 deletions
benchmarks/rich/src/CherenkovPIDAnalysis.cc
+
4
−
2
View file @
2a44633d
...
...
@@ -148,7 +148,7 @@ namespace benchmarks {
auto
thrown_pdg
=
part
->
GetPDG
();
// loop over `CherenkovParticleID` objects
for
(
const
auto
&
cherenkov_pid
:
cherenkov_pids
)
{
for
(
const
auto
&
cherenkov_pid
:
cherenkov_pids
)
{
// skip if NPE==0
if
(
cherenkov_pid
.
getNpe
()
==
0
)
{
...
...
@@ -179,7 +179,9 @@ namespace benchmarks {
theta_rec
+=
theta
;
theta_rec
/=
cherenkov_pid
.
getNpe
();
auto
theta_rec_mrad
=
theta_rec
*
1e3
;
// [rad] -> [mrad]
for
(
const
auto
&
iAngle
:
cherenkov_pid
.
getIncidentAngle
())
printf
(
"--->%lf
\n
"
,
iAngle
);
//auto nn = cherenkov_pid.getIncidentAngle(cherenkov_pid.incidentAngle_size());
// calculate expected Cherenkov angle `theta_exp` and residual `theta_resid`,
// using refractive index from MC truth
auto
mc_rindex
=
cherenkov_pid
.
getRefractiveIndex
();
// average refractive index for photons used in this `cherenkov_pid`
...
...
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