// // ******************************************************************** // * DISCLAIMER * // * * // * The following disclaimer summarizes all the specific disclaimers * // * of contributors to this software. The specific disclaimers,which * // * govern, are listed with their locations in: * // * http://cern.ch/geant4/license * // * * // * Neither the authors of this software system, nor their employing * // * institutes,nor the agencies providing financial support for this * // * work make any representation or warranty, express or implied, * // * regarding this software system or assume any liability for its * // * use. * // * * // * 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.6 2004/12/10 16:20:21 gcosmo Exp $ // GEANT4 tag $Name: geant4-07-01 $ // // // Tube/Cone Meshing constants for extent calculations // History: // 13.08.95 P.Kent Created separate file // -------------------------------------------------------------------- #ifndef MESHDEFS_HH #define MESHDEFS_HH #include "G4Types.hh" #include const G4double kMeshAngleDefault=(pi/4); // Angle for mesh `wedges' in rads // Works best when simple fraction of 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