Linear Collider Forum



Home » Simulation » slic » step size in slic
Re: step size in slic [message #1422 is a reply to message #1421] Sun, 16 March 2008 22:05 Go to previous messageGo to previous message
NormanGraf
Messages: 80
Registered: January 2004
Hello Hans,
Jeremy has done a very nice job of making this straightforward. You can do this quite easily from within the compact.xml detector description.

First, define the limits via:

<limits>
<limitset name="cal_limits">
<limit name="step_length_max" particles="*" value="5.0" unit="mm" />
</limitset>
</limits>

This has to come before the <detectors> element.

Then, assign them to a volume:

<detector id="2" name="EMBarrel" type="CylindricalBarrelCalorimeter" readout="EcalBarrHits">
<dimensions inner_r = "EmBarrelInnerRadius" outer_z = "EmBarrelZMax" />
<layer repeat="1">
<slice material = "Silicon" thickness = "0.032*cm" sensitive = "yes" limits="cal_limits" />
<slice material = "Copper" thickness = "0.005*cm" />
<slice material = "Kapton" thickness = "0.030*cm" />
<slice material = "Air" thickness = "0.033*cm" />
</layer>

In this example, I have limited the max step length for all particles in the sensitive silicon layer of an EM calorimeter to 5mm.

Please let me know if you encounter any difficulties or have any further questions.

For more documentation, please see http://confluence.slac.stanford.edu/display/ilc/ILC+Detector +Simulation+FAQ

Norman
 
Read Message
Read Message
Read Message
Previous Topic:I am coming
Next Topic:SimDist not everything is set up to select different physics lists
Goto Forum:
  


Current Time: Tue Jul 17 04:27:10 Pacific Daylight Time 2018
.:: Contact :: Home ::.

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