Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DaVinci
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
DaVinci
Commits
b0f6d5e3
Commit
b0f6d5e3
authored
4 years ago
by
Eduardo Rodrigues
Browse files
Options
Downloads
Patches
Plain Diff
Add a test for it
parent
c3fdcc08
No related branches found
No related tags found
1 merge request
!512
Add example usage of PrintDecayTree algo to DaVinciExamples package
Pipeline
#2378680
failed
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DaVinciExamples/tests/qmtest/debugging.qms/test_example-PrintDecayTree.qmt
+36
-0
36 additions, 0 deletions
...ests/qmtest/debugging.qms/test_example-PrintDecayTree.qmt
with
36 additions
and
0 deletions
DaVinciExamples/tests/qmtest/debugging.qms/test_example-PrintDecayTree.qmt
0 → 100755
+
36
−
0
View file @
b0f6d5e3
<?xml version="1.0" ?>
<!--
(c) Copyright 2021 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.
-->
<!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<extension
class=
"GaudiTest.GaudiExeTest"
kind=
"test"
>
<argument
name=
"program"
><text>
gaudirun.py
</text></argument>
<argument
name=
"timeout"
><integer>
3600
</integer></argument>
<argument
name=
"args"
><set>
<text>
$DAVINCIEXAMPLESROOT/python/DaVinciExamples/debugging/example-PrintDecayTree.py
</text>
</set></argument>
<argument
name=
"validator"
><text>
findReferenceBlock("""
PrintJpsis.PrintDecayTreeTool INFO Name E M P Pt phi Vz P(C/K) PP(C/K)
PrintJpsis.PrintDecayTreeTool INFO MeV MeV MeV MeV mrad mm
PrintJpsis.PrintDecayTreeTool INFO J/psi(1S) 64348.53 3151.00 64271.34 5490.37 -280.39 -51.66 0/0 N/A
PrintJpsis.PrintDecayTreeTool INFO +-->mu+ 9627.27 105.66 9626.69 387.30 2023.68 -53.56 1/4 2/4
PrintJpsis.PrintDecayTreeTool INFO +-->mu- 54723.91 105.66 54723.81 5756.74 -330.64 -51.01 1/40 2/40
PrintJpsis.PrintDecayTreeTool INFO
PrintJpsis.PrintDecayTreeTool INFO Used TES locations :-
PrintJpsis.PrintDecayTreeTool INFO 1 = '/Event/FunctionalParticleMaker/Particles'
PrintJpsis.PrintDecayTreeTool INFO 2 = '/Event/Rec/ProtoP/Charged'
PrintJpsis.PrintDecayTreeTool INFO 0 = '/Event/StdLooseJpsi2MuMu/Particles'
PrintJpsis.PrintDecayTreeTool INFO
""", stdout, result, causes, signature_offset = 0)
countErrorLines({"FATAL":0, "ERROR":0})
<argument
name=
"exit_code"
><integer>
1
</integer></argument>
</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