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 #2385 is a reply to message #2383] Wed, 02 March 2016 02:48 Go to previous messageGo to previous message
sailer
Messages: 34
Registered: February 2009
Hi Daniel,

I just added phiMin/Max thetaMinMax steering to ddsim, so if you have an lcgeo HEAD (don't forget make install) you could use these options:

ddsim --enableGun --runType batch -N 4 --compactFile CLIC/compact/CLIC_o2_v04/CLIC_o2_v04.xml --gun.thetaMin 80*deg --gun.thetaMax 85*deg --gun.phiMin 0.0 --gun.phiMax 1*rad


If you cannot update:

Create a macroFile e.g., limit.mac, with these options

/ddg4/Gun/PhiMin 0*deg
/ddg4/Gun/PhiMax 90*deg
/ddg4/Gun/ThetaMin 85*deg
/ddg4/Gun/ThetaMax 90*deg
/ddg4/Gun/isotrop True

isotrop is Mandatory.

And the run (note the runType run) like this for example

ddsim --enableGun --runType run -N 10 --compactFile CLIC/compact/CLIC_o2_v04/CLIC_o2_v04.xml --macroFile limit.mac

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 Apr 23 10:30:48 Pacific Daylight Time 2018
.:: Contact :: Home ::.

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