Message: Different outputs from same conditions! Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Different outputs from same conditions! 

Forum: Biasing and Scoring
Date: 14 Feb, 2017
From: Ali <Ali>

Hello

In my simulation setup. i detect the proton population quantity in the different surface detectors (Cubic mesh detectors are perpendicular to the proton source direction). Detectors are at equal distances from one another. I,m using this commands in my macrofile (for example for two detector).

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

	     /score/create/boxMesh boxMesh_1

             /score/mesh/boxSize 2. 2. .05 cm
             /score/mesh/nBin 150 150 1
             /score/mesh/translate/xyz 0. 0. 69. cm  
             /score/quantity/population protonpopu1
             /score/filter/particle protonFilter proton
             /score/close

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

         /score/create/boxMesh boxMesh_2
         /score/mesh/boxSize 2. 2. .05 cm      
         /score/mesh/nBin 150 150 1              
         /score/mesh/translate/xyz 0. 0. 79. cm    
         /score/quantity/population protonpopu2
         /score/filter/particle protonFilter proton
	 /score/close
########################################
/score/list

/run/beamOn 200000

 /score/dumpQuantityToFile boxMesh_1 protonpopu1 proton1.txt

 /score/dumpQuantityToFile boxMesh_2 protonpopu2 proton2.txt

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

when i run the code just for one the detector (by deleting the other mesh detectors in macro commands), my output is different with output from the ruing code with all detectors!!

Is there something wrong in my macro commands for definition and detection the quantity in detectors??

Thanks a lot

 Add Message Add Message
to: "Different outputs from same conditions!"

 Subscribe Subscribe

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