30 lines
883 B
C++
30 lines
883 B
C++
// This code implementation is the intellectual property of
|
|
// the GEANT4 collaboration.
|
|
//
|
|
// By copying, distributing or modifying the Program (or any work
|
|
// based on the Program) you indicate your acceptance of this statement,
|
|
// and all its terms.
|
|
//
|
|
// $Id: meshdefs.hh,v 1.3 2000/04/20 16:49:49 gcosmo Exp $
|
|
// GEANT4 tag $Name: geant4-03-00 $
|
|
//
|
|
//
|
|
// Tube/Cone Meshing constants for extent calculations
|
|
|
|
// History:
|
|
// 13.08.95 P.Kent Created separate file
|
|
|
|
#ifndef MESHDEFS_HH
|
|
#define MESHDEFS_HH
|
|
|
|
#include "globals.hh"
|
|
|
|
const G4double kMeshAngleDefault=(M_PI/4); // Angle for mesh `wedges' in rads
|
|
// Works best when simple fraction of M_PI/2
|
|
|
|
const G4int kMinMeshSections=3; // Min wedges+1 to make
|
|
const G4int kMaxMeshSections=37; // max wedges+1 to make
|
|
// =>10 degrees/wedge for complete tube
|
|
|
|
#endif
|