|
||||
File indexing completed on 2025-01-31 09:21:58
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 0026 //GEANT4 - Depth-of-Interaction enabled Positron emission tomography (PET) advanced example 0027 0028 //Authors and contributors 0029 0030 // Author list to be updated, with names of co-authors and contributors from National Institute of Radiological Sciences (NIRS) 0031 0032 // Abdella M. Ahmed (1, 2), Andrew Chacon (1, 2), Harley Rutherford (1, 2), 0033 // Hideaki Tashima (3), Go Akamatsu (3), Akram Mohammadi (3), Eiji Yoshida (3), Taiga Yamaya (3) 0034 // Susanna Guatelli (2), and Mitra Safavi-Naeini (1, 2) 0035 0036 // (1) Australian Nuclear Science and Technology Organisation, Australia 0037 // (2) University of Wollongong, Australia 0038 // (3) National Institute of Radiological Sciences, Japan 0039 0040 0041 0042 #ifndef doiPETPrimaryGeneratorAction_h 0043 #define doiPETPrimaryGeneratorAction_h 1 0044 0045 #include "G4VUserPrimaryGeneratorAction.hh" 0046 #include "G4ParticleGun.hh" 0047 #include "globals.hh" 0048 0049 class G4ParticleGun; 0050 class G4GeneralParticleSource; 0051 class G4Event; 0052 0053 /// The primary generator action class 0054 0055 class doiPETPrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction 0056 { 0057 public: 0058 doiPETPrimaryGeneratorAction(); 0059 void ActivityValue(); 0060 virtual ~doiPETPrimaryGeneratorAction(); 0061 0062 virtual void GeneratePrimaries(G4Event*); 0063 0064 const G4GeneralParticleSource* GetParticleGun() const { return fParticleGun; } 0065 0066 0067 0068 private: 0069 G4GeneralParticleSource* fParticleGun; 0070 }; 0071 0072 0073 #endif 0074
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |