Message: Range Cuts (via Setcuts) not working in physics list or UI commands Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Range Cuts (via Setcuts) not working in physics list or UI commands 

Forum: Event and Track Management
Date: 06 Aug, 2018
From: Giuseppe Caporaso <Giuseppe Caporaso>

Hi All,

I'm simulating the decay of a Eu155 source and wish to apply setcuts to remove all the secondary electrons and improve simulation speed.

I've looked at the Geant4 User Guide, built-in examples and many codes but still I can't get my setcuts to be applied. Below is the CutValuesTable output which shows that it's reading my defined cut lengths and source region. Still, the tracking verbose lists all the secondary e- that shouldn't spawn based on the defined setcuts value.

UI commands can change the table value output but again with no result.

========= Table of registered couples ==============================

Index : 0     used in the geometry : Yes
 Material : G4_AIR
 Range cuts        :  gamma  1 mm     e-  1 m      e+  1 m   proton 1 m  
 Energy thresholds :  gamma  990 eV     e-  361.464 keV    e+  351.877 keV proton 100 MeV
 Region(s) which use this couple : 
    DefaultRegionForTheWorld

Index : 1     used in the geometry : Yes
 Material : Eu_source
 Range cuts        :  gamma  0 fm     e-  1 m      e+  0 fm  proton 0 fm 
 Energy thresholds :  gamma  990 eV     e-  10 GeV    e+  990 eV  proton 0 eV 
 Region(s) which use this couple : 
    sourcePhys

====================================================================

I've attached my Physics List with the header and Detector Construction where I defined the region (line 554-557).

Any help is greatly appreciated.

Thanks, - Giuseppe

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/08/06/22.26-2482-PhysicsList.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/08/06/22.26-83138-PhysicsList.hh
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/08/06/22.26-95181-DetectorConstruction.cc

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

1 Feedback: Re: Range Cuts (via Setcuts) not working in physics list or UI commands   (Jonathan Madsen - 07 Aug, 2018)
(_ More: Re: Range Cuts (via Setcuts) not working in physics list or UI commands   (Giuseppe Caporaso - 07 Aug, 2018)
(_ Feedback: Re: Range Cuts (via Setcuts) not working in physics list or UI commands   (Jonathan Madsen - 07 Aug, 2018)
(_ Ok: Re: Range Cuts (via Setcuts) not working in physics list or UI commands   (Giuseppe Caporaso - 08 Aug, 2018)
 Add Message Add Message
to: "Range Cuts (via Setcuts) not working in physics list or UI commands"

 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 ]