Message: how to change beam of particles in PrimaryGenerator instead of a source Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None how to change beam of particles in PrimaryGenerator instead of a source 

Forum: Event and Track Management
Date: 07 Feb, 2018
From: Ivancovish Julian Huancco Mamani <Ivancovish Julian Huancco Mamani>

Hello,

I am working on a TPC simulation and I had only a particle source in my PrimaryGenerator as it shows in the next figure

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/02/07/14.49-14071-tpc.png

I want to add a beam particle as if I had a beam particle with collimator as it shows in the next figure (It was taken out from an example in geant4/extended/medical/Gammatherapy

http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/02/07/14.49-21654-gammamtherapy.png

my source code is
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/02/07/15.05-85175-PrimaryGeneratorAction.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/02/07/15.05-84220-PrimaryGeneratorAction.hh

thank you in advance

Ivancovish J. Huancco

 Add Message Add Message
to: "how to change beam of particles in PrimaryGenerator instead of a source"

 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 ]