11.01.2015 Views

Geant4 Simulations for the Radon Electric Dipole Moment Search at

Geant4 Simulations for the Radon Electric Dipole Moment Search at

Geant4 Simulations for the Radon Electric Dipole Moment Search at

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.2.5 Simul<strong>at</strong>ed D<strong>at</strong>a<br />

Thecodewaswrittensoth<strong>at</strong><strong>the</strong>outputfrom<strong>the</strong><strong>Geant4</strong>simul<strong>at</strong>ionswaswritten<br />

as binary files, containing all <strong>the</strong> interaction energy, time, and position in<strong>for</strong>m<strong>at</strong>ion<br />

within <strong>the</strong> simul<strong>at</strong>ion. The advantage of writing in<strong>for</strong>m<strong>at</strong>ion in binary files versus<br />

ASCII is its compactness. For example, <strong>the</strong> number 1000000000 in ASCII would<br />

require 10 bytes to store (10 characters long), whereas if it were represented as an<br />

unsigned binary it would only use 4 bytes. The sheer number of simul<strong>at</strong>ions needed<br />

to achieve desirable st<strong>at</strong>istics made use of this compactness. The o<strong>the</strong>r option, of<br />

course, was to write histograms and spectra directly from <strong>the</strong> <strong>Geant4</strong> simul<strong>at</strong>ion.<br />

This method does not preserve <strong>the</strong> correl<strong>at</strong>ions between event energies, times and<br />

loc<strong>at</strong>ions th<strong>at</strong> are included in <strong>the</strong> list-mode binary event d<strong>at</strong>a and often desirable<br />

during <strong>the</strong> analysis phase.<br />

The binary stream was written in small segments which correspond to individual<br />

events. One event represents one β-decay process including <strong>the</strong> subsequent γ decays<br />

and internal conversion processes until <strong>the</strong> daughter nucleus reaches its ground st<strong>at</strong>e.<br />

Every event in <strong>the</strong> output stream begins with <strong>the</strong> hexidecimal flag 0x8000 and ends<br />

with 0xFFFF. The binary d<strong>at</strong>a between <strong>the</strong>se flags encompasses all <strong>the</strong> in<strong>for</strong>m<strong>at</strong>ion<br />

rel<strong>at</strong>ing to a single decay, including <strong>the</strong> energy deposited inside detectors, position<br />

in<strong>for</strong>m<strong>at</strong>ion of <strong>the</strong> γ ray interactions, pair production processes, bremsstrahlung processes,<br />

and <strong>the</strong>ir interaction times. See Table 3.1 <strong>for</strong> a list of all flags used in <strong>the</strong> d<strong>at</strong>a<br />

stream.<br />

39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!