Message: Re: Problem in using Pb ions as a beam by gps commands?? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problem in using Pb ions as a beam by gps commands?? 

Forum: Particles
Re: Question Problem in using Pb ions as a beam by gps commands?? (Ali)
Re: None Re: Problem in using Pb ions as a beam by gps commands??
Date: 26 Sep, 2013
From: Ali <Ali>

Thanks, I wrote this command but i have error still!

I'm faced with this problem after running this macro:

"particle <Pb82[0.0]> not found"

this is my macro commands:

# ----------------
# Verbose settings

# ---------------- /control/verbose 2

/run/verbose 2

#/tracking/verbose 2

/gps/verbose 2

############### gps command #############

#/gps/particle proton

#/gps/ion 6 12 6

/gps/ion 82 206 82

#/gps/ion 8 16 8

#### /gps/pos/type Beam

/gps/pos/shape Circle

/gps/pos/radius .33 cm

/gps/pos/centre 0 0 -304.185 cm

/gps/ang/type beam1d

/gps/ene/type Gauss

/gps/ene/mono 150 MeV

/gps/direction 0 0 1

#####################################

# HepRepFile diriver

/vis/open HepRepFile

# OpenGL driver

#/vis/open OGL

# Add world volume

/vis/drawVolume

# Visualise geometry

/vis/viewer/flush

# Set camera angle for OGLIX driver

/vis/viewer/set/viewpointThetaPhi 70 120

# Accumulate multiple events in one picture.

/vis/scene/endOfEventAction accumulate

####################################################################
#
# define scoring mesh

# /score/create/boxMesh boxMesh_1

# /score/mesh/boxSize 4. 4. 4. mm

/score/mesh/nBin 100 100 100

/score/mesh/translate/xyz 0. 0. 0. mm

# /score/quantity/energyDeposit eDep

#/score/filter/particle B10[0.0]Filter B10[0.0]

#/score/filter/particle O16[0.0]Filter O16[0.0]

     /score/filter/particle Pb82[0.0]Filter Pb82[0.0]

/score/close

# /score/list

#
########################################
#
/run/beamOn 2000
#
########################################
#
#
########################################
#

# drawing projections

 /score/drawProjection boxMesh_1 eDep

# drawing slices

  /vis/scene/create

  /vis/sceneHandler/attach scene-1

  /score/colorMap/setMinMax ! 0. 800.

  /control/loop drawSlice.mac iColumn 2 10 8
#
###################

###################
#
# Dump scores to a file

#
#/score/dumpQuantityToFile boxMesh_1 nOfStepGamma nOfStepGamma.txt

#/score/dumpQuantityToFile boxMesh_1 nOfStepEMinus eDep.txt

/score/dumpAllQuantitiesToFile boxMesh_1 edep5.txt

#
#######################################################################
# Add trajectories to the visualization.

/vis/scene/add/trajectories

##############################################################################

# Trajectory colouring scheme

/vis/modeling/trajectories/create/drawByCharge

/vis/modeling/trajectories/drawByCharge-0/set -1 blue

/vis/modeling/trajectories/drawByCharge-0/set 1 blue

/vis/modeling/trajectories/drawByCharge-0/set 0 red

#/run/beamOn 50

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Ok: Re: Problem in using Pb ions as a beam by gps commands??   (Ali - 28 Sep, 2013)
 Add Message Add Message
to: "Re: Problem in using Pb ions as a beam by gps commands??"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]