Import Geant4 7.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 12:11:21 +02:00
parent 516dbf1a58
commit d93e1e39a9
5384 changed files with 125662 additions and 82444 deletions
+8 -1
View File
@@ -1,5 +1,5 @@
-------------------------------------------------------------------
$Id: History,v 1.6 2004/12/02 10:58:10 ribon Exp $
$Id: History,v 1.8 2005/05/30 09:01:05 ribon Exp $
-------------------------------------------------------------------
=========================================================
@@ -9,6 +9,13 @@ $Id: History,v 1.6 2004/12/02 10:58:10 ribon Exp $
Category History file
---------------------
30.03.2005 - A.Ribon (Rich-V07-00-01)
Replaced <iostream.h> with <iostream> and
cout with G4cout .
3rd May 2005 John Allison (examples-V07-00-03)
- Replaced vis manager with G4VisExecutive.
02.12.2004 - A.Ribon (Rich-V06-02-02)
Interface change to the class G4VParticleChange.
+5 -5
View File
@@ -25,7 +25,7 @@
// Created: Sajan Easo (Sajan.Easo@cern.ch)
// Revision and changes: Patricia Mendez (Patricia.Mendez@cern.ch)
// ----------------------------------------------------------------
#include <iostream.h>
#include <iostream>
#include "RichTbRunAction.hh"
#include "RichTbEventAction.hh"
#include "RichTbDetectorConstruction.hh"
@@ -45,7 +45,7 @@
#endif
#include "Randomize.hh"
#ifdef G4VIS_USE
#include "RichTbVisManager.hh"
#include "G4VisExecutive.hh"
#endif
#include "G4ios.hh"
@@ -82,13 +82,13 @@ int main(int argc,char** argv) {
// UserAction classes - optional
RichTbVisManager* visManager = new RichTbVisManager();
G4VisManager* visManager = new G4VisExecutive();
visManager->SetVerboseLevel(0);
visManager->Initialize();
G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
cout<<" PVVisManager "<<pVVisManager<<endl;
cout<<"VisManager "<<visManager<<endl;
G4cout<<" PVVisManager "<<pVVisManager<<G4endl;
G4cout<<"VisManager "<<visManager<<G4endl;
runManager->SetUserAction(new RichTbRunAction);
@@ -34,7 +34,7 @@
#include "RichTbAnalysisManager.hh"
class G4Event;
class RichTbVisManager;
class G4VVisManager;
class RichTbAnalysisManager;
class RichTbIOData;
@@ -44,7 +44,7 @@ class RichTbEventAction : public G4UserEventAction {
RichTbEventAction();
RichTbEventAction(RichTbRunConfig* ,
RichTbVisManager* , RichTbIOData* );
G4VVisManager* , RichTbIOData* );
virtual ~RichTbEventAction();
public:
void BeginOfEventAction(const G4Event* );
@@ -52,13 +52,13 @@ public:
G4int GetRichCollID() {return RichTbCollID;};
RichTbAnalysisManager* getAnalysisM()
{return ranalysisManager; }
RichTbVisManager* getVisM()
G4VVisManager* getVisM()
{return pVisManager; }
private:
RichTbRunConfig* runConfiguration;
G4int RichTbCollID;
RichTbAnalysisManager* ranalysisManager;
RichTbVisManager* pVisManager;
G4VVisManager* pVisManager;
RichTbIOData* rTbIOData;
};
@@ -31,7 +31,7 @@
#include "globals.hh"
#include "AerogelTypeSpec.hh"
#include <math.h>
#include <cmath>
extern void InitializeRichTbGeometry();
extern G4double GetCurAerogelLength(G4int);
//
+2 -2
View File
@@ -34,7 +34,7 @@
#include "G4ThreeVector.hh"
#include "G4Transform3D.hh"
class RichTbVisManager;
class G4VVisManager;
class RichTbHit : public G4VHit
{
public:
@@ -50,7 +50,7 @@ class RichTbHit : public G4VHit
inline void operator delete(void *aHit);
void Draw();
void DrawWithVisM(RichTbVisManager*);
void DrawWithVisM(G4VVisManager*);
void Print();
private:
@@ -35,7 +35,7 @@
#include "FilterTypeSpec.hh"
#include "AerogelRefData.hh"
#include "FilterTrData.hh"
#include <math.h>
#include <cmath>
#include <fstream>
class RichTbRunConfig{
public:
@@ -1,53 +0,0 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Rich advanced example for Geant4
// RichTbVisManager.hh for Rich of LHCb
// History:
// Created: Sajan Easo (Sajan.Easo@cern.ch)
// Revision and changes: Patricia Mendez (Patricia.Mendez@cern.ch)
/////////////////////////////////////////////////////////////////////////////
#ifndef RichTbVisManager_h
#define RichTbVisManager_h 1
#ifdef G4VIS_USE
#include "G4VisManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
class RichTbVisManager: public G4VisManager {
public:
RichTbVisManager ();
virtual ~RichTbVisManager();
private:
void RegisterGraphicsSystems ();
};
#endif
#endif
@@ -27,7 +27,7 @@
// Revision: Patricia Mendez (Patricia.Mendez@cern.ch)
/////////////////////////////////////////////////////////////////////////////
#include "globals.hh"
#include <math.h>
#include <cmath>
#include "PadHpdPhotoElectricEffect.hh"
#include "RichTbGeometryParameters.hh"
@@ -35,7 +35,6 @@
#include "G4VHitsCollection.hh"
#include "G4SDManager.hh"
#include "G4VVisManager.hh"
#include "RichTbVisManager.hh"
#include "G4UImanager.hh"
#include "G4ios.hh"
#include "RichTbSD.hh"
@@ -50,7 +49,7 @@ RichTbEventAction::RichTbEventAction()
}
RichTbEventAction::RichTbEventAction(RichTbRunConfig* RConfig,
RichTbVisManager* RVisManager, RichTbIOData* RIOData)
G4VVisManager* RVisManager, RichTbIOData* RIOData)
{
RichTbCollID = -1;
runConfiguration=RConfig;
+3 -3
View File
@@ -33,7 +33,6 @@
#include "G4VisAttributes.hh"
#include "G4Transform3D.hh"
#include "G4LogicalVolume.hh"
#include "RichTbVisManager.hh"
#include "G4Transform3D.hh"
G4Allocator<RichTbHit> RichTbHitAllocator;
@@ -76,6 +75,7 @@ void RichTbHit::Draw()
{
// The folowing does not work anymore .. SE 26-04-01
// Do not understand ................... John Allison 3/5/05
G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance();
if(pVVisManager)
{
@@ -91,10 +91,10 @@ void RichTbHit::Draw()
pVVisManager->Draw(circle,dummy);
}
}
void RichTbHit::DrawWithVisM(RichTbVisManager* pVisManager)
void RichTbHit::DrawWithVisM(G4VVisManager* pVisManager)
{
G4VisManager* pVVisManager = pVisManager;
G4VVisManager* pVVisManager = pVisManager;
if(pVVisManager)
{
G4Transform3D dummy2;
+1 -1
View File
@@ -27,7 +27,7 @@
// Revision and changes: Patricia Mendez (Patricia.Mendez@cern.ch)
/////////////////////////////////////////////////////////////////////////////
#include <iostream>
#include <math.h>
#include <cmath>
#include "globals.hh"
#include "RichTbMaterial.hh"
#include "G4Isotope.hh"
@@ -1,142 +0,0 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
// Rich advanced example for Geant4
// RichTbVisManager.cc for Rich of LHCb
// History:
// Created: Sajan Easo (Sajan.Easo@cern.ch)
// Revision and changes: Patricia Mendez (Patricia.Mendez@cern.ch)
/////////////////////////////////////////////////////////////////////////////
#ifdef G4VIS_USE
#include "RichTbVisManager.hh"
// Supported drivers...
// Not needing external packages or libraries...
#include "G4ASCIITree.hh"
#include "G4DAWNFILE.hh"
#include "G4GAGTree.hh"
#include "G4HepRepFile.hh"
#include "G4HepRep.hh"
#include "G4RayTracer.hh"
#include "G4VRML1File.hh"
#include "G4VRML2File.hh"
// Needing external packages or libraries...
#ifdef G4VIS_USE_DAWN
#include "G4FukuiRenderer.hh"
#endif
#ifdef G4VIS_USE_OPENGLX
#include "G4OpenGLImmediateX.hh"
#include "G4OpenGLStoredX.hh"
#endif
#ifdef G4VIS_USE_OPENGLWIN32
#include "G4OpenGLImmediateWin32.hh"
#include "G4OpenGLStoredWin32.hh"
#endif
#ifdef G4VIS_USE_OPENGLXM
#include "G4OpenGLImmediateXm.hh"
#include "G4OpenGLStoredXm.hh"
#endif
#ifdef G4VIS_USE_OIX
#include "G4OpenInventorX.hh"
#endif
#ifdef G4VIS_USE_OIWIN32
#include "G4OpenInventorWin32.hh"
#endif
#ifdef G4VIS_USE_VRML
#include "G4VRML1.hh"
#include "G4VRML2.hh"
#endif
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
RichTbVisManager::RichTbVisManager () { ; }
RichTbVisManager::~RichTbVisManager () {;}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
void RichTbVisManager::RegisterGraphicsSystems () {
// Graphics Systems not needing external packages or libraries...
RegisterGraphicsSystem (new G4ASCIITree);
RegisterGraphicsSystem (new G4DAWNFILE);
RegisterGraphicsSystem (new G4GAGTree);
RegisterGraphicsSystem (new G4HepRepFile);
RegisterGraphicsSystem (new G4HepRep);
RegisterGraphicsSystem (new G4RayTracer);
RegisterGraphicsSystem (new G4VRML1File);
RegisterGraphicsSystem (new G4VRML2File);
// Graphics systems needing external packages or libraries...
#ifdef G4VIS_USE_DAWN
RegisterGraphicsSystem (new G4FukuiRenderer);
#endif
#ifdef G4VIS_USE_OPENGLX
RegisterGraphicsSystem (new G4OpenGLImmediateX);
RegisterGraphicsSystem (new G4OpenGLStoredX);
#endif
#ifdef G4VIS_USE_OPENGLWIN32
RegisterGraphicsSystem (new G4OpenGLImmediateWin32);
RegisterGraphicsSystem (new G4OpenGLStoredWin32);
#endif
#ifdef G4VIS_USE_OPENGLXM
RegisterGraphicsSystem (new G4OpenGLImmediateXm);
RegisterGraphicsSystem (new G4OpenGLStoredXm);
#endif
#ifdef G4VIS_USE_OIX
RegisterGraphicsSystem (new G4OpenInventorX);
#endif
#ifdef G4VIS_USE_OIWIN32
RegisterGraphicsSystem (new G4OpenInventorWin32);
#endif
#ifdef G4VIS_USE_VRML
RegisterGraphicsSystem (new G4VRML1);
RegisterGraphicsSystem (new G4VRML2);
#endif
if (fVerbose > 0) {
G4cout <<
"\nYou have successfully chosen to use the following graphics systems."
<< G4endl;
PrintAvailableGraphicsSystems ();
}
}
#endif
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
+1 -1
View File
@@ -1,6 +1,6 @@
# $Id: GNUmakefile,v 1.7 2004/12/08 15:37:13 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-03 $
# GEANT4 tag $Name: geant4-07-01 $
# --------------------------------------------------------------
+8 -2
View File
@@ -1,6 +1,6 @@
# $Id: History,v 1.24 2004/12/14 13:12:55 daquinog Exp $
# $Id: History,v 1.27 2005/05/03 10:05:48 allison Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-05 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
=========================================================
@@ -19,6 +19,12 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
3rd May 2005 John Allison (examples-V07-00-03)
- Replaced vis manager with G4VisExecutive.
March 17th, 2005 G.Daquino - Tiara-V07-00-00
- migration of Tiara (working with PI) from rh73 to slc3
Dec 14th, 2004 G.Daquino - Tiara-V06-02-02
- update of GNUmakefiles to the new phys_lists structure
+5 -5
View File
@@ -1,6 +1,6 @@
# $Id: README,v 1.20 2004/12/08 15:37:13 daquinog Exp $
# $Id: README,v 1.21 2005/03/17 19:48:27 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-03 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
Simulation of the TIARA experiment using importance sampling
@@ -79,10 +79,10 @@ in the three cases:
Note 1: python must be built against a "libc".
You may do this by creating a shared library by a command
similar to this
"ld -shared -o libpython2.2.so --whole-archive libpython2.2.a /usr/lib/libc.so"
"ld -shared -o libpython2.3.so --whole-archive libpython2.3.a /usr/lib/libc.so"
Set the following environment variables:
"PYTHONVERSION" (2.2 or higher)
"PYTHONVERSION" (2.3 or higher)
"PYTHON_BASE_DIR" (e.g. to /usr)
"SWIG_VERSION" (e.g. 1.3 or higher)
"SWIG_BASE_DIR" (e.g. /usr)
@@ -142,7 +142,7 @@ This file can be used to access results of the simulation.
In case the example was build using analysis
results may be viewed e.g. using python or ROOT:
1) Start python2.2
1) Start python
2) type: import dataAcess
3) type: p = dataAcess.ExpMcPlot (shelveFileName,detectorposition)
where "shelveFileName" is the name (enclosed in quotes) of the
+16 -15
View File
@@ -1,6 +1,6 @@
# $Id: envCommon.csh,v 1.12 2004/12/08 17:25:34 daquinog Exp $
# $Id: envCommon.csh,v 1.13 2005/03/17 19:48:27 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-03 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
# Before sourcing this script make sure you have set the
# environment variables according to the description in README.
@@ -10,25 +10,26 @@
if (${?PI_BASE_DIR} == 1 && ${?SWIG_BASE_DIR} == 1) then
setenv PI_VERSION 1_2_1
setenv PI_VER 1.2.1
setenv PI_ARCH rh73_gcc32
setenv PATH ${PATH}:${PI_BASE_DIR}/${PI_VER}/app/releases/PI/PI_${PI_VER}/${PI_ARCH}/bin
setenv PATH ${PI_BASE_DIR}/Linux-g++/bin:$PATH
setenv PI_VERSION 1_3_0
setenv PI_VER 1.3.0
setenv PI_ARCH slc3_ia32_gcc323
setenv PYTHONVERSION 2.3
setenv PI_DIR ${PI_BASE_DIR}/${PI_VER}/app/releases/PI/PI_${PI_VERSION}/${PI_ARCH}
setenv PATH ${PATH}:${PI_DIR}/bin
setenv PATH ${PI_BASE_DIR}/${PI_VER}/external/Python/${PYTHONVERSION}.4/${PI_ARCH}/bin:$PATH
eval `aida-config -r csh`
#
# python from PI
#
setenv PYTHONVERSION 2.2
setenv PYTHON_INCLUDE_DIR ${PI_BASE_DIR}/${PI_VER}/external/Python/2.2.2/${PI_ARCH}/include/python${PYTHONVERSION}
setenv PYTHON_LIB_DIR ${PI_BASE_DIR}/${PI_VER}/external/Python/2.2.2/${PI_ARCH}/lib/python${PYTHONVERSION}/config
setenv PYTHON_INCLUDE_DIR ${PI_BASE_DIR}/${PI_VER}/external/Python/${PYTHONVERSION}.4/${PI_ARCH}/include/python${PYTHONVERSION}
setenv PYTHON_LIB_DIR ${PI_BASE_DIR}/${PI_VER}/external/Python/${PYTHONVERSION}.4/${PI_ARCH}/lib/python${PYTHONVERSION}/config
#
# python for PI
if (${?PYTHONPATH} == 0) then
setenv PYTHONPATH
endif
setenv PYTHONPATH ${PI_BASE_DIR}/Linux-g++/python:$PYTHONPATH
setenv PYTHONPATH ${PI_BASE_DIR}/${PI_VER}/app/releases/SEAL/SEAL_1_3_4/rh73_gcc32/lib:$PYTHONPATH
setenv PYTHONPATH ${PI_DIR}/python:$PYTHONPATH
setenv PYTHONPATH ${PI_BASE_DIR}/${PI_VER}/app/releases/SEAL/SEAL_1_6_0/${PI_ARCH}/python:$PYTHONPATH
#
# setup the swig command
#
@@ -84,9 +85,9 @@ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${G4WORKDIR}/tmp/${G4SYSTEM}/CLHEPWrap
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${G4WORKDIR}/tmp/${G4SYSTEM}/tiara
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${G4WORKDIR}/lib/${G4SYSTEM}
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${PYTHON_LIB_DIR}
setenv LD_LIBRARY_PATH ${PI_BASE_DIR}/${PI_VER}/app/releases/SEAL/SEAL_1_3_4/rh73_gcc32/lib:$LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH /afs/cern.ch/sw/lcg/external/Python/2.2.2/rh73_gcc32/lib:$LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH ${PI_BASE_DIR}/${PI_VER}/external/Boost/1.30.2/rh73_gcc32/lib:$LD_LIBRARY_PATH
#setenv LD_LIBRARY_PATH ${PI_BASE_DIR}/${PI_VER}/app/releases/SEAL/SEAL_1_3_4/rh73_gcc32/lib:$LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH ${PI_BASE_DIR}/${PI_VER}/external/Python/${PYTHONVERSION}.4/${PI_ARCH}/lib:${LD_LIBRARY_PATH}
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${PI_BASE_DIR}/${PI_VER}/external/Boost/1.31.0/${PI_ARCH}/lib
setenv TIARA_BASE `pwd`
setenv TIARASCRIPTS ${TIARA_BASE}/source/py_modules
if (${?PYTHONPATH} == 0) then
+3 -3
View File
@@ -1,8 +1,8 @@
#!/usr/bin/env python2.2
#!/usr/bin/env python
#
# $Id: runSim.py,v 1.10 2004/12/08 17:25:34 daquinog Exp $
# $Id: runSim.py,v 1.11 2005/03/17 19:48:27 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-03 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
# importing python libraries
@@ -1,8 +1,8 @@
#!/usr/bin/env python2.2
#!/usr/bin/env python
#
# $Id: runSimNoAnalysis.py,v 1.5 2004/12/08 15:37:14 daquinog Exp $
# $Id: runSimNoAnalysis.py,v 1.6 2005/03/17 19:48:27 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-03 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
+3 -3
View File
@@ -1,8 +1,8 @@
#!/usr/bin/env python2.2
#!/usr/bin/env python
#
# $Id: runVisMode.py,v 1.4 2004/06/09 15:04:35 daquinog Exp $
# $Id: runVisMode.py,v 1.5 2005/03/17 19:48:27 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
+1 -1
View File
@@ -1,6 +1,6 @@
# $Id: vis.mac,v 1.2 2003/06/16 17:06:44 dressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
@@ -1,6 +1,6 @@
# $Id: CLHEP.i,v 1.4 2004/12/08 15:37:14 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-03 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
@@ -1,6 +1,6 @@
# $Id: G4String.i,v 1.1 2003/06/17 15:25:01 mdressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
// coppied from std_string.i
@@ -1,6 +1,6 @@
# $Id: G4Kernel.i,v 1.5 2003/06/20 12:41:06 dressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
%module G4Kernel
@@ -1,6 +1,6 @@
# $Id: Tiara.i,v 1.8 2004/12/08 15:37:14 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-03 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
%module Tiara
@@ -1,6 +1,6 @@
# $Id: dataAcess.py,v 1.3 2003/06/26 11:54:13 dressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
import os
@@ -1,6 +1,6 @@
# $Id: detector.py,v 1.3 2003/06/26 11:54:13 dressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
@@ -1,6 +1,6 @@
# $Id: dpsManip.py,v 1.2 2003/06/16 17:06:44 dressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
import math
@@ -1,6 +1,6 @@
# $Id: extractShelve.py,v 1.3 2003/07/04 13:26:31 dressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
import string
@@ -1,6 +1,6 @@
# $Id: myPI.py,v 1.1 2004/06/09 15:04:36 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
import sys
@@ -1,6 +1,6 @@
# $Id: myUtils.py,v 1.6 2004/12/08 15:37:14 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-03 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
import CLHEP
@@ -1,6 +1,6 @@
# $Id: parallelHall.py,v 1.4 2003/06/20 12:41:06 dressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
import G4Kernel
@@ -1,6 +1,6 @@
# $Id: posLog.py,v 1.2 2003/06/16 17:06:44 dressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
@@ -1,6 +1,6 @@
# $Id: runSequence.py,v 1.4 2004/06/09 15:04:36 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
import Tiara
@@ -1,6 +1,6 @@
# $Id: slabGeometry.py,v 1.3 2003/06/20 12:41:07 dressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
import math
@@ -1,6 +1,6 @@
# $Id: tallyData.py,v 1.2 2003/06/16 17:06:44 dressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
@@ -1,6 +1,6 @@
# $Id: tiaraApplication.py,v 1.5 2004/12/08 15:37:14 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-03 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
import string
@@ -1,6 +1,6 @@
# $Id: tiaraDetectors.py,v 1.4 2004/06/09 15:04:36 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
import CLHEP
@@ -1,6 +1,6 @@
# $Id: tiaraGenerators.py,v 1.3 2004/06/09 15:04:36 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
import string
@@ -1,6 +1,6 @@
# $Id: tiaraSpecifications.py,v 1.3 2003/06/20 12:41:07 dressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
import CLHEP
@@ -1,6 +1,6 @@
# $Id: variableGeometry.py,v 1.2 2003/06/16 17:06:45 dressel Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-00-cand-01 $
# GEANT4 tag $Name: geant4-07-01 $
# -------------------------------------------------------------------
#
import G4Kernel
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraCellScorer.hh,v 1.3 2003/06/18 16:40:23 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
// Class TiaraCellScorer
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraCellScorerStore.hh,v 1.2 2003/06/18 16:40:23 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
// Class TiaraCellScorerStore
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraConcreteShieldA.hh,v 1.3 2003/06/25 09:12:35 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraConcreteShieldB.hh,v 1.3 2003/06/25 09:12:36 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraDPSSampledEnergy.hh,v 1.6 2004/06/09 15:04:37 daquinog Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraDimensions.hh,v 1.3 2003/06/25 09:12:38 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraEnergyCutProcess.hh,v 1.3 2003/06/25 09:12:39 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraFileAcess.hh,v 1.3 2003/06/25 09:12:40 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraFixedEnergyGenerator.hh,v 1.3 2003/06/25 09:12:41 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraGeometry.hh,v 1.4 2003/06/25 09:12:42 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraIronShieldA.hh,v 1.3 2003/06/25 09:12:43 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraIronShieldB.hh,v 1.3 2003/06/25 09:12:44 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraIsotropicDirections.hh,v 1.3 2003/06/25 09:12:45 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraMaterials.hh,v 1.4 2003/06/25 09:12:46 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraMeasure.hh,v 1.3 2003/06/25 09:12:47 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraPart.hh,v 1.3 2003/06/25 09:12:48 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraPhysicsList.hh,v 1.1.1.1 2003/06/12 13:08:24 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
// Class TiaraPhysicsList
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraPrimaryGeneratorAction.hh,v 1.1.1.1 2003/06/12 13:08:24 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#ifndef TiaraPrimaryGeneratorAction_hh
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraRandom.hh,v 1.3 2003/06/25 09:12:49 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraSampledEnergy.hh,v 1.4 2003/06/25 09:12:50 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraSim.hh,v 1.4 2003/06/25 09:12:51 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraTally.hh,v 1.4 2003/06/25 09:12:52 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraTimedEventAction.hh,v 1.1.1.1 2003/06/12 13:08:24 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
// Class TiaraTimedEventAction
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraVComponent.hh,v 1.4 2003/06/25 09:12:53 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraVDirectionGenerator.hh,v 1.3 2003/06/25 09:12:54 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraVSourceEnergyGenerator.hh,v 1.3 2003/06/25 09:12:55 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
//
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraVisEventAction.hh,v 1.1.1.1 2003/06/12 13:08:25 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
// Class TiaraVisEventAction
@@ -1,72 +0,0 @@
//
// ********************************************************************
// * 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: TiaraVisManager.hh,v 1.1.1.1 2003/06/12 13:08:25 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
// Example Visualization Manager implementing virtual function
// RegisterGraphicsSystems. Exploits C-pre-processor variables
// G4VIS_USE_DAWN, etc., which are set by the GNUmakefiles if
// environment variables of the same name are set.
// So all you have to do is set environment variables and compile and
// instantiate this in your main().
// Alternatively, you can implement an empty function here and just
// register the systems you want in your main(), e.g.:
// G4VisManager* myVisManager = new MyVisManager;
// myVisManager -> RegisterGraphicsSystem (new MyGraphicsSystem);
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef TiaraVisManager_h
#define TiaraVisManager_h 1
#ifdef G4VIS_USE
#include "G4VisManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class TiaraVisManager: public G4VisManager {
public:
TiaraVisManager ();
private:
void RegisterGraphicsSystems ();
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif
#endif
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraVisRunAction.hh,v 1.1.1.1 2003/06/12 13:08:25 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
// Class TiaraVisRunAction
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraCellScorer.cc,v 1.4 2004/06/09 15:04:37 daquinog Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraCellScorerStore.cc,v 1.1.1.1 2003/06/12 13:08:25 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraConcreteShieldA.cc,v 1.3 2003/06/25 09:12:56 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraConcreteShieldA.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraConcreteShieldB.cc,v 1.3 2003/06/25 09:12:57 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraConcreteShieldB.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraDPSSampledEnergy.cc,v 1.8 2004/06/09 15:04:37 daquinog Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraDPSSampledEnergy.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraDimensions.cc,v 1.3 2003/06/25 09:12:59 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraDimensions.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraEnergyCutProcess.cc,v 1.5 2004/12/08 15:37:15 daquinog Exp $
// GEANT4 tag $Name: geant4-07-00-cand-03 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraEnergyCutProcess.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraFileAcess.cc,v 1.3 2003/06/25 09:13:01 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraFileAcess.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraFixedEnergyGenerator.cc,v 1.3 2003/06/25 09:13:02 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraFixedEnergyGenerator.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraGeometry.cc,v 1.4 2004/12/08 17:25:34 daquinog Exp $
// GEANT4 tag $Name: geant4-07-00-cand-03 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraGeometry.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraIronShieldA.cc,v 1.3 2003/06/25 09:13:04 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraIronShieldA.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraIronShieldB.cc,v 1.3 2003/06/25 09:13:05 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraIronShieldB.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraIsotropicDirections.cc,v 1.4 2003/12/04 11:08:48 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraIsotropicDirections.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraMaterials.cc,v 1.4 2003/06/25 09:13:07 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraMaterials.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraMeasure.cc,v 1.3 2003/06/25 09:13:09 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraMeasure.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraPhysicsList.cc,v 1.5 2004/12/08 15:37:15 daquinog Exp $
// GEANT4 tag $Name: geant4-07-00-cand-03 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "globals.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraPrimaryGeneratorAction.cc,v 1.3 2003/12/09 08:48:05 daquinog Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "globals.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraRandom.cc,v 1.3 2003/06/25 09:13:10 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraRandom.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraSampledEnergy.cc,v 1.4 2003/06/25 09:13:11 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraSampledEnergy.hh"
@@ -20,8 +20,8 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: TiaraSim.cc,v 1.6 2004/12/08 15:37:15 daquinog Exp $
// GEANT4 tag $Name: geant4-07-00-cand-03 $
// $Id: TiaraSim.cc,v 1.7 2005/05/03 10:21:17 allison Exp $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraSim.hh"
@@ -37,7 +37,7 @@
#include "G4VUserDetectorConstruction.hh"
#include "TiaraPrimaryGeneratorAction.hh"
#include "TiaraVisManager.hh"
#include "G4VisExecutive.hh"
#include "G4UItcsh.hh"
#include "TiaraVisEventAction.hh"
#include "TiaraVisRunAction.hh"
@@ -108,7 +108,7 @@ void TiaraSim::AddParticleCut(const std::string &particle,
}
void TiaraSim::AddVisRunAction() {
fVisManager = new TiaraVisManager;
fVisManager = new G4VisExecutive;
frunMgr->SetUserAction(new TiaraVisRunAction);
}
void TiaraSim::initializeVisManager() {
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraStackingAction.cc,v 1.4 2003/06/25 09:13:13 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraStackingAction.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraTally.cc,v 1.4 2003/11/07 12:39:11 vnivanch Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraTally.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraTimedEventAction.cc,v 1.2 2003/06/13 16:05:33 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
//
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraVComponent.cc,v 1.3 2003/06/25 09:13:15 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraVComponent.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraVDirectionGenerator.cc,v 1.3 2003/06/25 09:13:16 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraVDirectionGenerator.hh"
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: TiaraVSourceEnergyGenerator.cc,v 1.3 2003/06/25 09:13:17 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
#include "TiaraVSourceEnergyGenerator.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraVisEventAction.cc,v 1.3 2003/06/18 16:40:32 gunter Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
//
@@ -1,145 +0,0 @@
//
// ********************************************************************
// * 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: TiaraVisManager.cc,v 1.2 2003/11/13 15:10:04 johna Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// John Allison 24th January 1998.
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifdef G4VIS_USE
#include "TiaraVisManager.hh"
// Supported drivers...
// Not needing external packages or libraries...
#include "G4ASCIITree.hh"
#include "G4DAWNFILE.hh"
#include "G4GAGTree.hh"
#include "G4HepRepFile.hh"
#include "G4HepRep.hh"
#include "G4RayTracer.hh"
#include "G4VRML1File.hh"
#include "G4VRML2File.hh"
// Needing external packages or libraries...
#ifdef G4VIS_USE_DAWN
#include "G4FukuiRenderer.hh"
#endif
#ifdef G4VIS_USE_OPENGLX
#include "G4OpenGLImmediateX.hh"
#include "G4OpenGLStoredX.hh"
#endif
#ifdef G4VIS_USE_OPENGLWIN32
#include "G4OpenGLImmediateWin32.hh"
#include "G4OpenGLStoredWin32.hh"
#endif
#ifdef G4VIS_USE_OPENGLXM
#include "G4OpenGLImmediateXm.hh"
#include "G4OpenGLStoredXm.hh"
#endif
#ifdef G4VIS_USE_OIX
#include "G4OpenInventorX.hh"
#endif
#ifdef G4VIS_USE_OIWIN32
#include "G4OpenInventorWin32.hh"
#endif
#ifdef G4VIS_USE_VRML
#include "G4VRML1.hh"
#include "G4VRML2.hh"
#endif
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
TiaraVisManager::TiaraVisManager () {}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void TiaraVisManager::RegisterGraphicsSystems () {
// Graphics Systems not needing external packages or libraries...
RegisterGraphicsSystem (new G4ASCIITree);
RegisterGraphicsSystem (new G4DAWNFILE);
RegisterGraphicsSystem (new G4GAGTree);
RegisterGraphicsSystem (new G4HepRepFile);
RegisterGraphicsSystem (new G4HepRep);
RegisterGraphicsSystem (new G4RayTracer);
RegisterGraphicsSystem (new G4VRML1File);
RegisterGraphicsSystem (new G4VRML2File);
// Graphics systems needing external packages or libraries...
#ifdef G4VIS_USE_DAWN
RegisterGraphicsSystem (new G4FukuiRenderer);
#endif
#ifdef G4VIS_USE_OPENGLX
RegisterGraphicsSystem (new G4OpenGLImmediateX);
RegisterGraphicsSystem (new G4OpenGLStoredX);
#endif
#ifdef G4VIS_USE_OPENGLWIN32
RegisterGraphicsSystem (new G4OpenGLImmediateWin32);
RegisterGraphicsSystem (new G4OpenGLStoredWin32);
#endif
#ifdef G4VIS_USE_OPENGLXM
RegisterGraphicsSystem (new G4OpenGLImmediateXm);
RegisterGraphicsSystem (new G4OpenGLStoredXm);
#endif
#ifdef G4VIS_USE_OIX
RegisterGraphicsSystem (new G4OpenInventorX);
#endif
#ifdef G4VIS_USE_OIWIN32
RegisterGraphicsSystem (new G4OpenInventorWin32);
#endif
#ifdef G4VIS_USE_VRML
RegisterGraphicsSystem (new G4VRML1);
RegisterGraphicsSystem (new G4VRML2);
#endif
if (fVerbose > 0) {
G4cout <<
"\nYou have successfully chosen to use the following graphics systems."
<< G4endl;
PrintAvailableGraphicsSystems ();
}
}
#endif
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -22,7 +22,7 @@
//
//
// $Id: TiaraVisRunAction.cc,v 1.1.1.1 2003/06/12 13:08:25 dressel Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
// GEANT4 tag $Name: geant4-07-01 $
//
//
+12 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.5 2004/12/10 22:47:46 gcosmo Exp $
$Id: History,v 1.8 2005/06/06 14:51:04 tomezb Exp $
-------------------------------------------------------------------
=========================================================
@@ -8,6 +8,17 @@ $Id: History,v 1.5 2004/12/10 22:47:46 gcosmo Exp $
History file
------------
06.06.2005 -- B.Tome - air_shower-V07-00-01
-- README updated; analysis with AIDA 3.2.1 and PI 1.3.3.
06.06.2005 -- G.Cosmo - air_shower-V07-00-00
-- Corrected usage of <strstream> in RunActionMessenger.
-- Corrected call to Visualisation.mac from Ultra.cc.
- Changed viewer to OGLSX in Visualisation.mac.
03.05.2005 -- J.Allison
-- Replaced vis manager with G4VisExecutive.
10.12.2004 -- air_shower-V06-02-02
-- Replaced usage of M_PI with CLHEP's pi.
+19 -9
View File
@@ -64,22 +64,32 @@ setenv ULTRA_VERBOSE
setenv ULTRA_MIRROR_USE 1 : A specular reflecting surface is used.
setenv ULTRA_GROUND_USE 1 : A diffusive reflecting surface is used.
setup for analysis with PI 1.2.1 for user with account on lxplus:
setenv PI_VERSION 1_2_1
setenv PATH ${PATH}:"/afs/cern.ch/sw/geant4/dev/PI/Linux-g++/bin"
eval `aida-config -r csh` |
Setup for analysis with AIDA 3.2.1, PI 1.3.3.
The download instructions for the PI UltraLite+Hbook version
can be found at:
http://cern.ch/pi/pi-ultraLite-133.html
the following keywords can be used in order to produce HBOOK, AIDA or ROOT histograms
Definition of environment variables (assuming you used the directory
"PiUltraLite-1.3.3" in your home directory):
setenv PI_VERSION 1_3_3
setenv PI_DIR ${HOME}/PiUltraLite-1.3.3
setenv PATH ${PATH}:"${HOME}/PiUltraLite-1.3.3/bin"
eval `aida-config -r csh` |
------------------------------------------------------------
The following keywords can be used in order to produce HBOOK, AIDA or ROOT
histograms
"hbook" for HBOOK histograms
"xml" for AIDA histograms
"root" for ROOT histograms
for more information on PI
http://wenaus.home.cern.ch/wenaus/peb-app/
http://lcgapp.cern.ch/project/pi/
For more information on the analysis tools:
http://aida.freehep.org
http://www.cern.ch/PI
-
------------------------------------------------------------------------
-----------------------------------------------------------------------
----> How to run the example. |
- batch mode:

Some files were not shown because too many files have changed in this diff Show More