From 75e844aca79f8c8cc49d91c0776812dc7d1e7871 Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Thu, 7 Jun 2018 08:59:18 +0200 Subject: [PATCH] Remove test item with small mesh difference between MAC and Linux --- DDCore/src/XML/XMLElements.cpp | 2 +- .../ClientTests/ref/Ref_TruncatedTube.txt | 81 ------------------- 2 files changed, 1 insertion(+), 82 deletions(-) diff --git a/DDCore/src/XML/XMLElements.cpp b/DDCore/src/XML/XMLElements.cpp index 73496dd90..d99e9ccec 100644 --- a/DDCore/src/XML/XMLElements.cpp +++ b/DDCore/src/XML/XMLElements.cpp @@ -325,7 +325,7 @@ int dd4hep::xml::_toInt(const XmlChar* value) { bool dd4hep::xml::_toBool(const XmlChar* value) { if (value) { string s = _toString(value); - return s == "true"; + return s == "true" || s == "1" || s == "True" || s == "TRUE"; } return false; } diff --git a/examples/ClientTests/ref/Ref_TruncatedTube.txt b/examples/ClientTests/ref/Ref_TruncatedTube.txt index d55b01701..440d0d66a 100644 --- a/examples/ClientTests/ref/Ref_TruncatedTube.txt +++ b/examples/ClientTests/ref/Ref_TruncatedTube.txt @@ -133,84 +133,3 @@ TGeoCompositeShape 39 Local ( 30.42, 25.98, 50.00) Global ( 30.42, 175. TGeoCompositeShape 40 Local ( 29.37, 27.15, 50.00) Global ( 29.37, 177.15, -50.00) TGeoCompositeShape 41 Local ( 28.28, 28.28, 50.00) Global ( 28.28, 178.28, -50.00) TGeoCompositeShape Bounding box: dx= 12.93 dy= 14.14 dz= 50.00 Origin: x= 27.07 y= 14.14 z= 0.00 -ShapeCheck[3] TGeoCompositeShape 78 Mesh-points: -TGeoCompositeShape TruncatedTube N(mesh)=78 N(vert)=78 N(seg)=0 N(pols)=0 -TGeoCompositeShape 0 Local ( 19.83, 2.61, -50.00) Global ( 109.83, 152.61, 50.00) -TGeoCompositeShape 1 Local ( 19.32, 5.18, -50.00) Global ( 109.32, 155.18, 50.00) -TGeoCompositeShape 2 Local ( 18.48, 7.65, -50.00) Global ( 108.48, 157.65, 50.00) -TGeoCompositeShape 3 Local ( 17.32, 10.00, -50.00) Global ( 107.32, 160.00, 50.00) -TGeoCompositeShape 4 Local ( 15.87, 12.18, -50.00) Global ( 105.87, 162.18, 50.00) -TGeoCompositeShape 5 Local ( 14.14, 14.14, -50.00) Global ( 104.14, 164.14, 50.00) -TGeoCompositeShape 6 Local ( 12.18, 15.87, -50.00) Global ( 102.18, 165.87, 50.00) -TGeoCompositeShape 7 Local ( 10.00, 17.32, -50.00) Global ( 100.00, 167.32, 50.00) -TGeoCompositeShape 8 Local ( 7.65, 18.48, -50.00) Global ( 97.65, 168.48, 50.00) -TGeoCompositeShape 9 Local ( 5.18, 19.32, -50.00) Global ( 95.18, 169.32, 50.00) -TGeoCompositeShape 10 Local ( 2.61, 19.83, -50.00) Global ( 92.61, 169.83, 50.00) -TGeoCompositeShape 11 Local ( 0.00, 20.00, -50.00) Global ( 90.00, 170.00, 50.00) -TGeoCompositeShape 12 Local ( -2.61, 19.83, -50.00) Global ( 87.39, 169.83, 50.00) -TGeoCompositeShape 13 Local ( -5.18, 19.32, -50.00) Global ( 84.82, 169.32, 50.00) -TGeoCompositeShape 14 Local ( -7.65, 18.48, -50.00) Global ( 82.35, 168.48, 50.00) -TGeoCompositeShape 15 Local ( -10.00, 17.32, -50.00) Global ( 80.00, 167.32, 50.00) -TGeoCompositeShape 16 Local ( -12.18, 15.87, -50.00) Global ( 77.82, 165.87, 50.00) -TGeoCompositeShape 17 Local ( -14.14, 14.14, -50.00) Global ( 75.86, 164.14, 50.00) -TGeoCompositeShape 18 Local ( 40.00, 0.00, -50.00) Global ( 130.00, 150.00, 50.00) -TGeoCompositeShape 19 Local ( 39.66, 5.22, -50.00) Global ( 129.66, 155.22, 50.00) -TGeoCompositeShape 20 Local ( 38.64, 10.35, -50.00) Global ( 128.64, 160.35, 50.00) -TGeoCompositeShape 21 Local ( 36.96, 15.31, -50.00) Global ( 126.96, 165.31, 50.00) -TGeoCompositeShape 22 Local ( 34.64, 20.00, -50.00) Global ( 124.64, 170.00, 50.00) -TGeoCompositeShape 23 Local ( 31.73, 24.35, -50.00) Global ( 121.73, 174.35, 50.00) -TGeoCompositeShape 24 Local ( 28.28, 28.28, -50.00) Global ( 118.28, 178.28, 50.00) -TGeoCompositeShape 25 Local ( 24.35, 31.73, -50.00) Global ( 114.35, 181.73, 50.00) -TGeoCompositeShape 26 Local ( 20.00, 34.64, -50.00) Global ( 110.00, 184.64, 50.00) -TGeoCompositeShape 27 Local ( 15.31, 36.96, -50.00) Global ( 105.31, 186.96, 50.00) -TGeoCompositeShape 28 Local ( 10.35, 38.64, -50.00) Global ( 100.35, 188.64, 50.00) -TGeoCompositeShape 29 Local ( 5.22, 39.66, -50.00) Global ( 95.22, 189.66, 50.00) -TGeoCompositeShape 30 Local ( 0.00, 40.00, -50.00) Global ( 90.00, 190.00, 50.00) -TGeoCompositeShape 31 Local ( -5.22, 39.66, -50.00) Global ( 84.78, 189.66, 50.00) -TGeoCompositeShape 32 Local ( -10.35, 38.64, -50.00) Global ( 79.65, 188.64, 50.00) -TGeoCompositeShape 33 Local ( -15.31, 36.96, -50.00) Global ( 74.69, 186.96, 50.00) -TGeoCompositeShape 34 Local ( -20.00, 34.64, -50.00) Global ( 70.00, 184.64, 50.00) -TGeoCompositeShape 35 Local ( -24.35, 31.73, -50.00) Global ( 65.65, 181.73, 50.00) -TGeoCompositeShape 36 Local ( -28.28, 28.28, -50.00) Global ( 61.72, 178.28, 50.00) -TGeoCompositeShape 37 Local ( -31.73, 24.35, -50.00) Global ( 58.27, 174.35, 50.00) -TGeoCompositeShape 38 Local ( -34.64, 20.00, -50.00) Global ( 55.36, 170.00, 50.00) -TGeoCompositeShape 39 Local ( 19.83, 2.61, 50.00) Global ( 109.83, 152.61, 150.00) -TGeoCompositeShape 40 Local ( 19.32, 5.18, 50.00) Global ( 109.32, 155.18, 150.00) -TGeoCompositeShape 41 Local ( 18.48, 7.65, 50.00) Global ( 108.48, 157.65, 150.00) -TGeoCompositeShape 42 Local ( 17.32, 10.00, 50.00) Global ( 107.32, 160.00, 150.00) -TGeoCompositeShape 43 Local ( 15.87, 12.18, 50.00) Global ( 105.87, 162.18, 150.00) -TGeoCompositeShape 44 Local ( 14.14, 14.14, 50.00) Global ( 104.14, 164.14, 150.00) -TGeoCompositeShape 45 Local ( 12.18, 15.87, 50.00) Global ( 102.18, 165.87, 150.00) -TGeoCompositeShape 46 Local ( 10.00, 17.32, 50.00) Global ( 100.00, 167.32, 150.00) -TGeoCompositeShape 47 Local ( 7.65, 18.48, 50.00) Global ( 97.65, 168.48, 150.00) -TGeoCompositeShape 48 Local ( 5.18, 19.32, 50.00) Global ( 95.18, 169.32, 150.00) -TGeoCompositeShape 49 Local ( 2.61, 19.83, 50.00) Global ( 92.61, 169.83, 150.00) -TGeoCompositeShape 50 Local ( 0.00, 20.00, 50.00) Global ( 90.00, 170.00, 150.00) -TGeoCompositeShape 51 Local ( -2.61, 19.83, 50.00) Global ( 87.39, 169.83, 150.00) -TGeoCompositeShape 52 Local ( -5.18, 19.32, 50.00) Global ( 84.82, 169.32, 150.00) -TGeoCompositeShape 53 Local ( -7.65, 18.48, 50.00) Global ( 82.35, 168.48, 150.00) -TGeoCompositeShape 54 Local ( -10.00, 17.32, 50.00) Global ( 80.00, 167.32, 150.00) -TGeoCompositeShape 55 Local ( -12.18, 15.87, 50.00) Global ( 77.82, 165.87, 150.00) -TGeoCompositeShape 56 Local ( -14.14, 14.14, 50.00) Global ( 75.86, 164.14, 150.00) -TGeoCompositeShape 57 Local ( 40.00, 0.00, 50.00) Global ( 130.00, 150.00, 150.00) -TGeoCompositeShape 58 Local ( 39.66, 5.22, 50.00) Global ( 129.66, 155.22, 150.00) -TGeoCompositeShape 59 Local ( 38.64, 10.35, 50.00) Global ( 128.64, 160.35, 150.00) -TGeoCompositeShape 60 Local ( 36.96, 15.31, 50.00) Global ( 126.96, 165.31, 150.00) -TGeoCompositeShape 61 Local ( 34.64, 20.00, 50.00) Global ( 124.64, 170.00, 150.00) -TGeoCompositeShape 62 Local ( 31.73, 24.35, 50.00) Global ( 121.73, 174.35, 150.00) -TGeoCompositeShape 63 Local ( 28.28, 28.28, 50.00) Global ( 118.28, 178.28, 150.00) -TGeoCompositeShape 64 Local ( 24.35, 31.73, 50.00) Global ( 114.35, 181.73, 150.00) -TGeoCompositeShape 65 Local ( 20.00, 34.64, 50.00) Global ( 110.00, 184.64, 150.00) -TGeoCompositeShape 66 Local ( 15.31, 36.96, 50.00) Global ( 105.31, 186.96, 150.00) -TGeoCompositeShape 67 Local ( 10.35, 38.64, 50.00) Global ( 100.35, 188.64, 150.00) -TGeoCompositeShape 68 Local ( 5.22, 39.66, 50.00) Global ( 95.22, 189.66, 150.00) -TGeoCompositeShape 69 Local ( 0.00, 40.00, 50.00) Global ( 90.00, 190.00, 150.00) -TGeoCompositeShape 70 Local ( -5.22, 39.66, 50.00) Global ( 84.78, 189.66, 150.00) -TGeoCompositeShape 71 Local ( -10.35, 38.64, 50.00) Global ( 79.65, 188.64, 150.00) -TGeoCompositeShape 72 Local ( -15.31, 36.96, 50.00) Global ( 74.69, 186.96, 150.00) -TGeoCompositeShape 73 Local ( -20.00, 34.64, 50.00) Global ( 70.00, 184.64, 150.00) -TGeoCompositeShape 74 Local ( -24.35, 31.73, 50.00) Global ( 65.65, 181.73, 150.00) -TGeoCompositeShape 75 Local ( -28.28, 28.28, 50.00) Global ( 61.72, 178.28, 150.00) -TGeoCompositeShape 76 Local ( -31.73, 24.35, 50.00) Global ( 58.27, 174.35, 150.00) -TGeoCompositeShape 77 Local ( -34.64, 20.00, 50.00) Global ( 55.36, 170.00, 150.00) -TGeoCompositeShape Bounding box: dx= 37.32 dy= 20.00 dz= 50.00 Origin: x= 2.68 y= 20.00 z= 0.00 -- GitLab