Difference: ValidateGeom (4 vs. 5)

Revision 52014-06-19 - 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.
>
>
The offending subvolumes are highlighted in red. One can use:
gGeoManager->cd(/path/to/volume/); // to check only a subvolume
gGeoManager->GetPath();                    // to see path
gGeoManager->getCurrentNode()->CheckOverlaps(0.01);
gGeoManager->PrintOverlaps();
 

Shooting particles with Geant4/SLIC

Line: 77 to 82
 

Stress tests

Changed:
<
<
If you don't have that already, then install your own version of ROOT, so that you can customise it. Then go to $ROOTSYS/test and edit ...
>
>
If you don't have that already, then install your own version of ROOT, so that you can customise it. Then go to $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
< const Int_t NG = 33;
---
> const Int_t NG = 34;
82a83
>                         "clicd",
116a118
>               1, //clicd - added by protopop@cern.ch
150a153
>                               0.4,  //clicd
184a188
>                          {750,750,1000},    // clicd
then recompile
make stressGeometry
and run
stressGeometry clicd
This will generate a reference file called clicd_ref_1.root and put it in $ROOTSYS/test/files.
 
META FILEATTACHMENT attachment="dumpHits.py.txt" attr="" comment="Script used to extract hit positions from slcio file" date="1402928692" name="dumpHits.py.txt" path="dumpHits.py.txt" size="1300" user="DanProtopopescu" version="1"
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"
 
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