Difference: ValidateGeom (10 vs. 11)

Revision 112014-06-27 - DanProtopopescu

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Geometry validation

Line: 32 to 32
  extrusion.png
Changed:
<
<
The offending subvolumes are highlighted in red. One can use:
>
>
The offending subvolumes are highlighted in red. Some other useful commands:
 
gGeoManager->cd(/path/to/volume/); // to check only a subvolume
Changed:
<
<
gGeoManager->GetPath(); // to see path
>
>
gGeoManager->GetPath(); // to see current path
 gGeoManager->getCurrentNode()->CheckOverlaps(0.01); gGeoManager->PrintOverlaps();
Line: 82 to 82
 

Stress tests

Changed:
<
<
There is a tool in TGeo that allows one to benchmark a given geometry. One could use this to compare for example two descriptions produced let's say via different frameworks, and spot if any errors occurred.
>
>
There is a TGeo tool for checking geometries. Although written for testing actual TGeo class implementations, one could use this to compare for example two descriptions produced let's say via different frameworks, and spot if any differences were introduced. A good description of how it actually works can be found in the header of the C++ source file
 
Changed:
<
<
Go to directory $ROOTSYS/test and edit stressGeometry.cxx to add a custom entry, in my case a diff shows these changes:
>
>
Go to directory $ROOTSYS/test and edit stressGeometry.cxx to add a custom entry. In my case a diff shows these changes:
 
[protopop@ppelx ECal]$ diff $ROOTSYS/test/stressGeometry.cxx.orig $ROOTSYS/test/stressGeometry.cxx
78c78
Line: 124 to 124
  and we put it in the same location as above (http://www.ppe.gla.ac.uk/~protopop/clic/clicd.root), e.g. cp ECal_new.root ~/web/clic/clicd.root
Deleted:
<
<
EcalEndcap_zmin_change.png
 For example, if we have changed EcalEndcap_zmin from 165.70cm to 164.70cm between the two models, we get
Added:
>
>
EcalEndcap_zmin_change.png
 
[protopop@ppelx test]$ ./stressGeometry clicd
...
Line: 161 to 163
 
META FILEATTACHMENT attachment="dumpHits.py.txt" attr="" comment="Script used to extract hit positions from slcio file" date="1403620030" name="dumpHits.py.txt" path="dumpHits.py.txt" size="1129" user="DanProtopopescu" version="2"
META FILEATTACHMENT attachment="ECal1.png" attr="" comment="ECal visualised in geoDisplay" date="1403186454" name="ECal1.png" path="ECal1.png" size="18146" user="DanProtopopescu" version="1"
META FILEATTACHMENT attachment="extrusion.png" attr="" comment="Extrusion detected by CheckOverlaps()" date="1403186506" name="extrusion.png" path="extrusion.png" size="32924" user="DanProtopopescu" version="1"
Changed:
<
<
META FILEATTACHMENT attachment="EcalEndcap_zmin_change.png" attr="h" comment="Small change in EcalEndcap_zmin" date="1403515356" name="EcalEndcap_zmin_change.png" path="EcalEndcap_zmin_change.png" size="24158" user="DanProtopopescu" version="2"
>
>
META FILEATTACHMENT attachment="EcalEndcap_zmin_change.png" attr="h" comment="Small change in EcalEndcap_zmin" date="1403862015" name="EcalEndcap_zmin_change.png" path="EcalEndcap_zmin_change.png" size="26351" user="DanProtopopescu" version="3"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback