Import Geant4 9.2.0 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$Id: History,v 1.1 2007/11/13 20:31:59 asaim Exp $
|
||||
$Id: History,v 1.2 2008/11/24 17:34:46 asaim Exp $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -15,6 +15,9 @@ track of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
Nov. 23, 08 M.Asai (exampleRE03-V09-01-00)
|
||||
- Add "run4.mac" with cylindrical scoring mesh.
|
||||
|
||||
Nov. 14, 07 M.Asai (exampleRE03-V09-00-00)
|
||||
- Introducing this example.
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: RE03.cc,v 1.4 2007/11/17 01:26:01 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -5,11 +5,21 @@
|
||||
Contact : M.Asai (SLAC), A.Kimura (AIT), T.Aso (TNCMT)
|
||||
|
||||
****************************************************************
|
||||
* IMPORTANT NOTICE for version 9.1 *
|
||||
* This UI-command base scoring is still in alpha release and *
|
||||
* IMPORTANT NOTICE for version 9.2 *
|
||||
* *
|
||||
* This UI-command base scoring is still in beta release and *
|
||||
* functionality offered is preliminary. We do not guarantee *
|
||||
* the correctness of the code. Also, we may change any of the *
|
||||
* commands / methods in the near future release. *
|
||||
* In particular for the cylindrical scoring mesh, we are *
|
||||
* aware of rather frequent warning messages issued by the *
|
||||
* G4Navigator for the zero-length steps. I believe the results *
|
||||
* is correct, but we appreciate the user's patient for this *
|
||||
* messy warning messages. It is identified that if a track *
|
||||
* enters at exactly the center of the top/bottom circlic face *
|
||||
* exactly along the local z-axis of the scoring cylinder, this *
|
||||
* warning message is mostlikely issued. *
|
||||
* *
|
||||
****************************************************************
|
||||
|
||||
1. Introduction
|
||||
@@ -36,11 +46,14 @@ have hadronics.
|
||||
|
||||
2. Macro files
|
||||
|
||||
"run1.mac" through "run3.mac" macro files should be used
|
||||
"run1.mac" through "run4.mac" macro files should be used
|
||||
independently. Each macro file create its own scoring parallel
|
||||
world(s). "vis.mac" and "drawSlics.mac" are used internally.
|
||||
Each macro should work for both interactively and batch, but
|
||||
interactive mode is advised for better visualization.
|
||||
world(s). "vis.mac", "drawSlices.mac" and "drawCylinderSlices.mac"
|
||||
are used internally. Each macro should work for both interactively
|
||||
and batch, but interactive mode is advised for better visualization.
|
||||
|
||||
IMPORTANT: DO NOT use more than one of these macro files in one
|
||||
execution of this example.
|
||||
|
||||
3. RE03UserScoreWriter
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
/score/drawColumn boxMesh_1 nOfStepGamma {iAxis} {iColumn}
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: RE03DetectorConstruction.hh,v 1.1 2007/11/13 19:55:43 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: RE03PhysicsList.hh,v 1.1 2007/11/13 19:55:43 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: RE03PrimaryGeneratorAction.hh,v 1.1 2007/11/13 19:55:43 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
|
||||
#ifndef RE03PrimaryGeneratorAction_h
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
########################################
|
||||
#
|
||||
# define cylindrical scoring mesh
|
||||
#
|
||||
# IMPORTANT:
|
||||
# Currently, we identify a problem if a track
|
||||
# enters the cylindrical mesh at exactly the
|
||||
# center of the top/bottom circlic face exactly
|
||||
# along the local z-axis of the cylinder.
|
||||
# To avoid this, we place the mesh slightly
|
||||
# offset from the origin.
|
||||
#
|
||||
/score/create/cylinderMesh boxMesh_1
|
||||
#
|
||||
/score/mesh/cylinderSize 100. 100. cm
|
||||
/score/mesh/translate/xyz 0.1 0.1 0.0 cm
|
||||
/score/mesh/nBin 30 30 30
|
||||
#
|
||||
/score/quantity/energyDeposit eDep
|
||||
/score/quantity/nOfStep nOfStepGamma
|
||||
/score/filter/particle gammaFilter gamma
|
||||
/score/quantity/nOfStep nOfStepEMinus
|
||||
/score/filter/particle eMinusFilter e-
|
||||
/score/quantity/nOfStep nOfStepEPlus
|
||||
/score/filter/particle ePlusFilter e+
|
||||
#
|
||||
/score/close
|
||||
#
|
||||
/score/list
|
||||
#
|
||||
/run/beamOn 100
|
||||
#
|
||||
########################################
|
||||
#
|
||||
# drawing slices
|
||||
#
|
||||
/vis/scene/create
|
||||
/vis/sceneHandler/attach scene-2
|
||||
/score/colorMap/setMinMax ! 0. 200.
|
||||
/control/alias iAxis 1
|
||||
/control/loop drawCylinderSlice.mac iColumn 0 29 7
|
||||
#
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: RE03DetectorConstruction.cc,v 1.1 2007/11/13 19:55:43 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: RE03PhysicsList.cc,v 1.1 2007/11/13 19:55:43 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: RE03PrimaryGeneratorAction.cc,v 1.1 2007/11/13 19:55:43 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
|
||||
#include "RE03PrimaryGeneratorAction.hh"
|
||||
|
||||
Reference in New Issue
Block a user