[ROOT] TGeoIntersection

From: karl hauschild (hauschil@csnsm.in2p3.fr)
Date: Wed Mar 03 2004 - 15:17:40 MET


I would like to perform a intersection of 2 solids in the TGeomerty

I have defined :

   TGeoVolume *ge_tub =

   TGeoVolume *ge_pgon =
	 gGeoManager->MakePgon("gePolygon", Al, 0,360,6,2);
   TGeoPgon   *pgon    = (TGeoPgon*)(ge_pgon->GetShape());
   pgon->DefineSection(0,-tubeGeHalfT, 0, rOuterBase);
   pgon->DefineSection(1, tubeGeHalfT, 0, rOuterTop);

   The question is : how do I use TGeoIntersection to obtain the same
   result as I have in Geant4 when using 

  G4IntersectionSolid* solidGe = 
    new G4IntersectionSolid("germanium",ge_tub,ge_pgon);

Many thanks,


[v4.00/02, fedora]

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET