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 #2384 is a reply to message #2381] Wed, 02 March 2016 01:15 Go to previous message
gaede
Messages: 232
Registered: January 2004
Location: DESY, Hamburg
Hi Daniel,

we'll have to see if we can provide the old Mokka Gun functionality on a short timescale.

In the mean time, you could simply write your own "particle gun" using a python script that creates an LCIO file with MCParticles.

Have a look at
$lcgeo_DIR/example/lcio_particle_gun.py


this currently writes out single muons at a fixed theta, but adding any other distribution should be straight forward.

Cheers, Frank.
 
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: Tue Jun 19 09:04:16 Pacific Daylight Time 2018
.:: Contact :: Home ::.

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