Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
physics_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
physics_benchmarks
Commits
ef57ccf7
Commit
ef57ccf7
authored
3 years ago
by
Sylvester Joosten
Browse files
Options
Downloads
Patches
Plain Diff
Integrated ReconstructedParticleRelations
parent
e8733da1
No related branches found
No related tags found
1 merge request
!98
Integrated ReconstructedParticleRelations
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
options/reconstruction.py
+19
-9
19 additions, 9 deletions
options/reconstruction.py
with
19 additions
and
9 deletions
options/reconstruction.py
+
19
−
9
View file @
ef57ccf7
...
...
@@ -58,7 +58,7 @@ from Configurables import Jug__Base__InputCopier_dd4pod__PhotoMultiplierHitColle
from
Configurables
import
Jug__Fast__MC2SmearedParticle
as
MC2DummyParticle
from
Configurables
import
Jug__Fast__ParticlesWithTruthPID
as
ParticlesWithTruthPID
from
Configurables
import
Jug__Fast__SmearedFarForwardParticles
as
Smeared
FarForward
Particles
from
Configurables
import
Jug__Fast__SmearedFarForwardParticles
as
FF
SmearedParticles
from
Configurables
import
Jug__Fast__MatchClusters
as
MatchClusters
from
Configurables
import
Jug__Fast__ClusterMerger
as
ClusterMerger
from
Configurables
import
Jug__Fast__TruthEnergyPositionClusterMerger
as
EnergyPositionClusterMerger
...
...
@@ -94,6 +94,8 @@ from Configurables import Jug__Reco__ImagingClusterReco as ImagingClusterReco
from
Configurables
import
Jug__Reco__PhotoMultiplierReco
as
PhotoMultiplierReco
from
Configurables
import
Jug__Reco__PhotoRingClusters
as
PhotoRingClusters
from
Configurables
import
Jug__Reco__ParticleCollector
as
ParticleCollector
# branches needed from simulation root file
sim_coll
=
[
"
mcparticles
"
,
...
...
@@ -122,9 +124,8 @@ algorithms.append(podin)
# Generated particles
dummy
=
MC2DummyParticle
(
"
dummy
"
,
inputCollection
=
"
mcparticles
"
,
outputCollection
=
"
GeneratedParticles
"
,
outputRelations
=
"
GeneratedParticleRelations
"
,
inputParticles
=
"
mcparticles
"
,
outputParticles
=
"
GeneratedParticles
"
,
smearing
=
0
)
algorithms
.
append
(
dummy
)
...
...
@@ -574,14 +575,12 @@ algorithms.append(trajs_from_fit)
parts_with_truth_pid
=
ParticlesWithTruthPID
(
"
parts_with_truth_pid
"
,
inputMCParticles
=
"
mcparticles
"
,
inputTrackParameters
=
parts_from_fit
.
outputTrackParameters
,
outputParticles
=
"
ReconstructedChargedParticles
"
,
outputRelations
=
"
ReconstructedChargedParticleRelations
"
)
outputParticles
=
"
ReconstructedChargedParticles
"
)
algorithms
.
append
(
parts_with_truth_pid
)
match_clusters
=
MatchClusters
(
"
match_clusters
"
,
inputMCParticles
=
"
mcparticles
"
,
inputParticles
=
parts_with_truth_pid
.
outputParticles
,
inputRelations
=
parts_with_truth_pid
.
outputRelations
,
inputEcalClusters
=
[
str
(
ce_ecal_clmerger
.
outputClusters
),
str
(
barrel_clus_merger
.
outputClusters
),
...
...
@@ -592,10 +591,21 @@ match_clusters = MatchClusters("match_clusters",
str
(
cb_hcal_clreco
.
outputClusterCollection
),
str
(
ci_hcal_clreco
.
outputClusterCollection
)
],
outputParticles
=
"
ReconstructedParticles
"
,
outputRelations
=
"
ReconstructedParticleRelations
"
)
outputParticles
=
"
ReconstructedParticles
"
)
algorithms
.
append
(
match_clusters
)
## Far Forward for now stored separately
fast_ff
=
FFSmearedParticles
(
"
fast_ff
"
,
inputMCParticles
=
"
mcparticles
"
,
outputParticles
=
"
ReconstructedFFParticles
"
,
enableZDC
=
True
,
enableB0
=
True
,
enableRP
=
True
,
enableOMD
=
True
,
ionBeamEnergy
=
100
,
crossingAngle
=
-
0.025
)
algorithms
.
append
(
fast_ff
)
# DRICH
drich_digi
=
PhotoMultiplierDigi
(
"
drich_digi
"
,
inputHitCollection
=
"
DRICHHits
"
,
...
...
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