00001 //---------------------------------------------------------------------------// 00002 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// 00003 // // 00004 // MAJORANA Simulation // 00005 // // 00006 // This code implementation is the intellectual property of the // 00007 // MAJORANA Collaboration. It is based on Geant4, an intellectual // 00008 // property of the RD44 GEANT4 collaboration. // 00009 // // 00010 // ********************* // 00011 // // 00012 // Neither the authors of this software system, nor their employing // 00013 // institutes, nor the agencies providing financial support for this // 00014 // work make any representation or warranty, express or implied, // 00015 // regarding this software system or assume any liability for its use. // 00016 // By copying, distributing or modifying the Program (or any work based // 00017 // on on the Program) you indicate your acceptance of this statement, // 00018 // and all its terms. // 00019 // // 00020 //bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu// 00021 //---------------------------------------------------------------------------// 00032 // Begin description of class here 00050 // End class description 00051 // 00057 // 00058 // --------------------------------------------------------------------------// 00069 // --------------------------------------------------------------------------// 00070 #ifndef MJGeneratorRDMRadioactiveDecayGun_h 00071 #define MJGeneratorRDMRadioactiveDecayGun_h 1 00072 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 00073 // 00074 // MODULE: MJGeneratorRDMRadioactiveDecayGun.hh 00075 // 00076 // Version: 0.b.3 00077 // Date: 29/02/00 00078 // Author: F Lei & P R Truscott 00079 // Organisation: DERA UK 00080 // Customer: ESA/ESTEC, NOORDWIJK 00081 // Contract: 12115/96/JG/NL Work Order No. 3 00082 // 00083 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 00084 // 00085 // CHANGE HISTORY 00086 // -------------- 00087 // 00088 // 29 February 2000, P R Truscott, DERA UK 00089 // 0.b.3 release. 00090 // 00091 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 00093 // 00094 #include "G4ParticleGun.hh" 00095 #include "G4Event.hh" 00096 #include "globals.hh" 00097 00098 #include "generators/MJGeneratorRDMNucleus.hh" 00099 #include "generators/MJGeneratorRDMRadioactiveDecayGunMessenger.hh" 00100 00101 class MJGeneratorRDMRadioactiveDecayGunMessenger; 00103 // 00104 class MJGeneratorRDMRadioactiveDecayGun : public G4ParticleGun 00105 { 00106 // class description 00107 // The MJGeneratorRDMRadioactiveDecayGun is an inherited version of G4ParticleGun 00108 // to allow user to specify an isotope as the initial tracking particle. 00109 // class description - end 00110 00111 public: 00112 MJGeneratorRDMRadioactiveDecayGun(); 00113 ~MJGeneratorRDMRadioactiveDecayGun(); 00114 00115 public: // with description 00116 00117 void SetNucleus(MJGeneratorRDMNucleus theIon1); 00118 // Sets the isotope. 00119 // 00120 inline MJGeneratorRDMNucleus GetNucleus() {return theIon;} 00121 // Returns the specified isotope. 00122 // 00123 private: 00124 00125 MJGeneratorRDMRadioactiveDecayGunMessenger *theMJGeneratorRDMRadioactiveDecayGunMessenger; 00126 00127 MJGeneratorRDMNucleus theIon; 00128 00129 }; 00130 #endif 00131 00132 00133 00134 00135