Message: Scoring Parallel World Problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Scoring Parallel World Problem 

Forum: Biasing and Scoring
Date: 10 Jun, 2010
From: Ibrahim <Ibrahim>

Hi,

My Gd2O2S detector is divided into pixels. Irradiated with X-ray beam and I would like to calculate the energy deposition in each pixel. To do so, I create a scoring parallel word which overlay Gd2O2S detector, I used interactive mode for better visualization and checking whether the scoring works well or not. In the .mac file I defined my scoring parallel world as in the example RE03. It works well. For example, I can get the energy deposition in each pixel of the Gd2O2S detector and at the of the simulation the Gd2O2S detector is scanned and I can visualize this energy deposition in the detector in color scales. The size of the scoring parallel world in the .mac file matches the size of the detector:

###########################################################################
                     This is my .mac file
###########################################################################

# define scoring mesh
############## boxMesh_1 is just a name you can change it as you want  

/score/create/boxMesh boxMesh_1

############## this is the size of the detector ####################

/score/mesh/boxSize 10.24 10.24 0.02 cm

############# These are the number of pixels ###############

/score/mesh/nBin 1000 1000 1

/score/quantity/energyDeposit eDep

/score/list

/run/beamOn 20000000

# drawing projections

/score/drawProjection boxMesh_1 eDep

# Dump scores to a file

######### Output file contains 4 coloumns: X, Y, Z and energy deposition in that pixel.############## /score/dumpQuantityToFile boxMesh_1 eDep eDep.txt ###########################################################################

But the problem when I change the size of my Gd2O2S detector, I also change the size of the scoring parallel world in order to match the size of Gd2O2S detector. In this case it does not work well I cannot visualize the energy deposition in Gd2O2S detector and the detector is not scanned. Does anybody know where is the problem? For example, instead of

/score/mesh/boxSize 10.24 10.24 0.015 cm

I type

/score/mesh/boxSize 10.24 10.24 0.2 cm

In this case it does not work!

Another question: if a rotate my Gd2O2S detector, do I have also to rotate the scoring parallel world?

If I have more many volumes and I want to overly one of them which lies in (0, 0, 5) cm. in this case it is possible to translate the scoring parallel world? The command to do so is:

/score/mesh/translate/xyz 0.0 0.0 5.0 cm

Is it correct?

I highly appreciate your help!

With many kind regards

Ibrahym

 Add Message Add Message
to: "Scoring Parallel World Problem"

 Subscribe Subscribe

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