Linear Collider Forum



Home » Software Tools » Marlin et al » DDG4 particle gun (make isotropic particle gun flat in cos(theta), rather than in theta?)
Re: DDG4 particle gun [message #2388 is a reply to message #2387] Wed, 16 March 2016 01:21 Go to previous messageGo to previous message
sailer
Messages: 34
Registered: February 2009
Hi Daniel,

For about a week now the geant4 particle gun and general particle source can be used inside dd4hep/ddsim.

It needs the head version of lcgeo and dd4hep (or the HEAD from a week ago...)

And then one can run with

ddsim --enableG4GPS --macroFile gps.mac --compactFile
path/To/CompactFile.xml -O events.slcio

There is an example gps.mac file in lcgeo/example
which produces a square source.
There is also a gun.mac in lcgeo/example.
But the geant4 macros from mokka should work more or less directly.

This should give you all the freedom you seek, right?

Cheers,
Andre
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:freehep.org website missing and svn server down?
Next Topic:iLCSoft release v01-17-09
Goto Forum:
  


Current Time: Mon Jun 26 05:22:43 Pacific Daylight Time 2017
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software