Skip to content
Snippets Groups Projects
Commit 1eb1cbf1 authored by Eduardo Rodrigues's avatar Eduardo Rodrigues
Browse files

Merge branch 'erodrigu-tests-2019-03-27' into 'master'

Update of tests to follow printout changes upstream

See merge request lhcb/DaVinci!311
parents 50af3ade 49c65caf
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!311Update of tests to follow printout changes upstream
Pipeline #780258 passed
......@@ -27,7 +27,7 @@ DaVinciInitAlg SUCCESS 500 events p
findReferenceBlock("""
StdNoPIDsUpPions SUCCESS Number of counters : 1
| Counter | # | sum | mean/eff^* | rms/err^* | min | max |
|*"#accept" | 500 | 492 |( 98.40000 +- 0.5611417)%| ------- | ------- |
|*"#accept" | 500 | 492 |( 98.40000 +- 0.5611417)% |
""", stdout, result, causes, signature_offset = 0, id='Particles')
countErrorLines({"FATAL":0})
</text></argument>
......
......@@ -21,7 +21,7 @@ TruePhi SUCCESS Number of counters : 5
| Counter | # | sum | mean/eff^* | rms/err^* | min | max |
| "# Phys/Phi" | 902 | 1112 | 1.2328 | 0.87659 | 1.0000 | 15.000 |
| "# input particles" | 902 | 1112 | 1.2328 | 0.87659 | 1.0000 | 15.000 |
|*"#accept" | 902 | 774 |( 85.80931 +- 1.161892)%| ------- | ------- |
|*"#accept" | 902 | 774 |( 85.80931 +- 1.161892)% |
| "#passed" | 902 | 797 | 0.88359 | 0.39506 | 0.0000 | 3.0000 |
|*"efficiency" | 1112 | 797 |( 71.67266 +- 1.351224)%| ------- | ------- |
""")
......
......@@ -18,26 +18,25 @@
</set></argument>
<argument name="validator"><text>
findReferenceBlock("""
Print_3000_3087 SUCCESS Number of counters : 3
| Counter | # | sum | mean/eff^* | rms/err^* | min | max |
| "# Phys/SelJpsi_3000_3087" | 14 | 14 | 1.0000 | 0.0000 | 1.0000 | 1.0000 |
| "# input particles" | 14 | 14 | 1.0000 | 0.0000 | 1.0000 | 1.0000 |
|*"#accept" | 14 | 14 |( 100.0000 +- 0.000000)%| ------- | ------- |
|*"#accept" | 14 | 14 |( 100.0000 +- 0.000000)% |
""", stdout, result, causes, signature_offset = 0, id = "Stream1")
findReferenceBlock("""
Print_3088_3100 SUCCESS Number of counters : 3
| Counter | # | sum | mean/eff^* | rms/err^* | min | max |
| "# Phys/SelJpsi_3088_3100" | 13 | 13 | 1.0000 | 0.0000 | 1.0000 | 1.0000 |
| "# input particles" | 13 | 13 | 1.0000 | 0.0000 | 1.0000 | 1.0000 |
|*"#accept" | 13 | 13 |( 100.0000 +- 0.000000)%| ------- | ------- |
|*"#accept" | 13 | 13 |( 100.0000 +- 0.000000)% |
""", stdout, result, causes, signature_offset = 0, id = "Stream2")
findReferenceBlock("""
Print_3100_4000 SUCCESS Number of counters : 3
| Counter | # | sum | mean/eff^* | rms/err^* | min | max |
| "# Phys/SelJpsi_3100_4000" | 5 | 6 | 1.2000 | 0.40000 | 1.0000 | 2.0000 |
| "# input particles" | 5 | 6 | 1.2000 | 0.40000 | 1.0000 | 2.0000 |
|*"#accept" | 5 | 5 |( 100.0000 +- 0.000000)%| ------- | ------- |
|*"#accept" | 5 | 5 |( 100.0000 +- 0.000000)% |
""", stdout, result, causes, signature_offset = 0, id = "Stream3")
</text></argument>
</extension>
......@@ -31,7 +31,7 @@ CountParticles SUCCESS Number of co
| "# Strip/Phys/StrippingLambda0_ws" | 10000 | 2679 | 0.26790 | 0.64244 | 0.0000 | 8.0000 |
| "# Strip/Phys/StrippingLambdaAllGeoLineCombine" | 10000 | 13672 | 1.3672 | 2.0568 | 0.0000 | 21.000 |
| "# input particles" | 10000 | 51533 | 5.1533 | 5.7808 | 1.0000 | 82.000 |
|*"#accept" | 10000 | 10000 |( 100.0000 +- 0.000000)%| ------- | ------- |
|*"#accept" | 10000 | 10000 |( 100.0000 +- 0.000000)% |
| "KS0" | 27000 | 27000 | 1.0000 | 0.0000 | 1.0000 | 1.0000 |
| "Lambda0" | 12751 | 12751 | 1.0000 | 0.0000 | 1.0000 | 1.0000 |
| "Lambda~0" | 11782 | 11782 | 1.0000 | 0.0000 | 1.0000 | 1.0000 |
......
......@@ -36,7 +36,7 @@ DaVinciInitAlg SUCCESS 50 events processed
DaVinciInitAlg SUCCESS ==================================================================
TeslaLineChecker SUCCESS Number of counters : 1
| Counter | # | sum | mean/eff^* | rms/err^* | min | max |
|*"#accept" | 50 | 50 |( 100.0000 +- 0.000000)%| ------- | ------- |
|*"#accept" | 50 | 50 |( 100.0000 +- 0.000000)% |
"""
findReferenceBlock(block,signature_offset = 1)
</text></argument>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment