[12gevmoller_sim] [JeffersonLab/remoll] 922f1d: Work in progress to resolve #254

Wouter Deconinck noreply at github.com
Thu Apr 11 11:27:00 EDT 2019


  Branch: refs/heads/develop
  Home:   https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJeffersonLab%2Fremoll&data=02%7C01%7C12gevmoller_sim%40jlab.org%7C4cd9ad1eefdc4f3e558608d6be9224c6%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C1%7C636905932218950481&sdata=6T6oIT3wpopHZ%2BKq0u1%2Fr%2FeRMK%2BlpASLGFpwQJFq5Sk%3D&reserved=0
  Commit: 922f1d2320e52611c10d1ef5e82d9ff9f7bfabc0
      https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJeffersonLab%2Fremoll%2Fcommit%2F922f1d2320e52611c10d1ef5e82d9ff9f7bfabc0&data=02%7C01%7C12gevmoller_sim%40jlab.org%7C4cd9ad1eefdc4f3e558608d6be9224c6%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C1%7C636905932218950481&sdata=nnQzFD8f%2BjXv6R87QaayPwzSNsdPswqWsyE0dP3qVD0%3D&reserved=0
  Author: Wouter Deconinck <wdconinc at gmail.com>
  Date:   2019-04-09 (Tue, 09 Apr 2019)

  Changed paths:
    M src/remollIO.cc

  Log Message:
  -----------
  Work in progress to resolve #254


  Commit: f51eda6af4937a458a7d55af69b2ec6e62c8fa16
      https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJeffersonLab%2Fremoll%2Fcommit%2Ff51eda6af4937a458a7d55af69b2ec6e62c8fa16&data=02%7C01%7C12gevmoller_sim%40jlab.org%7C4cd9ad1eefdc4f3e558608d6be9224c6%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C1%7C636905932218950481&sdata=XezXZ8YG2QJtugzQ2YyzpVql1JtjJCgeGg%2B6cacK46U%3D&reserved=0
  Author: Wouter Deconinck <wdconinc at gmail.com>
  Date:   2019-04-10 (Wed, 10 Apr 2019)

  Changed paths:
    M src/remollIO.cc

  Log Message:
  -----------
  Use doctype->getentities to parse over entity locations

Now we just need to combine systemId and docURI into a filename:
```
docURI:
file:///home/wdconinc/git/remoll/geometry/mollerMother_merged.gdml
entity: solids/world.xml
entity: positions.xml
docURI:
file:///home/wdconinc/git/remoll/geometry/target/subTargetRegion.gdml
entity: ../materials.xml
entity: ../matrices.xml
```
Once we have a filename as absolute path we can check if it is alredy
being stored, then store it if not.


  Commit: c57b482d9f5553cab87ed5a80de7a2fb14bb5110
      https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJeffersonLab%2Fremoll%2Fcommit%2Fc57b482d9f5553cab87ed5a80de7a2fb14bb5110&data=02%7C01%7C12gevmoller_sim%40jlab.org%7C4cd9ad1eefdc4f3e558608d6be9224c6%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C1%7C636905932218950481&sdata=K72R2t65LkXLFLsltRyI9V0%2FAodzJ2IWW9wN5ws3DxU%3D&reserved=0
  Author: Wouter Deconinck <wdconinc at gmail.com>
  Date:   2019-04-10 (Wed, 10 Apr 2019)

  Changed paths:
    M src/remollIO.cc

  Log Message:
  -----------
  Some more null pointer checking. Makes test cases pass...


  Commit: f57bccfdcf50bd1acba2acbf357eb83452feb9ee
      https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJeffersonLab%2Fremoll%2Fcommit%2Ff57bccfdcf50bd1acba2acbf357eb83452feb9ee&data=02%7C01%7C12gevmoller_sim%40jlab.org%7C4cd9ad1eefdc4f3e558608d6be9224c6%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C1%7C636905932218950481&sdata=tNvTtmDmuxsm6x8U2DR8pBLR4AybJijyMaJ83kyzW8E%3D&reserved=0
  Author: Wouter Deconinck <wdconinc at gmail.com>
  Date:   2019-04-10 (Wed, 10 Apr 2019)

  Changed paths:
    M include/remollIO.hh
    M src/remollIO.cc

  Log Message:
  -----------
  Store XML filenames

Store in fXMLFileNames, resolve relative paths, remove duplicates

Still need to turn into relative paths so if someone gets my files it
doesn't try to recreate in my home directory
```
Found GDML file mollerMother_merged.gdml
Found GDML file target/subTargetRegion.gdml
Found GDML file hall/hallDaughter_merged.gdml
Found GDML file upstream/upstreamDaughter_merged.gdml
Found GDML file hybrid/hybridDaughter_merged.gdml
Found XML file /home/wdconinc/git/remoll/geometry/materials.xml
Found XML file /home/wdconinc/git/remoll/geometry/matrices.xml
Found XML file /home/wdconinc/git/remoll/geometry/positions.xml
Found XML file /home/wdconinc/git/remoll/geometry/solids/world.xml
```

Also still need to write recreate.


  Commit: e2e68af65f8cd637e5101b0651221818275075fc
      https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJeffersonLab%2Fremoll%2Fcommit%2Fe2e68af65f8cd637e5101b0651221818275075fc&data=02%7C01%7C12gevmoller_sim%40jlab.org%7C4cd9ad1eefdc4f3e558608d6be9224c6%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C1%7C636905932218960477&sdata=aCpsR6rjP7Bf8fZpz4YwZgoA3Wu0BzbJmo4kCb4pS5s%3D&reserved=0
  Author: Wouter Deconinck <wdconinc at gmail.com>
  Date:   2019-04-10 (Wed, 10 Apr 2019)

  Changed paths:
    M geometry/pion/GEM/pionDetectorGEM.gdml

  Log Message:
  -----------
  Removed unused entities that are not found


  Commit: a75305983de58dc5a69912e45bb4aebabf2ac86c
      https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJeffersonLab%2Fremoll%2Fcommit%2Fa75305983de58dc5a69912e45bb4aebabf2ac86c&data=02%7C01%7C12gevmoller_sim%40jlab.org%7C4cd9ad1eefdc4f3e558608d6be9224c6%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C1%7C636905932218960477&sdata=8v0w%2Fe6GN7Ky56U0Nk7J0c1mzP9lImRysKIME2Vg4GA%3D&reserved=0
  Author: Wouter Deconinck <wdconinc at gmail.com>
  Date:   2019-04-10 (Wed, 10 Apr 2019)

  Changed paths:
    M src/remollIO.cc

  Log Message:
  -----------
  Cut off the getcwd, resolve relative paths with ../


  Commit: 2ba5890d3e66df42758f73c58b7c0acd41231ed7
      https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJeffersonLab%2Fremoll%2Fcommit%2F2ba5890d3e66df42758f73c58b7c0acd41231ed7&data=02%7C01%7C12gevmoller_sim%40jlab.org%7C4cd9ad1eefdc4f3e558608d6be9224c6%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C1%7C636905932218960477&sdata=6oQUPTo3NH8kTfBZc648An9%2F08nCVaCKPwgxfDvQzbU%3D&reserved=0
  Author: Wouter Deconinck <wdconinc at gmail.com>
  Date:   2019-04-11 (Thu, 11 Apr 2019)

  Changed paths:
    M geometry/pion/GEM/pionDetectorGEM.gdml
    M include/remollIO.hh
    M src/remollIO.cc

  Log Message:
  -----------
  Merge pull request #257 from JeffersonLab/bugfix-issue-254-save-xml-files

Bugfix issue 254 save xml files


Compare: https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJeffersonLab%2Fremoll%2Fcompare%2F236256581636...2ba5890d3e66&data=02%7C01%7C12gevmoller_sim%40jlab.org%7C4cd9ad1eefdc4f3e558608d6be9224c6%7Cb4d7ee1f4fb34f0690372b5b522042ab%7C1%7C1%7C636905932218960477&sdata=YXfzYsz9uvcTHgSE3M70SPi8UkgPTnIe3oXUhWGqYdM%3D&reserved=0


More information about the 12gevmoller_sim mailing list