Import Geant4 5.0.0 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $Id: GNUmakefile,v 1.2 2002/06/20 10:01:40 gcosmo Exp $
|
||||
# $Id: GNUmakefile,v 1.3 2002/07/04 16:20:09 gcosmo Exp $
|
||||
# --------------------------------------------------------------
|
||||
# GNUmakefile for tests module. Gabriele Cosmo, 27/06/98.
|
||||
# --------------------------------------------------------------
|
||||
@@ -16,7 +16,7 @@ include $(G4INSTALL)/config/architecture.gmk
|
||||
# To avoid incompatibilities with ANSI standard treatment of strings, the
|
||||
# NIST STEP reader on gcc-2.95.X and later must be compiled in non-ANSI mode.
|
||||
#
|
||||
ifneq (,$(findstring Linux-g++,$(G4SYSTEM)))
|
||||
ifneq (,$(findstring g++,$(G4SYSTEM)))
|
||||
ansi_options = -Wall -ansi -pedantic
|
||||
NCXX = $(filter-out $(ansi_options),$(CXXFLAGS))
|
||||
NCPP = $(CPPFLAGS)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: History,v 1.1 2002/06/20 10:00:53 gcosmo Exp $
|
||||
$Id: History,v 1.3 2002/11/18 13:55:19 gcosmo Exp $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -15,6 +15,14 @@ track of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
November 18, 02 G.Cosmo (cadex-V04-01-01)
|
||||
- Enhanced corrections for VERTEX_POINT, EDGE_LOOP and POLY_LOOP.
|
||||
(courtesy of Daniel Szepielak).
|
||||
|
||||
July 04, 02 G.Cosmo (cadex-V04-01-00)
|
||||
- GNUmakefile: parse 'g++' string in G4SYSTEM to detect non-ISO setup for
|
||||
gcc-2.95 and higher.
|
||||
|
||||
June 27, 98 G.Cosmo
|
||||
- Created.
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: cadex.cc,v 1.1 2002/06/20 10:00:54 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#include "CadDetectorConstruction.hh"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: CadDetectorConstruction.hh,v 1.1 2002/06/20 10:00:54 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#ifndef CadDetectorConstruction_h
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: CadDetectorMessenger.hh,v 1.1 2002/06/20 10:00:54 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#ifndef CadDetectorMessenger_h
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: CadPhysicsList.hh,v 1.1 2002/06/20 10:00:54 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#ifndef CadPhysicsList_h
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: CadPrimaryGeneratorAction.hh,v 1.1 2002/06/20 10:00:54 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#ifndef CadPrimaryGeneratorAction_h
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: CadRunAction.hh,v 1.1 2002/06/20 10:00:55 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#ifndef CadRunAction_h
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: CadVisManager.hh,v 1.1 2002/06/20 10:00:55 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
#ifndef CadVisManager_h
|
||||
|
||||
@@ -15,18 +15,16 @@ foreach (@filebuf)
|
||||
{
|
||||
if(/.*VERTEX\_POINT.*/)
|
||||
{
|
||||
s/VERTEX\_POINT\s*\(\s*\'\s*\'\s*\,/VERTEX\_POINT\(\'\'\,\'\'\,/g ;
|
||||
s/VERTEX\_POINT\s*\(\s*\'NONE\'\s*\,/VERTEX\_POINT\(\'NONE\'\,\'\'\,/g ;
|
||||
($a,$b) = split (",",$&);
|
||||
s//$a\,\'\'\,$b\n/;
|
||||
}
|
||||
elsif(/.*EDGE\_LOOP.*/)
|
||||
{
|
||||
s/EDGE\_LOOP\s*\(\s*\'\s*\'\s*\,/EDGE\_LOOP\(\'\'\,\'\'\,/g;
|
||||
s/EDGE\_LOOP\s*\(\s*\'NONE\'\s*\,/EDGE\_LOOP\(\'NONE\'\,\'\'\,/g;
|
||||
s/EDGE\_LOOP\(\'(\w+)\'\,/EDGE\_LOOP\(\'$1\'\,\'\'\,/;
|
||||
}
|
||||
elsif(/.*POLY\_LOOP.*/)
|
||||
{
|
||||
s/POLY\_LOOP\s*\(\s*\'\s*\'\s*\,/POLY\_LOOP\(\'\'\,\'\'\,/g;
|
||||
s/POLY\_LOOP\s*\(\s*\'NONE\'\s*\,/POLY\_LOOP\(\'NONE\'\,\'\'\,/g;
|
||||
s/POLY\_LOOP\(\'(\w+)\'\,/POLY\_LOOP\(\'$1\'\,\'\'\,/;
|
||||
}
|
||||
elsif(/.*ADVANCED\_FACE.*/)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: CadDetectorConstruction.cc,v 1.1 2002/06/20 10:00:55 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#include "G4AssemblyCreator.hh"
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: CadDetectorMessenger.cc,v 1.1 2002/06/20 10:00:55 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: CadDetectorMessenger.cc,v 1.2 2002/12/05 01:07:00 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#include "CadDetectorConstruction.hh"
|
||||
@@ -43,7 +43,7 @@ CadDetectorMessenger::CadDetectorMessenger(CadDetectorConstruction * myDC)
|
||||
selDetCmd->SetParameterName("choice",true);
|
||||
selDetCmd->SetDefaultValue("rod_place_asm");
|
||||
selDetCmd->SetCandidates("rod_place_asm rod_solid");
|
||||
selDetCmd->AvailableForStates(PreInit,Idle);
|
||||
selDetCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
|
||||
|
||||
switchCmd = new G4UIcmdWithAString("/mydet/SwitchDetector",this);
|
||||
switchCmd->SetGuidance("Assign the selected geometry to G4RunManager.");
|
||||
@@ -52,7 +52,7 @@ CadDetectorMessenger::CadDetectorMessenger(CadDetectorConstruction * myDC)
|
||||
switchCmd->SetParameterName("choice",true);
|
||||
switchCmd->SetDefaultValue(" ");
|
||||
switchCmd->SetCandidates("rod_place_asm rod_solid \" \"");
|
||||
switchCmd->AvailableForStates(PreInit,Idle);
|
||||
switchCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
|
||||
|
||||
myDetector->SelectDetector(defParam="rod_place_asm");
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: CadPhysicsList.cc,v 1.1 2002/06/20 10:00:56 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#include "CadPhysicsList.hh"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: CadPrimaryGeneratorAction.cc,v 1.1 2002/06/20 10:00:56 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#include "CadPrimaryGeneratorAction.hh"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: CadRunAction.cc,v 1.1 2002/06/20 10:00:56 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// ------------------------------------------------------------
|
||||
|
||||
// Make this appear first!
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: CadVisManager.cc,v 1.1 2002/06/20 10:00:56 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-01 $
|
||||
// $Id: CadVisManager.cc,v 1.2 2002/11/26 08:28:07 duns Exp $
|
||||
// GEANT4 tag $Name: geant4-05-00 $
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
@@ -35,6 +35,7 @@
|
||||
#include "G4DAWNFILE.hh"
|
||||
#include "G4GAGTree.hh"
|
||||
#include "G4HepRepFile.hh"
|
||||
#include "G4HepRep.hh"
|
||||
#include "G4RayTracer.hh"
|
||||
|
||||
CadVisManager::CadVisManager () {}
|
||||
@@ -45,6 +46,7 @@ void CadVisManager::RegisterGraphicsSystems ()
|
||||
RegisterGraphicsSystem (new G4DAWNFILE);
|
||||
RegisterGraphicsSystem (new G4GAGTree);
|
||||
RegisterGraphicsSystem (new G4HepRepFile);
|
||||
RegisterGraphicsSystem (new G4HepRep);
|
||||
RegisterGraphicsSystem (new G4RayTracer);
|
||||
|
||||
if (fVerbose > 0)
|
||||
|
||||
Reference in New Issue
Block a user