Message: Re: Time Parameterized Simulation for Muon Tomography Instrument Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Time Parameterized Simulation for Muon Tomography Instrument 

Forum: Industrial instruments
Re: Question Time Parameterized Simulation for Muon Tomography Instrument (David Hodge)
Date: 27 Jun, 2018
From: David Hodge <David Hodge>

I dug around for the last few weeks in the dusty archives of the SLAC Hypernews forums, and found an equally dusty old thread from about a decade ago on the same topic:

http://hypernews.slac.stanford.edu/HyperNews/geant4/get/particles/423.html?inline=-1

The answerer, Kevin Lynch, was kind enough to point out that this capability was not available in existing G4 libraries at the time. To the best of my knowledge, it still doesn't exist. He therefore also provided a customized version of the GPS class (and associated classes) which essentially added the capability to specify linear or gaussian particle-injection-time distributions. For the specific instructions of use, I'll refer anybody interested to the above link. The original source code files were also included in that post.

There were a few orphaned classes and objects in the code that I suspect were left over from a more specific application, but I got rid of those and got it working with geant4.10.04.p01. I've attached those files here in case anybody could make use of them. I'll just point out a few things though:

-I did NOT write this code. It was kindly provided by K. Lynch as mentioned above. I just brought it up to date.

-Most of the edits I made were to comment out certain lines of code. All original code is still in the attached files; Anything commented out was broken; any supplemental code added in should have a comment on the same line "//MOD".

- I have verified the code for the application that I'm working on with a space-based detector (as mentioned in the original post) and so far, so good, but I strongly recommend anybody using this code independently verify functionality.

-There was, and is, no documentation for this code; and it has yet to be included (as far as I know) in the main G4 repositories.

Hope this helps. -D. Hodge

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/06/27/01.19-25127-2GeneralParticleSource.hh
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/06/27/01.19-76001-articleSourceMessenger.hh
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/06/27/01.19-53565-g2SingleParticleSource.hh
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/06/27/01.19-55837-g2SPSTimeDistribution.hh
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/06/27/01.19-29264-2GeneralParticleSource.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/06/27/01.19-67285-articleSourceMessenger.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/06/27/01.19-18466-g2SingleParticleSource.cc
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2018/06/27/01.19-74841-g2SPSTimeDistribution.cc

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

1 Idea: Re: Time Parameterized Simulation for Muon Tomography Instrument   (Vladimir Ivanchenko - 04 Jul, 2018)
 Add Message Add Message
to: "Re: Time Parameterized Simulation for Muon Tomography Instrument"

 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 ]