02.12.2012 Views

a design study for a cobra upgrade to - Institut für Kern- und ...

a design study for a cobra upgrade to - Institut für Kern- und ...

a design study for a cobra upgrade to - Institut für Kern- und ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

B.2 Geant4 99<br />

Geant4 application, enabling reproducible simulations of signal and<br />

backgro<strong>und</strong> physics processes in the detec<strong>to</strong>r <strong>for</strong> all COBRA collabora<strong>to</strong>rs.<br />

Venom contains packages, which can be added and<br />

extended by the user. All packages use the same physics class<br />

(VXPhysicsList) and material class (VXMaterials). Geometry,<br />

action, readout and genera<strong>to</strong>r classes can be added by writing new<br />

packages. Venom uses fac<strong>to</strong>ry classes <strong>to</strong> enable runtime configurations<br />

of the geometry, the run action, the data readout and the<br />

event genera<strong>to</strong>r. A granular build system makes compiling of individual<br />

packages possible be<strong>for</strong>e linking them <strong>to</strong> the main application.<br />

The main application contains the VXDetec<strong>to</strong>rConstruction,<br />

VXPrimaryGenera<strong>to</strong>rAction, VXPhysicsList, VXVisManager<br />

and VXActionManager classes. This is the minimal set of classes<br />

required by Geant4 <strong>to</strong> run. The VXDetec<strong>to</strong>rConstruction constructs<br />

the VXMaterials class and only places the world logical volume.<br />

The construction of the world logical volume and all subvolumes<br />

is per<strong>for</strong>med by VXVGeoComponent. This is an abstract base<br />

class, which places the component, and again leaves the construction<br />

of the components (which can consist of subcomponents) <strong>to</strong> their individual<br />

classes. The VXPrimaryGenera<strong>to</strong>rAction generates the primary<br />

events. The particle guns Decay0, Bkkgen, Chaingen and GPS<br />

can be chosen by using the SetPrimaryGenera<strong>to</strong>r() method. The<br />

particle gun Decay0 uses the input files of the Decay0 software, initialising<br />

the energy and angular distributions of the electrons, positrons<br />

of gamma rays of double beta decays. The Bkkgen initialises decays<br />

of single iso<strong>to</strong>pes, whereas Chaingen sets decays belonging <strong>to</strong> decay<br />

chains and GPS initialises particles. The VXVisManager is a standard<br />

visualisation manager supporting OpenGl, Heprep and Dawn. The<br />

VXActionManager allows <strong>to</strong> change run, event, stepping, stacking<br />

and tracking action classes at run time.<br />

Venom provides no time in<strong>for</strong>mation. The deposited energy in each<br />

sensitive detec<strong>to</strong>r volume is written <strong>to</strong> a Root file. The Array64 Root<br />

output file consist of a tree containing four leaves, the deposited energy<br />

edep, the shelf-ID and board-ID (used <strong>for</strong> K64Array) and the crystal ID.<br />

The crystal Id ranges from 1 <strong>to</strong> 16 and the shelf-ID from 1 <strong>to</strong> 4.<br />

THE SCINT64 PACKAGE was written as part of this diploma thesis. It<br />

is a new Venom package, constructing the previously described simplified<br />

scintilla<strong>to</strong>r <strong>upgrade</strong>.<br />

The Scint64 package uses the class array64paintedcrystal<br />

from the Array64 package and contains the classes scint64Nest,<br />

scint64Scintilla<strong>to</strong>r, scint64PaintedScintilla<strong>to</strong>r,<br />

scint64Scintilla<strong>to</strong>rCube, scint64PaintedScintilla<strong>to</strong>r-

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

Saved successfully!

Ooh no, something went wrong!