Ignore:
Timestamp:
Nov 5, 2010, 4:08:39 PM (14 years ago)
Author:
garnier
Message:

update ti head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/geometry/olap/src/OlapManagerMessenger.cc

    r1337 r1342  
    2525//
    2626//
    27 // $Id: OlapManagerMessenger.cc,v 1.3 2006/06/29 17:23:02 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     27// $Id: OlapManagerMessenger.cc,v 1.4 2010/08/24 07:57:14 gcosmo Exp $
     28// GEANT4 tag $Name: examples-V09-03-09 $
    2929//
    3030//
     
    4040#include "OlapLogManager.hh"
    4141
     42#include "G4GeometryTolerance.hh"
    4243#include "G4UIdirectory.hh"
    4344#include "G4UIcmdWithAString.hh"
     
    5455
    5556  theLogManager = OlapLogManager::GetOlapLogManager();
     57
     58  G4double delta = G4GeometryTolerance::GetInstance()->GetAngularTolerance();
    5659
    5760  theOlapDir = new G4UIdirectory("/olap/");
     
    7881  theDeltaCmd = new G4UIcmdWithADoubleAndUnit("/olap/delta",this);
    7982  theDeltaCmd->SetGuidance("set boundary tolerance for overlaps in units of length");
    80   theDeltaCmd->SetDefaultValue(kRadTolerance);
     83  theDeltaCmd->SetDefaultValue(delta);
    8184  theDeltaCmd->SetParameterName("delta",true);
    8285  theDeltaCmd->SetRange("delta>=1.e-9"); // current G4-accuracy
Note: See TracChangeset for help on using the changeset viewer.