Message: General Particle Source theta user histogram Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None General Particle Source theta user histogram  

Forum: Particles
Date: 26 Oct, 2015
From: Josh Flygare <Josh Flygare>

Hello all, I am defining a cosine distribution using GPS as follows:

/gps/ang/type user

/gps/hist/type theta

/gps/hist/point 0.

/gps/hist/point 0.141539473 0.0753573

/gps/hist/point 0.245565518 0.0733577

/gps/hist/point 0.317560429 0.0701738

/gps/hist/point 0.376383482 0.0659765

/gps/hist/point 0.427512265 0.0614616

/gps/hist/point 0.473451157 0.0570367

/gps/hist/point 0.515594006 0.0530665

/gps/hist/point 0.554811033 0.0496913

/gps/hist/point 0.591688642 0.0465173

/gps/hist/point 0.626644212 0.0431275

/gps/hist/point 0.659987329 0.0396549

/gps/hist/point 0.691955175 0.0365246

/gps/hist/point 0.722734248 0.033821

/gps/hist/point 0.752474376 0.0312421

/gps/hist/point 0.781298117 0.0285846

/gps/hist/point 0.809307274 0.0259978

/gps/hist/point 0.836587539 0.0237365

/gps/hist/point 0.86321189 0.0217936

/gps/hist/point 0.889243115 0.0199162

/gps/hist/point 0.914735736 0.017948

/gps/hist/point 0.939737486 0.0160171

/gps/hist/point 0.964290472 0.0143465

/gps/hist/point 0.988432089 0.0129546

/gps/hist/point 1.012195762 0.0116573

/gps/hist/point 1.035611537 0.0103265

/gps/hist/point 1.058706574 0.00903185

/gps/hist/point 1.081505549 0.0079218

/gps/hist/point 1.104030988 0.00701255

/gps/hist/point 1.12630355 0.0061707

/gps/hist/point 1.148342265 0.00530163

/gps/hist/point 1.170164734 0.00446673

/gps/hist/point 1.191787306 0.00378039

/gps/hist/point 1.213225223 0.00324478

/gps/hist/point 1.234492752 0.00276156

/gps/hist/point 1.255603294 0.00227527

/gps/hist/point 1.276569489 0.00182297

/gps/hist/point 1.297403295 0.00145876

/gps/hist/point 1.318116072 0.00118163

/gps/hist/point 1.338718644 0.00094765

/gps/hist/point 1.359221367 0.000727412

/gps/hist/point 1.37963418 0.00052939

/gps/hist/point 1.399966658 0.000375452

/gps/hist/point 1.420228054 0.000266901

/gps/hist/point 1.440427347 0.000184689

/gps/hist/point 1.460573277 0.00011684

/gps/hist/point 1.480674382 6.62404E-05

/gps/hist/point 1.500739034 3.58964E-05

/gps/hist/point 1.52077547 2.01946E-05

/gps/hist/point 1.540791825 1.01248E-05

/gps/hist/point 1.56079616 8.185E-07

This histogram should peak when theta is almost 0, as in the "input histogram". However, when I look at the output of the primary vertexes generated by the source, it looks like the "output histogram" file. What am I doing wrong in the implementation of this histogram to get this shape? It seems like the numbers I use for the histogram points do not suggest this shape. Additionally, am I supposed to input it as cos(theta) or just as theta?

Thanks in advance,

-Josh

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2015/10/26/09.15-92319-input_histogram.jpg
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2015/10/26/09.15-48788-output_histogram.jpg

 Add Message Add Message
to: "General Particle Source theta user histogram "

 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 ]