Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Project Juggler
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
Container registry
Model registry
Operate
Environments
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
Project Juggler
Merge requests
!355
Add pseudorapidity cut for truth track seeding to reduce failed tracking attempts
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add pseudorapidity cut for truth track seeding to reduce failed tracking attempts
track_seed_rapidity_cut
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Sylvester Joosten
requested to merge
track_seed_rapidity_cut
into
master
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
5fff288e
1 commit,
3 years ago
1 file
+
10
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
JugTrack/src/components/TrackParamTruthInit.cpp
+
10
−
0
Options
@@ -52,6 +52,8 @@ namespace Jug::Reco {
Gaudi
::
Property
<
double
>
m_maxVertexY
{
this
,
"maxVertexY"
,
80.
*
Gaudi
::
Units
::
mm
};
Gaudi
::
Property
<
double
>
m_maxVertexZ
{
this
,
"maxVertexZ"
,
200.
*
Gaudi
::
Units
::
mm
};
Gaudi
::
Property
<
double
>
m_minMomentum
{
this
,
"minMomentum"
,
100.
*
Gaudi
::
Units
::
MeV
};
Gaudi
::
Property
<
double
>
m_maxEtaForward
{
this
,
"maxEtaForward"
,
4.0
};
Gaudi
::
Property
<
double
>
m_maxEtaBackward
{
this
,
"maxEtaBackward"
,
4.1
};
SmartIF
<
IParticleSvc
>
m_pidSvc
;
@@ -114,6 +116,14 @@ namespace Jug::Reco {
continue
;
}
// require minimum pseudorapidity
if
(
part
.
ps
().
eta
()
>
m_maxEtaForward
||
part
.
ps
().
eta
()
<
-
std
::
abs
(
m_maxEtaBackward
))
{
if
(
msgLevel
(
MSG
::
DEBUG
))
{
debug
()
<<
"ignoring particle with Eta = "
<<
part
.
ps
().
eta
()
<<
endmsg
;
}
continue
;
}
// get the particle charge
// note that we cannot trust the mcparticles charge, as DD4hep
// sets this value to zero! let's lookup by PDGID instead
Loading