/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/geo/include/RAT/GLG4TestSolid.hh Source File

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/geo/include/RAT/GLG4TestSolid.hh Source File
Ratpac-two
GLG4TestSolid.hh
1 // This file is part of the GenericLAND software library.
2 // $Id: GLG4TestSolid.hh,v 1.1 2005/08/30 19:55:22 volsung Exp $
3 //
4 /*
5  class GLG4TestSolid
6 
7  Encapsulates routines for testing a Geant4 solid for consistency.
8  (See GLG4TestSolid.cc for documentation.)
9 
10  Author: Glenn Horton-Smith (Tohoku) 1999.12.09
11 */
12 
13 #ifndef __GLG4TESTSOLID_HH__
14 #define __GLG4TESTSOLID_HH__ 1
15 
16 #include "G4ThreeVector.hh"
17 #include "globals.hh"
18 
19 class G4VSolid;
20 class G4VisExtent;
21 class G4VoxelLimits;
22 class G4AffineTransform;
23 
25  public:
26  static G4String Test(const G4VSolid &s, G4int npair);
27 
28  static G4String TestRay(const G4VSolid &s, const G4ThreeVector &p, const G4ThreeVector &v, G4double checkTolerance);
29 
30  static G4String TestAtSurface(const G4VSolid &s, const G4ThreeVector &p1, G4double checkTolerance);
31 
32  static void ResetRandomPointSeed(G4int newiseed);
33 
34  static G4ThreeVector PickRandomPoint(G4VisExtent &ve, G4int itype = -1);
35 };
36 
37 #endif
Definition: GLG4TestSolid.hh:24