GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » How to abort secondaries
Re: How to abort secondaries [message #13435 is a reply to message #13434] Mon, 07 May 2012 12:52 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 31.188.55*
I mean, in processhits, if (gMC->IsTrackEntering()) ...
Once a particle is created, first it is "entering" inside the volume, and there you can kill it once you check that the mother particle track id is different from -1.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: License ?
Next Topic: photos and custom event generator
Goto Forum:
  


Current Time: Mon Apr 29 05:33:16 CEST 2024

Total time taken to generate the page: 0.01205 seconds