Message: Re: Setting tracking cuts for logical volume Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Setting tracking cuts for logical volume 

Keywords: Tracking cuts
Forum: Event and Track Management
Re: Question Setting tracking cuts for logical volume (Hugh Lippincott)
Re: Warning Re: Setting tracking cuts for logical volume (Gumplinger Peter)
Date: 16 Jan, 2007
From: Hugh Lippincott <walter.lippincott@yale.edu>

Hi

I tried putting in

 pmanager->AddProcess(new G4UserSpecialCuts(),-1,-1,4);

as I did have three other AddDiscreteProcess() calls before the line in question (I am modeling my physics list after the underground example). However, I still have output such as the following:

*********************************************************************************************************
* G4Track Information:   Particle = neutron,   Track ID = 1,   Parent ID = 0
*********************************************************************************************************

Step#      X         Y         Z        KineE    dEStep   StepLeng  TrakLeng    Volume     Process
  102  -1.71 m   -62.9 cm  -37.4 cm 0.0782 eV      0 eV      0 fm   14.4 m    Floor_phys    initStep
  103  -1.71 m     -64 cm  -37.9 cm 0.0524 eV      0 eV    1.2 cm   14.4 m    Floor_phys    LElastic
    :----- List of 2ndaries - #SpawnInStep=  1(Rest= 0,Along= 0,Post= 1), #SpawnTotal=  1 ---------------
    :  -1.71 m     -64 cm  -37.9 cm 0.0414 eV     proton
    :----------------------------------------------------------------- EndOf2ndaries Info ---------------

Floor_phys is the physical volume that goes with Floor_log, for which I set:

  G4double minEkin = 10*keV;
  Floor_log->SetUserLimits(new G4UserLimits(DBL_MAX,DBL_MAX,DBL_MAX,minEkin));

My hope was that by setting this limit, I wouldn't track the neutron below 10 keV, but I must still be doing something wrong. Thanks for any more help you can offer, I appreciate it.

Hugh

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 More: Re: Setting tracking cuts for logical volume   (Peter Gumplinger - 16 Jan, 2007)
1 None: Re: Setting tracking cuts for logical volume   (Vladimir IVANTCHENKO - 17 Jan, 2007)
2 More: Re: Setting tracking cuts for logical volume   (Peter Gumplinger - 17 Jan, 2007)
 Add Message Add Message
to: "Re: Setting tracking cuts for logical volume"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]