Import Geant4 1.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:28:20 +02:00
parent aaa409b6ee
commit ca1c8cb059
2995 changed files with 106830 additions and 299600 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.3 1999/05/20 10:13:46 johna Exp $
$Id: History,v 1.4 1999/11/10 16:27:22 johna Exp $
-------------------------------------------------------------------
=========================================================
@@ -18,6 +18,10 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
envs-V00-01-00 10th November 1999 John Allison
- Only OPACS and History tagged.
01-00-02 20th May 1999 John Allison
envs-01-00-02 20th May 1999 John Allison
- Only OPACS and History tagged.
- Archived Momo (cvs remove) which puts it in the Attic. Can be retrieved
+5 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.1 1999/01/07 16:04:49 gunter Exp $
$Id: History,v 1.2 1999/09/15 12:28:18 barrand Exp $
-------------------------------------------------------------------
=========================================================
@@ -18,6 +18,10 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
15 Sep 1999 Guy Barrand
- Modification to compile on Linux-g++ with STL.
envs-00-01-02 15th July 1998 John Allison
- Removed ATLAS files. Retrieve with:
cvs update -r pre-beta01-08 ./app/ATLAS.cc ./usr/ATLAS.odb \
+12 -8
View File
@@ -1,15 +1,19 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: EXPO.cc,v 1.4 1999/05/18 13:27:23 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: EXPO.cc,v 1.5.2.1.2.1 1999/12/07 20:46:48 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
#include <stdlib.h>
// GB : put this include before the GL ones.
// It avoid a clash with STL includes on Linux.
#include "g4rw/tvhdict.h"
/*Geant4*/
#include <G4RunManager.hh>
@@ -17,10 +21,10 @@
#include "EXPO_Templates.hh"
// This :
/*
template class RWTValOrderedVector<MyTrackerHit>;
template class RWTValOrderedVector<MyCalorimeterHit>;
template class RWTValVector<MyTrackerHit>;
template class RWTValVector<MyCalorimeterHit>;
template class G4RWTValOrderedVector<MyTrackerHit>;
template class G4RWTValOrderedVector<MyCalorimeterHit>;
template class G4RWTValVector<MyTrackerHit>;
template class G4RWTValVector<MyCalorimeterHit>;
template class G4Allocator<MyCalorimeterHit>;
template class G4Allocator<MyTrackerHit>;
*/
@@ -195,8 +199,8 @@ int main (
WoProcessEvents ();
WoClearClass ();
delete runManager;
delete state;
delete runManager;
return EXIT_SUCCESS;
}
+3 -3
View File
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: TEST.cc,v 1.2 1999/04/16 10:03:17 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: TEST.cc,v 1.2.6.1 1999/12/07 20:46:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
#include <stdlib.h>
+3 -3
View File
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: EXPO_Detector.icc,v 1.2 1999/04/16 10:03:19 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: EXPO_Detector.icc,v 1.2.6.1 1999/12/07 20:46:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
// See also G4/run/example/MyDetectorConstruction.cc.
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: EXPO_PhysicsList.hh,v 1.3 1999/05/18 10:57:12 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: EXPO_PhysicsList.hh,v 1.3.6.1 1999/12/07 20:46:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//
// ------------------------------------------------------------
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: EXPO_PhysicsList.icc,v 1.3 1999/05/18 10:57:13 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: EXPO_PhysicsList.icc,v 1.3.6.1 1999/12/07 20:46:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//
// ------------------------------------------------------------
+3 -3
View File
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: EXPO_Primary.icc,v 1.2 1999/04/16 10:03:21 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: EXPO_Primary.icc,v 1.2.6.1 1999/12/07 20:46:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
// See also G4/run/example/EXPO_PrimaryGeneratorAction.cc.
+72 -72
View File
@@ -39,83 +39,83 @@
#include "G4UItokenNum.hh"
#include "G4Trajectory.hh"
template class RWTPtrSlistDictionary<RWCString, G4MaterialPropertyVector>;
template class RWTPtrSlistDictionary<RWCString, G4ParticleDefinition>;
template class RWTPtrSlistDictionary<G4String, G4MaterialPropertyVector>;
template class RWTPtrSlistDictionary<G4String, G4ParticleDefinition>;
template class RWTPtrSlistDictionary<int, G4ParticleDefinition>;
template class RWTPtrSlistDictionaryIterator<RWCString, G4MaterialPropertyVector>;
template class RWTPtrSlistDictionaryIterator<RWCString, G4ParticleDefinition>;
template class RWTPtrSlistDictionaryIterator<G4String, G4MaterialPropertyVector>;
template class RWTPtrSlistDictionaryIterator<G4String, G4ParticleDefinition>;
template class RWTPtrSlistDictionaryIterator<int, G4ParticleDefinition>;
template class RWTValSlistDictionary<RWCString, void*>;
template class RWTValSlistDictionary<G4String, void*>;
template class RWTValSlistDictionary<const G4ParticleDefinition*, G4EnergyLossTablesHelper>;
template class RWTValSlistDictionary<unsigned long, int>;
template class RWTValVector<yystype>;
template class G4RWTValVector<yystype>;
template class RWTPtrHashDictionary<RWCString, G4MaterialPropertyVector>;
template class RWTPtrHashDictionary<RWCString, G4ParticleDefinition>;
template class RWTPtrHashDictionary<int, G4ParticleDefinition>;
template class RWTPtrHashDictionaryIterator<RWCString, G4MaterialPropertyVector>;
template class RWTPtrHashDictionaryIterator<RWCString, G4ParticleDefinition>;
template class RWTPtrHashDictionaryIterator<int, G4ParticleDefinition>;
template class RWTPtrOrderedVector<G4Element>;
template class RWTPtrOrderedVector<G4Event>;
template class RWTPtrOrderedVector<G4Isotope>;
template class RWTPtrOrderedVector<G4LogicalVolume>;
template class RWTPtrOrderedVector<G4MPVEntry>;
template class RWTPtrOrderedVector<G4Material>;
template class RWTPtrOrderedVector<G4ParticleDefinition>;
template class RWTPtrOrderedVector<G4PhysicsVector>;
template class RWTPtrOrderedVector<G4ProcTblElement>;
template class RWTPtrOrderedVector<G4ProcessAttribute>;
template class RWTPtrOrderedVector<G4ProcessManager>;
template class RWTPtrOrderedVector<G4SDStructure>;
template class RWTPtrOrderedVector<G4SmartVoxelNode>;
template class RWTPtrOrderedVector<G4SmartVoxelProxy>;
template class RWTPtrOrderedVector<G4Track>;
template class RWTPtrOrderedVector<G4UIcommand>;
template class RWTPtrOrderedVector<G4UIcommandTree>;
template class RWTPtrOrderedVector<G4UImessenger>;
template class RWTPtrOrderedVector<G4UIparameter>;
template class RWTPtrOrderedVector<G4UnitDefinition>;
template class RWTPtrOrderedVector<G4UnitsCategory>;
template class RWTPtrOrderedVector<G4VDecayChannel>;
template class RWTPtrOrderedVector<G4VDigiCollection>;
template class RWTPtrOrderedVector<G4VHitsCollection>;
template class RWTPtrOrderedVector<G4VModel>;
template class RWTPtrOrderedVector<G4VPhysicalVolume>;
template class RWTPtrOrderedVector<G4VProcess>;
template class RWTPtrOrderedVector<G4VSensitiveDetector>;
template class RWTPtrOrderedVector<G4VSolid>;
template class RWTPtrOrderedVector<G4VStateDependent>;
template class RWTPtrOrderedVector<G4VTrajectory>;
template class RWTPtrOrderedVector<G4ValVector>;
template class RWTPtrSortedVector<G4MPVEntry>;
template class RWTPtrSortedVector<G4VDecayChannel>;
template class RWTValHashDictionary<RWCString, void*>;
template class RWTValHashDictionary<const G4ParticleDefinition*, G4EnergyLossTablesHelper>;
template class RWTValHashDictionary<unsigned long, int>;
template class RWTValOrderedVector<G4ApplicationState>;
template class RWTValOrderedVector<Hep3Vector>;
//template class RWTValOrderedVector<HepPlane3D>;
template class RWTValOrderedVector<HepPoint3D>;
template class RWTValOrderedVector<RWCString>;
template class RWTValOrderedVector<double>;
template class RWTValOrderedVector<int (*)(void*)>;
template class RWTValOrderedVector<int>;
template class RWTValOrderedVector<void (*)(void)>;
template class RWTValOrderedVector<void*>;
template class RWTValOrderedVector<yystype>;
template class RWTValVector<G4ApplicationState>;
template class RWTValVector<G4NavigationLevel>;
template class RWTValVector<Hep3Vector>;
//template class RWTValVector<HepPlane3D>;
template class RWTValVector<HepPoint3D>;
template class RWTValVector<RWCString>;
template class RWTValVector<double>;
template class RWTValVector<int (*)(void*)>;
template class RWTValVector<int>;
template class RWTValVector<void (*)(void)>;
template class RWTValVector<void*>;
template class RWTPtrOrderedVector<G4VTrajectoryPoint>;
template class G4RWTPtrHashDictionary<G4String, G4MaterialPropertyVector>;
template class G4RWTPtrHashDictionary<G4String, G4ParticleDefinition>;
template class G4RWTPtrHashDictionary<int, G4ParticleDefinition>;
template class G4RWTPtrHashDictionaryIterator<G4String, G4MaterialPropertyVector>;
template class G4RWTPtrHashDictionaryIterator<G4String, G4ParticleDefinition>;
template class G4RWTPtrHashDictionaryIterator<int, G4ParticleDefinition>;
template class G4RWTPtrOrderedVector<G4Element>;
template class G4RWTPtrOrderedVector<G4Event>;
template class G4RWTPtrOrderedVector<G4Isotope>;
template class G4RWTPtrOrderedVector<G4LogicalVolume>;
template class G4RWTPtrOrderedVector<G4MPVEntry>;
template class G4RWTPtrOrderedVector<G4Material>;
template class G4RWTPtrOrderedVector<G4ParticleDefinition>;
template class G4RWTPtrOrderedVector<G4PhysicsVector>;
template class G4RWTPtrOrderedVector<G4ProcTblElement>;
template class G4RWTPtrOrderedVector<G4ProcessAttribute>;
template class G4RWTPtrOrderedVector<G4ProcessManager>;
template class G4RWTPtrOrderedVector<G4SDStructure>;
template class G4RWTPtrOrderedVector<G4SmartVoxelNode>;
template class G4RWTPtrOrderedVector<G4SmartVoxelProxy>;
template class G4RWTPtrOrderedVector<G4Track>;
template class G4RWTPtrOrderedVector<G4UIcommand>;
template class G4RWTPtrOrderedVector<G4UIcommandTree>;
template class G4RWTPtrOrderedVector<G4UImessenger>;
template class G4RWTPtrOrderedVector<G4UIparameter>;
template class G4RWTPtrOrderedVector<G4UnitDefinition>;
template class G4RWTPtrOrderedVector<G4UnitsCategory>;
template class G4RWTPtrOrderedVector<G4VDecayChannel>;
template class G4RWTPtrOrderedVector<G4VDigiCollection>;
template class G4RWTPtrOrderedVector<G4VHitsCollection>;
template class G4RWTPtrOrderedVector<G4VModel>;
template class G4RWTPtrOrderedVector<G4VPhysicalVolume>;
template class G4RWTPtrOrderedVector<G4VProcess>;
template class G4RWTPtrOrderedVector<G4VSensitiveDetector>;
template class G4RWTPtrOrderedVector<G4VSolid>;
template class G4RWTPtrOrderedVector<G4VStateDependent>;
template class G4RWTPtrOrderedVector<G4VTrajectory>;
template class G4RWTPtrOrderedVector<G4ValVector>;
template class G4RWTPtrSortedVector<G4MPVEntry>;
template class G4RWTPtrSortedVector<G4VDecayChannel>;
template class G4RWTValHashDictionary<G4String, void*>;
template class G4RWTValHashDictionary<const G4ParticleDefinition*, G4EnergyLossTablesHelper>;
template class G4RWTValHashDictionary<unsigned long, int>;
template class G4RWTValOrderedVector<G4ApplicationState>;
template class G4RWTValOrderedVector<Hep3Vector>;
//template class G4RWTValOrderedVector<HepPlane3D>;
template class G4RWTValOrderedVector<HepPoint3D>;
template class G4RWTValOrderedVector<G4String>;
template class G4RWTValOrderedVector<double>;
template class G4RWTValOrderedVector<int (*)(void*)>;
template class G4RWTValOrderedVector<int>;
template class G4RWTValOrderedVector<void (*)(void)>;
template class G4RWTValOrderedVector<void*>;
template class G4RWTValOrderedVector<yystype>;
template class G4RWTValVector<G4ApplicationState>;
template class G4RWTValVector<G4NavigationLevel>;
template class G4RWTValVector<Hep3Vector>;
//template class G4RWTValVector<HepPlane3D>;
template class G4RWTValVector<HepPoint3D>;
template class G4RWTValVector<G4String>;
template class G4RWTValVector<double>;
template class G4RWTValVector<int (*)(void*)>;
template class G4RWTValVector<int>;
template class G4RWTValVector<void (*)(void)>;
template class G4RWTValVector<void*>;
template class G4RWTPtrOrderedVector<G4VTrajectoryPoint>;
//
// G4 :
+3 -3
View File
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: G4o.h,v 1.2 1999/04/16 10:03:22 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4o.h,v 1.2.6.1 1999/12/07 20:46:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
/* +---------------------- Copyright notice -------------------------------+ */
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, (barrand@lal.in2p3.fr) | */
+3 -3
View File
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: G4oCommon.hh,v 1.2 1999/04/16 10:03:23 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4oCommon.hh,v 1.2.6.1 1999/12/07 20:46:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
/*
Included by G4o.h.
+3 -3
View File
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: G4oCommon.icc,v 1.2 1999/04/16 10:03:24 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4oCommon.icc,v 1.2.6.1 1999/12/07 20:46:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
/*
Included by G4o.cc.
+3 -3
View File
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: G4oDrawer.hh,v 1.2 1999/04/16 10:03:25 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4oDrawer.hh,v 1.2.6.1 1999/12/07 20:46:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
/* +---------------------- Copyright notice -------------------------------+ */
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, (barrand@lal.in2p3.fr) | */
+3 -3
View File
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: G4oEXPO.h,v 1.2 1999/04/16 10:03:26 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4oEXPO.h,v 1.2.6.1 1999/12/07 20:46:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
/* +---------------------- Copyright notice -------------------------------+ */
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, (barrand@lal.in2p3.fr) | */
+3 -3
View File
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: G4oScene.hh,v 1.2 1999/04/16 10:03:27 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4oScene.hh,v 1.2.6.1 1999/12/07 20:46:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
/* +---------------------- Copyright notice -------------------------------+ */
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, (barrand@lal.in2p3.fr) | */
+7 -6
View File
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: G4oState.hh,v 1.2 1999/04/16 10:03:28 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4oState.hh,v 1.3.4.1 1999/12/07 20:46:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
#ifndef G4oState_h
#define G4oState_h
@@ -16,9 +16,10 @@
class G4oState : public G4VStateDependent, public G4UIsession {
public:
G4oState (G4String);
G4bool Notify (G4ApplicationState);
void PauseSessionStart (G4String);
G4oState(G4String);
~G4oState();
G4bool Notify(G4ApplicationState);
void PauseSessionStart(G4String);
private:
G4String name;
};
+3 -3
View File
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: WoG4o.h,v 1.2 1999/04/16 10:03:29 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: WoG4o.h,v 1.2.6.1 1999/12/07 20:46:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
/* +---------------------- Copyright notice -------------------------------+ */
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, (barrand@lal.in2p3.fr) | */
+6 -4
View File
@@ -24,8 +24,6 @@ This_macros = \
"libGL = -L${GLOROOT}/${OCONFIG} -lGLo" \
"libGLU = -L${GLOROOT}/${OCONFIG} -lGLUo" \
"libGLX = -L${GLOROOT}/${OCONFIG} -lGLXo" \
"G4_CPPFLAGS = -I${G4INSTALL}/source/global/management/include -I${G4INSTALL}/source/global/HEPRandom/include -I${G4INSTALL}/source/global/HEPGeometry/include -I${G4INSTALL}/source/run/include -I${G4INSTALL}/source/materials/include -I${G4INSTALL}/source/particles/management/include -I${G4INSTALL}/source/particles/bosons/include -I${G4INSTALL}/source/particles/leptons/include -I${G4INSTALL}/source/particles/hadrons/barions/include -I${G4INSTALL}/source/particles/hadrons/ions/include -I${G4INSTALL}/source/particles/hadrons/mesons/include -I${G4INSTALL}/source/processes/management/include -I${G4INSTALL}/source/processes/general/include -I${G4INSTALL}/source/processes/decay/include -I${G4INSTALL}/source/processes/optical/include -I${G4INSTALL}/source/processes/transportation/include -I${G4INSTALL}/source/processes/parameterisation/include -I${G4INSTALL}/source/processes/electromagnetic/standard/include -I${G4INSTALL}/source/processes/electromagnetic/muons/include -I${G4INSTALL}/source/processes/electromagnetic/utils/include -I${G4INSTALL}/source/processes/electromagnetic/xrays/include -I${G4INSTALL}/source/processes/hadronic/management/include -I${G4INSTALL}/source/processes/hadronic/processes/include -I${G4INSTALL}/source/processes/hadronic/util/include -I${G4INSTALL}/source/processes/hadronic/cross_sections/include -I${G4INSTALL}/source/processes/hadronic/models/generator/include -I${G4INSTALL}/source/processes/hadronic/models/high_energy/include -I${G4INSTALL}/source/processes/hadronic/models/low_energy/include -I${G4INSTALL}/source/processes/hadronic/stopping/include -I${G4INSTALL}/source/geometry/management/include -I${G4INSTALL}/source/geometry/solids/CSG/include -I${G4INSTALL}/source/geometry/solids/BREPS/include -I${G4INSTALL}/source/geometry/solids/STEP/include -I${G4INSTALL}/source/geometry/volumes/include -I${G4INSTALL}/source/geometry/magneticfield/include -I${G4INSTALL}/source/track/include -I${G4INSTALL}/source/tracking/include -I${G4INSTALL}/source/digits+hits/detector/include -I${G4INSTALL}/source/digits+hits/hits/include -I${G4INSTALL}/source/digits+hits/digits/include -I${G4INSTALL}/source/readout/include -I${G4INSTALL}/source/event/include -I${G4INSTALL}/source/graphics_reps/include -I${G4INSTALL}/source/persistency/include -I${G4INSTALL}/source/intercoms/include -I${G4INSTALL}/source/visualization/modeling/include" \
"libg4 = -L${G4LIB}/$${G4SYSTEM} -lG4modeling -lG4run -lG4event -lG4tracking -lG4processes -lG4particles -lG4digits+hits -lG4track -lG4materials -lG4geometry -lG4graphics_reps -lG4intercoms -lG4global" \
"Wo_CPPFLAGS = -I${COROOT}/include -I${XXROOT}/include -I${WOROOT}/include" \
"libCo = -L${COROOT}/${OCONFIG} -lCo" \
"libXx = -L${XXROOT}/${OCONFIG} -lXx" \
@@ -38,11 +36,15 @@ This_macros = \
"libHo = -L${HOROOT}/${OCONFIG} -lHo" \
"libGo = -L${GOROOT}/${OCONFIG} -lGo" \
"libwww = -L${W3OROOT}/${OCONFIG} -lW3o" \
"libhtmlw = -L${HTMLOROOT}/${OCONFIG} -lHTMLo"
"libhtmlw = -L${HTMLOROOT}/${OCONFIG} -lHTMLo" \
"G4_CPPFLAGS = -I${G4INSTALL}/source/global/management/include -I${G4INSTALL}/source/global/HEPRandom/include -I${G4INSTALL}/source/global/HEPGeometry/include -I${G4INSTALL}/source/run/include -I${G4INSTALL}/source/materials/include -I${G4INSTALL}/source/particles/management/include -I${G4INSTALL}/source/particles/bosons/include -I${G4INSTALL}/source/particles/leptons/include -I${G4INSTALL}/source/particles/hadrons/barions/include -I${G4INSTALL}/source/particles/hadrons/ions/include -I${G4INSTALL}/source/particles/hadrons/mesons/include -I${G4INSTALL}/source/processes/management/include -I${G4INSTALL}/source/processes/general/include -I${G4INSTALL}/source/processes/decay/include -I${G4INSTALL}/source/processes/optical/include -I${G4INSTALL}/source/processes/transportation/include -I${G4INSTALL}/source/processes/parameterisation/include -I${G4INSTALL}/source/processes/electromagnetic/standard/include -I${G4INSTALL}/source/processes/electromagnetic/muons/include -I${G4INSTALL}/source/processes/electromagnetic/utils/include -I${G4INSTALL}/source/processes/electromagnetic/xrays/include -I${G4INSTALL}/source/processes/hadronic/management/include -I${G4INSTALL}/source/processes/hadronic/processes/include -I${G4INSTALL}/source/processes/hadronic/util/include -I${G4INSTALL}/source/processes/hadronic/cross_sections/include -I${G4INSTALL}/source/processes/hadronic/models/generator/include -I${G4INSTALL}/source/processes/hadronic/models/high_energy/include -I${G4INSTALL}/source/processes/hadronic/models/low_energy/include -I${G4INSTALL}/source/processes/hadronic/stopping/include -I${G4INSTALL}/source/geometry/management/include -I${G4INSTALL}/source/geometry/solids/CSG/include -I${G4INSTALL}/source/geometry/solids/BREPS/include -I${G4INSTALL}/source/geometry/solids/STEP/include -I${G4INSTALL}/source/geometry/volumes/include -I${G4INSTALL}/source/geometry/magneticfield/include -I${G4INSTALL}/source/track/include -I${G4INSTALL}/source/tracking/include -I${G4INSTALL}/source/digits+hits/detector/include -I${G4INSTALL}/source/digits+hits/hits/include -I${G4INSTALL}/source/digits+hits/digits/include -I${G4INSTALL}/source/readout/include -I${G4INSTALL}/source/event/include -I${G4INSTALL}/source/graphics_reps/include -I${G4INSTALL}/source/persistency/include -I${G4INSTALL}/source/intercoms/include -I${G4INSTALL}/source/visualization/modeling/include" \
"libg4 = -L${G4LIB}/$${G4SYSTEM} -lG4modeling -lG4emstandard -lG4decay -lG4UIbasic -lG4muons -lG4ions -lG4mesons -lG4leptons -lG4barions -lG4run -lG4event -lG4bosons -lG4tracking -lG4transportation -lG4detector -lG4emutils -lG4hits -lG4procman -lG4digits -lG4track -lG4UIcommon -lG4partman -lG4volumes -lG4magneticfield -lG4csg -lG4geometrymng -lG4materials -lG4intercoms -lG4graphics_reps -lG4globman"
# With Geant4 global libs use :
#"libg4 = -L${G4LIB}/$${G4SYSTEM} -lG4modeling -lG4run -lG4event -lG4tracking -lG4processes -lG4particles -lG4digits+hits -lG4track -lG4materials -lG4geometry -lG4graphics_reps -lG4intercoms -lG4global"
include Config.mk
This_needed :
@if test "${COROOT}" = "" ; then echo "COROOT not set" ; exit 1 ; else exit 0 ; fi
@if test "${GOROOT}" = "" ; then echo "GOROOT not set"; exit 1 ; else exit 0 ; fi
+7 -15
View File
@@ -12,18 +12,6 @@
# --------------------------
source /lal/OPACS/v3/setup.csh
#
# Geant4 global path :
# ------------------
#setenv G4INSTALL /geant4/dev/geant4
#
# If you have one, execute your Geant4 setup script :
# -------------------------------------------------
# Mainly it should define G4INSTALL, G4SYSTEM, G4LIB, G4WORKDIR
# needed by the mgr/Makefile, Config.mk make files :
#source $G4INSTALL/mgr/setup.csh
#source $G4INSTALL/mgr/setsf.csh
#source $G4INSTALL/mgr/setiv.csh
#
# CLHEP, Rogue Wave path :
# ----------------------
if ( `uname -n` == "aleph" ) then
@@ -38,9 +26,13 @@ setenv RWLIBS "-L${RWROOT}/lib -lrwtool"
endif
if ( `uname -n` == "lx1.lal.in2p3.fr" ) then
setenv CLHEPROOT /lal/CLHEP/1.4/Linux-gxx
setenv RWROOT /lal/rogue/6.1/Linux-gxx
setenv RWFLAGS "-I${RWROOT}"
setenv RWLIBS "-L${RWROOT}/lib -lrwtool"
# With RogueWave :
#setenv RWROOT /lal/rogue/6.1/Linux-gxx
#setenv RWFLAGS "-I${RWROOT}"
#setenv RWLIBS "-L${RWROOT}/lib -lrwtool"
# With STL :
setenv RWFLAGS "-I$G4INSTALL/source/global/STLInterface"
setenv RWLIBS ""
endif
if ( `uname -n` == "papou1" ) then
setenv G4WORKDIR /geant4/dev
+7 -3
View File
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: G4o.cc,v 1.3 1999/05/18 10:56:53 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4o.cc,v 1.4.2.1.2.1 1999/12/07 20:46:52 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
/*
#define DEBUG
@@ -15,6 +15,10 @@
#include <stdio.h>
#include <string.h>
// GB : put this include before the GL ones.
// It avoid a clash with STL includes on Linux.
#include "g4rw/tvhdict.h"
// Geant4 :
#include <G4VPhysicalVolume.hh>
#include <G4LogicalVolume.hh>
+7 -3
View File
@@ -1,18 +1,22 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: G4oDrawer.cc,v 1.2 1999/04/16 10:03:36 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4oDrawer.cc,v 1.3.2.1.2.1 1999/12/07 20:46:52 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
/*
From geant4/visualization/management/src/G4VisManager.cc.
*/
#include <stddef.h>
// GB : put this include before the GL ones.
// It avoid a clash with STL includes on Linux.
#include "g4rw/tvhdict.h"
#include <G4oDrawer.hh>
/*G4*/
+7 -3
View File
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: G4oScene.cc,v 1.2 1999/04/16 10:03:38 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4oScene.cc,v 1.3.2.1.2.1 1999/12/07 20:46:52 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
/* +---------------------- Copyright notice -------------------------------+ */
/* | Copyright (C) 1995, Guy Barrand, LAL Orsay, (barrand@lal.in2p3.fr) | */
@@ -25,6 +25,10 @@
#include <stdio.h>
#endif
// GB : put this include before the GL ones.
// It avoid a clash with STL includes on Linux.
#include "g4rw/tvhdict.h"
/*Co*/
#include <CPrinter.h>
#include <CString.h>
+34 -17
View File
@@ -1,16 +1,18 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: G4oState.cc,v 1.2 1999/04/16 10:03:39 barrand Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4oState.cc,v 1.3.2.1.2.1 1999/12/07 20:46:52 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//#define DEBUG
//#include "G4ios.hh"
// GB : put this include before the GL ones.
// It avoid a clash with STL includes on Linux.
#include "g4rw/tvhdict.h"
//G4
#include <globals.hh>
@@ -35,27 +37,42 @@ G4oState::G4oState(
G4UImanager::GetUIpointer()->SetSession(this); //So that Pause works..
}
/***************************************************************************/
G4oState::~G4oState(
)
/***************************************************************************/
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
{
}
/***************************************************************************/
G4bool G4oState::Notify (
G4ApplicationState requestedState
)
/***************************************************************************/
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
{
G4StateManager* statM = G4StateManager::GetStateManager();
G4StateManager* statM = G4StateManager::GetStateManager();
G4ApplicationState previousState = statM->GetPreviousState();
if(previousState==Idle && requestedState==GeomClosed) { //beginOfRun
G4String string = "RunBegin.osh";
OShellExecuteFile (G4oGetShell(),(char*)(name + string).data());
} else if(previousState==GeomClosed && requestedState==Idle) { //endOfRun
G4String string = "RunEnd.osh";
OShellExecuteFile (G4oGetShell(),(char*)(name + string).data());
} else if(previousState==GeomClosed && requestedState==EventProc) { //beginOfEvent
G4String string = "EventBegin.osh";
OShellExecuteFile (G4oGetShell(),(char*)(name + string).data());
} else if(previousState==EventProc && requestedState==GeomClosed) { // EndOfEvent
G4String string = "EventEnd.osh";
OShellExecuteFile (G4oGetShell(),(char*)(name + string).data());
if(previousState==Idle && requestedState==GeomClosed) {
//beginOfRun
G4String string = name;
string += "RunBegin.osh";
OShellExecuteFile (G4oGetShell(),(char*)string.data());
} else if(previousState==GeomClosed && requestedState==Idle) {
//endOfRun
G4String string = name;
string += "RunEnd.osh";
OShellExecuteFile (G4oGetShell(),(char*)string.data());
} else if(previousState==GeomClosed && requestedState==EventProc) {
//beginOfEvent
G4String string = name;
string += "EventBegin.osh";
OShellExecuteFile (G4oGetShell(),(char*)string.data());
} else if(previousState==EventProc && requestedState==GeomClosed) {
// EndOfEvent
G4String string = name;
string += "EventEnd.osh";
OShellExecuteFile (G4oGetShell(),(char*)string.data());
}
return true;