Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LHCb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
LHCb
LHCb
Commits
f5b23117
Commit
f5b23117
authored
11 months ago
by
Sevda Esen
Committed by
Christopher Rob Jones
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
add get_flavourtags function and missing flavour tag selection unpacker
parent
13fd72b4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
4 merge requests
!4553
Fix UT Decoder
,
!4539
Synchronize master branch with 2024-patches
,
!4525
Draft: Synchronize master branch with 2024-patches
,
!4471
add get_flavourtags function and missing flavour tag selection unpacker
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Event/EventPacker/src/component/BufferUnpackers.cpp
+1
-0
1 addition, 0 deletions
Event/EventPacker/src/component/BufferUnpackers.cpp
PyConf/python/PyConf/reading.py
+12
-4
12 additions, 4 deletions
PyConf/python/PyConf/reading.py
with
13 additions
and
4 deletions
Event/EventPacker/src/component/BufferUnpackers.cpp
+
1
−
0
View file @
f5b23117
...
...
@@ -55,6 +55,7 @@ namespace DataPacking::Buffer {
DECLARE_COMPONENT_WITH_ID
(
Unpack
<
LHCb
::
Track
::
Container
>
,
"TrackUnpacker"
)
DECLARE_COMPONENT_WITH_ID
(
Unpack
<
LHCb
::
Track
::
Selection
>
,
"TrackSelectionUnpacker"
)
DECLARE_COMPONENT_WITH_ID
(
Unpack
<
LHCb
::
FlavourTag
::
Container
>
,
"FlavourTagUnpacker"
)
DECLARE_COMPONENT_WITH_ID
(
Unpack
<
LHCb
::
FlavourTag
::
Selection
>
,
"FlavourTagSelectionUnpacker"
)
DECLARE_COMPONENT_WITH_ID
(
Unpack
<
LHCb
::
CaloHypo
::
Container
>
,
"CaloHypoUnpacker"
)
DECLARE_COMPONENT_WITH_ID
(
Unpack
<
LHCb
::
CaloCluster
::
Container
>
,
"CaloClusterUnpacker"
)
DECLARE_COMPONENT_WITH_ID
(
Unpack
<
LHCb
::
CaloDigit
::
Container
>
,
"CaloDigitUnpacker"
)
...
...
This diff is collapsed.
Click to expand it.
PyConf/python/PyConf/reading.py
+
12
−
4
View file @
f5b23117
...
...
@@ -31,10 +31,10 @@ def _unpackers_map():
CaloDigitUnpacker
,
CaloAdcUnpacker
,
ProtoParticleUnpacker
,
ProtoParticleSelectionUnpacker
,
ParticleUnpacker
,
ParticleSelectionUnpacker
,
VertexUnpacker
,
FlavourTagUnpacker
,
P2VRelationUnpacker
,
P2MCPRela
tionUnpacker
,
P
P2MCP
RelationUnpacker
,
P2
Int
RelationUnpacker
,
P
2Info
RelationUnpacker
,
RecSummary
Unpacker
,
SOATrackUnpacker
,
SOACaloCluster
Unpacker
,
SOA
CaloHypo
Unpacker
,
SOAPVUnpacker
)
FlavourTagSelec
tionUnpacker
,
P
2V
RelationUnpacker
,
P2
MCP
RelationUnpacker
,
P
P2MCP
RelationUnpacker
,
P2IntRelation
Unpacker
,
P2InfoRelationUnpacker
,
RecSummary
Unpacker
,
SOA
Track
Unpacker
,
SOACaloClusterUnpacker
,
SOACaloHypoUnpacker
,
SOAPVUnpacker
)
return
{
"
Tracks
"
:
TrackUnpacker
,
...
...
@@ -57,6 +57,7 @@ def _unpackers_map():
"
ParticlesSelection
"
:
ParticleSelectionUnpacker
,
"
Vertices
"
:
VertexUnpacker
,
"
FlavourTags
"
:
FlavourTagUnpacker
,
"
FlavourTagsSelection
"
:
FlavourTagSelectionUnpacker
,
"
P2VRelations
"
:
P2VRelationUnpacker
,
"
P2MCPRelations
"
:
P2MCPRelationUnpacker
,
"
P2IntRelations
"
:
P2IntRelationUnpacker
,
...
...
@@ -212,6 +213,13 @@ def get_particles(location, **kwargs):
return
_get_unpacked
(
"
ParticlesSelection
"
,
location
,
**
kwargs
)
def
get_flavourtags
(
location
,
**
kwargs
):
"""
Unpacking of flavor tags. This will also unpack the associated tagged B particles implicitely.
"""
return
_get_unpacked
(
"
FlavourTagsSelection
"
,
location
,
**
kwargs
)
def
get_pp2mcp_relations
(
location
):
"""
Unpacking of ProtoParticle to MCParticle relations. These are needed for truth matching
...
...
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