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
fc7d5fe1
Commit
fc7d5fe1
authored
2 years ago
by
Christopher Dilks
Browse files
Options
Downloads
Patches
Plain Diff
style: rename `PhotoMultiplierHitDigiAnalysis` -> `RawHitAnalysis`
parent
94bc0abd
No related branches found
No related tags found
2 merge requests
!309
Irt algo
,
!293
feat: dRICH benchmarks
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
benchmarks/rich/include/RawHitAnalysis.h
+5
-3
5 additions, 3 deletions
benchmarks/rich/include/RawHitAnalysis.h
benchmarks/rich/src/RawHitAnalysis.cc
+4
-4
4 additions, 4 deletions
benchmarks/rich/src/RawHitAnalysis.cc
benchmarks/rich/src/benchmark.cc
+4
-4
4 additions, 4 deletions
benchmarks/rich/src/benchmark.cc
with
13 additions
and
11 deletions
benchmarks/rich/include/
PhotoMultiplierHitDigi
Analysis.h
→
benchmarks/rich/include/
RawHit
Analysis.h
+
5
−
3
View file @
fc7d5fe1
...
...
@@ -4,19 +4,21 @@
#pragma once
#include
<spdlog/spdlog.h>
#include
<TH1D.h>
#include
<TH2D.h>
#include
<TMath.h>
#include
<edm4eic/RawTrackerHitCollection.h>
namespace
benchmarks
{
class
PhotoMultiplierHitDigi
Analysis
{
class
RawHit
Analysis
{
public:
PhotoMultiplierHitDigi
Analysis
()
=
default
;
~
PhotoMultiplierHitDigi
Analysis
()
{}
RawHit
Analysis
()
=
default
;
~
RawHit
Analysis
()
{}
// algorithm methods
void
AlgorithmInit
(
std
::
shared_ptr
<
spdlog
::
logger
>&
logger
);
...
...
This diff is collapsed.
Click to expand it.
benchmarks/rich/src/
PhotoMultiplierHitDigi
Analysis.cc
→
benchmarks/rich/src/
RawHit
Analysis.cc
+
4
−
4
View file @
fc7d5fe1
// Copyright 2023, Christopher Dilks
// Subject to the terms in the LICENSE file found in the top-level directory.
#include
"
PhotoMultiplierHitDigi
Analysis.h"
#include
"
RawHit
Analysis.h"
// AlgorithmInit
//---------------------------------------------------------------------------
void
benchmarks
::
PhotoMultiplierHitDigi
Analysis
::
AlgorithmInit
(
void
benchmarks
::
RawHit
Analysis
::
AlgorithmInit
(
std
::
shared_ptr
<
spdlog
::
logger
>&
logger
)
{
...
...
@@ -31,7 +31,7 @@ void benchmarks::PhotoMultiplierHitDigiAnalysis::AlgorithmInit(
// AlgorithmProcess
//---------------------------------------------------------------------------
void
benchmarks
::
PhotoMultiplierHitDigi
Analysis
::
AlgorithmProcess
(
void
benchmarks
::
RawHit
Analysis
::
AlgorithmProcess
(
const
edm4eic
::
RawTrackerHitCollection
&
hits
)
{
...
...
@@ -48,5 +48,5 @@ void benchmarks::PhotoMultiplierHitDigiAnalysis::AlgorithmProcess(
// AlgorithmFinish
//---------------------------------------------------------------------------
void
benchmarks
::
PhotoMultiplierHitDigi
Analysis
::
AlgorithmFinish
()
{
void
benchmarks
::
RawHit
Analysis
::
AlgorithmFinish
()
{
}
This diff is collapsed.
Click to expand it.
benchmarks/rich/src/benchmark.cc
+
4
−
4
View file @
fc7d5fe1
...
...
@@ -11,7 +11,7 @@
#include
<podio/ROOTFrameReader.h>
#include
<podio/Frame.h>
#include
"
PhotoMultiplierHitDigi
Analysis.h"
#include
"
RawHit
Analysis.h"
using
namespace
benchmarks
;
...
...
@@ -32,7 +32,7 @@ int main(int argc, char** argv) {
std
::
string
ana_file_name
=
"out_rich.root"
;
std
::
vector
<
std
::
string
>
rec_files
;
std
::
vector
<
std
::
string
>
analysis_algorithms
=
{
"
PhotoMultiplierHitDigi
"
"
RawHit
"
};
// usage guide
...
...
@@ -150,8 +150,8 @@ int main(int argc, char** argv) {
// --------------------------------------------------------------
// digitizer ....................................................
if
(
analysis_algorithm
==
"
PhotoMultiplierHitDigi
"
)
{
auto
digi_algo
=
std
::
make_shared
<
PhotoMultiplierHitDigi
Analysis
>
();
if
(
analysis_algorithm
==
"
RawHit
"
)
{
auto
digi_algo
=
std
::
make_shared
<
RawHit
Analysis
>
();
ana_file
->
mkdir
(
"digi"
)
->
cd
();
digi_algo
->
AlgorithmInit
(
algo
.
log
);
algo
.
process
=
[
digi_algo
]
(
podio
::
Frame
&
frame
)
{
...
...
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