{"action":"created","issue":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/15985","repository_url":"https://api.github.com/repos/cms-sw/cmssw","labels_url":"https://api.github.com/repos/cms-sw/cmssw/issues/15985/labels{/name}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/issues/15985/comments","events_url":"https://api.github.com/repos/cms-sw/cmssw/issues/15985/events","html_url":"https://github.com/cms-sw/cmssw/issues/15985","id":179173595,"number":15985,"title":"HCal 2017dev Geometry Built from XML Differs from its DB Dump","user":{"login":"ianna","id":1390682,"avatar_url":"https://avatars.githubusercontent.com/u/1390682?v=3","gravatar_id":"","url":"https://api.github.com/users/ianna","html_url":"https://github.com/ianna","followers_url":"https://api.github.com/users/ianna/followers","following_url":"https://api.github.com/users/ianna/following{/other_user}","gists_url":"https://api.github.com/users/ianna/gists{/gist_id}","starred_url":"https://api.github.com/users/ianna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianna/subscriptions","organizations_url":"https://api.github.com/users/ianna/orgs","repos_url":"https://api.github.com/users/ianna/repos","events_url":"https://api.github.com/users/ianna/events{/privacy}","received_events_url":"https://api.github.com/users/ianna/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/pending-assignment","name":"pending-assignment","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-26T08:59:32Z","updated_at":"2016-10-05T10:20:16Z","closed_at":null,"body":"HCal 2017dev geometry in pre12 does not provide correct summary for DB storage.\r\n\r\n * The shapes are correct, but their placement (e.g. rotation in Phi) looks off in phi(Y?) by a factor of 10 and placement in Z seems to be abs(Z)\r\n\r\nHCal reco geometry built from XML vs DB tag:\r\n![screenshot 2016-09-22 12 07 19](https://cloud.githubusercontent.com/assets/1390682/18828044/56c0dce2-83d6-11e6-909c-eef311670a20.png)\r\n![screenshot 2016-09-22 12 20 04](https://cloud.githubusercontent.com/assets/1390682/18828045/56c6bfe0-83d6-11e6-9be6-7060c403ec45.png)\r\n\r\nHCal sim geometry built from XML vs DB tag:\r\n![screenshot 2016-09-23 12 42 39](https://cloud.githubusercontent.com/assets/1390682/18828063/700cd160-83d6-11e6-8c02-641d5e2f7c13.png)\r\n![screenshot 2016-09-23 12 46 50](https://cloud.githubusercontent.com/assets/1390682/18828064/70141e0c-83d6-11e6-80b3-95d51a93284f.png)\r\n\r\nComparing the shapes, for example, of a DetId HB(-16,1,1) it looks like corners order gets scrambled for the same shape definition based on dX, dY and dZ: \r\n```\r\n*** Shape TGeoArb8: TGeoArb8 ***\r\n    point #0 : x=   -7.78802 y=   -7.90493 z=   -4.68055\r\n    point #1 : x=   -7.78802 y=    7.90493 z=   -4.68055\r\n    point #2 : x=   24.63257 y=    7.90493 z=   -4.68055\r\n    point #3 : x=   24.63257 y=   -7.90493 z=   -4.68055\r\n    point #4 : x=  -25.47067 y=   -8.31365 z=    4.68055\r\n    point #5 : x=  -25.47067 y=    8.31365 z=    4.68055\r\n    point #6 : x=    8.62616 y=    8.31365 z=    4.68055\r\n    point #7 : x=    8.62616 y=   -8.31365 z=    4.68055\r\n Bounding box:\r\n*** Shape TGeoArb8: TGeoBBox ***\r\n    dX =    25.05162\r\n    dY =     8.31365\r\n    dZ =     4.68055\r\n    origin: x=   -0.41905 y=    0.00000 z=    0.00000\r\n*** Shape TGeoArb8: TGeoArb8 ***\r\n    point #0 : x=    7.78802 y=   -7.90493 z=   -4.68055\r\n    point #1 : x=  -24.63257 y=   -7.90493 z=   -4.68055\r\n    point #2 : x=  -24.63257 y=    7.90493 z=   -4.68055\r\n    point #3 : x=    7.78802 y=    7.90493 z=   -4.68055\r\n    point #4 : x=   25.47067 y=   -8.31365 z=    4.68055\r\n    point #5 : x=   -8.62616 y=   -8.31365 z=    4.68055\r\n    point #6 : x=   -8.62616 y=    8.31365 z=    4.68055\r\n    point #7 : x=   25.47067 y=    8.31365 z=    4.68055\r\n Bounding box:\r\n*** Shape TGeoArb8: TGeoBBox ***\r\n    dX =    25.05162\r\n    dY =     8.31365\r\n    dZ =     4.68055\r\n    origin: x=    0.41905 y=    0.00000 z=    0.00000\r\n```"},"comment":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/comments/251637060","html_url":"https://github.com/cms-sw/cmssw/issues/15985#issuecomment-251637060","issue_url":"https://api.github.com/repos/cms-sw/cmssw/issues/15985","id":251637060,"user":{"login":"mmusich","id":5082376,"avatar_url":"https://avatars.githubusercontent.com/u/5082376?v=3","gravatar_id":"","url":"https://api.github.com/users/mmusich","html_url":"https://github.com/mmusich","followers_url":"https://api.github.com/users/mmusich/followers","following_url":"https://api.github.com/users/mmusich/following{/other_user}","gists_url":"https://api.github.com/users/mmusich/gists{/gist_id}","starred_url":"https://api.github.com/users/mmusich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmusich/subscriptions","organizations_url":"https://api.github.com/users/mmusich/orgs","repos_url":"https://api.github.com/users/mmusich/repos","events_url":"https://api.github.com/users/mmusich/events{/privacy}","received_events_url":"https://api.github.com/users/mmusich/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T10:20:16Z","updated_at":"2016-10-05T10:20:16Z","body":"@ianna, to understand this issue, is the problem involving only the dump or accessing the geometry from DB in CMSSW jobs yields different results than from XML?\r\n@franzoni "}}
{"actor":{"display_login":"mmusich"}}