Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

GLG4TestSolid.hh

00001 // This file is part of the GenericLAND software library.
00002 // $Id: GLG4TestSolid.hh,v 1.1.1.1 2004/12/21 22:29:48 GLG4sim Exp $
00003 //
00004 /*
00005   class GLG4TestSolid
00006 
00007   Encapsulates routines for testing a Geant4 solid for consistency.
00008   (See GLG4TestSolid.cc for documentation.)
00009 
00010   Author: Glenn Horton-Smith (Tohoku) 1999.12.09
00011 */
00012 
00013 #ifndef __GLG4TESTSOLID_HH__
00014 #define __GLG4TESTSOLID_HH__ 1
00015 
00016 #include "globals.hh"
00017 #include "G4ThreeVector.hh"
00018 
00019 class G4VSolid;
00020 class G4VisExtent;
00021 class G4VoxelLimits;
00022 class G4AffineTransform;
00023 
00024 class GLG4TestSolid {
00025 public:
00026   static G4String  Test(const G4VSolid &s, G4int npair);
00027   
00028   static G4String  TestRay(const G4VSolid &s,
00029                            const G4ThreeVector &p,
00030                            const G4ThreeVector &v,
00031                            G4double checkTolerance);
00032   
00033   static G4String  TestAtSurface(const G4VSolid &s,
00034                                  const G4ThreeVector &p1,
00035                                  G4double checkTolerance);
00036   
00037   static void      ResetRandomPointSeed(G4int newiseed);
00038   
00039   static G4ThreeVector PickRandomPoint(G4VisExtent &ve,
00040                                        G4int itype= -1);
00041 };
00042 
00043 #endif

Generated on Fri Jul 6 13:31:46 2007 for GLG4sim by  doxygen 1.3.9.1