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

update ti head

Location:
trunk/examples/extended/geometry/olap/src
Files:
3 edited

Legend:

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

    r1337 r1342  
    2525//
    2626//
    27 // $Id: OlapManager.cc,v 1.3 2006/06/29 17:23:00 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     27// $Id: OlapManager.cc,v 1.4 2010/08/24 07:57:14 gcosmo Exp $
     28// GEANT4 tag $Name: examples-V09-03-09 $
    2929//
    3030//
     
    4646#include "OlapEventAction.hh"
    4747#include "G4GeoNav.hh"
     48#include "G4GeometryTolerance.hh"
    4849#include "G4RunManager.hh"
    4950#include "globals.hh"
     
    5152OlapManager * OlapManager::theInstance = 0;
    5253
    53 OlapManager::OlapManager() :
    54   olapGenerator(0), delta( kRadTolerance ),
    55   eventsPerRun(27), lvPos(0), polyMode(false),
    56   interrupt(false)
     54OlapManager::OlapManager()
     55  : olapGenerator(0), eventsPerRun(27), lvPos(0),
     56    polyMode(false), interrupt(false)
    5757{
    5858   theMessenger = new OlapManagerMessenger(this);
     
    6262   //G4LogicalVolumeStore::iterator aIt = theLVStore->begin();
    6363
     64   delta = G4GeometryTolerance::GetInstance()->GetAngularTolerance();
    6465   theRunManager = G4RunManager::GetRunManager();
    6566   const G4VUserDetectorConstruction * aTmp =
  • 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
  • trunk/examples/extended/geometry/olap/src/OlapPhysicsList.cc

    r1337 r1342  
    2525//
    2626//
    27 // $Id: OlapPhysicsList.cc,v 1.2 2006/06/29 17:23:07 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-04-beta-01 $
     27// $Id: OlapPhysicsList.cc,v 1.3 2010/08/16 08:23:55 kurasige Exp $
     28// GEANT4 tag $Name: examples-V09-03-09 $
    2929//
    3030//
     
    3939
    4040#include "G4ios.hh"             
    41 #include "G4ParticleDefinition.hh"
    42 #include "G4ParticleWithCuts.hh"
    4341#include "G4ProcessManager.hh"
    4442#include "G4ProcessVector.hh"
Note: See TracChangeset for help on using the changeset viewer.