Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Moore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Moore
Commits
ca3e61ab
Commit
ca3e61ab
authored
2 years ago
by
Lucas Meyer Garcia
Committed by
Rosen Matev
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add test to compare Allen and Moore calo digits
parent
6892cadb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2111
Add test to compare Allen and Moore calo digits
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Hlt/RecoConf/options/hlt1_calo_digits.py
+38
-0
38 additions, 0 deletions
Hlt/RecoConf/options/hlt1_calo_digits.py
Hlt/RecoConf/tests/qmtest/decoding.qms/hlt1_calo_decoding.qmt
+24
-0
24 additions, 0 deletions
...RecoConf/tests/qmtest/decoding.qms/hlt1_calo_decoding.qmt
with
62 additions
and
0 deletions
Hlt/RecoConf/options/hlt1_calo_digits.py
0 → 100644
+
38
−
0
View file @
ca3e61ab
###############################################################################
# (c) Copyright 2021-2022 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
from
Allen.config
import
setup_allen_non_event_data_service
from
AllenConf.calo_reconstruction
import
decode_calo
from
Moore
import
options
from
PyConf.Algorithms
import
TestAllenCaloDigits
from
PyConf.application
import
configure_input
,
configure
from
PyConf.control_flow
import
CompositeNode
,
NodeLogic
from
RecoConf.calorimeter_reconstruction
import
make_calo_reduced
config
=
configure_input
(
options
)
non_event_data_node
=
setup_allen_non_event_data_service
()
#Get Allen calo digits
calo_allen
=
decode_calo
()
calo_digits_allen
=
calo_allen
[
'
dev_ecal_digits
'
]
#Get HLT2 calo digits
calo
=
make_calo_reduced
()
calo_digits
=
calo
[
'
digitsEcal
'
]
test_digits
=
TestAllenCaloDigits
(
ecal_digits
=
calo_digits_allen
,
EcalDigits
=
calo_digits
)
cf_node
=
CompositeNode
(
'
compare_calo_digits
'
,
combine_logic
=
NodeLogic
.
NONLAZY_OR
,
children
=
[
non_event_data_node
,
test_digits
],
force_order
=
True
)
config
.
update
(
configure
(
options
,
cf_node
))
This diff is collapsed.
Click to expand it.
Hlt/RecoConf/tests/qmtest/decoding.qms/hlt1_calo_decoding.qmt
0 → 100644
+
24
−
0
View file @
ca3e61ab
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<!--
(c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration
This software is distributed under the terms of the GNU General Public
Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<extension
class=
"GaudiTest.GaudiExeTest"
kind=
"test"
>
<argument
name=
"program"
><text>
gaudirun.py
</text></argument>
<argument
name=
"args"
><set>
<text>
$MOOREROOT/tests/options/digi_input_and_conds_for_allen_decoding_retinacluster.py
</text>
<text>
$RECOCONFROOT/options/hlt1_calo_digits.py
</text>
</set></argument>
<argument
name=
"use_temp_dir"
><enumeral>
true
</enumeral></argument>
<argument
name=
"validator"
><text>
countErrorLines({"FATAL": 0, "ERROR": 0, "WARNING": 0})
</text></argument>
</extension>
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