Re: DDG4 particle gun [message #2388 is a reply to message #2387] |
Wed, 16 March 2016 01:21   |
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
|
|
|