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 00039 // End class description 00040 // 00045 // 00046 // --------------------------------------------------------------------------// 00058 // --------------------------------------------------------------------------// 00059 00060 #ifndef _MJGENERATORRDM_HH 00061 #define _MJGENERATORRDM_HH 00062 00063 00064 //---------------------------------------------------------------------------// 00065 00066 #include "G4ParticleGun.hh" 00067 #include "G4VUserPrimaryGeneratorAction.hh" 00068 #include "G4VPhysicalVolume.hh" 00069 #include "G4PhysicalVolumeStore.hh" 00070 #include "G4Navigator.hh" 00071 00072 #include "generators/MJGeneratorRDMRadioactiveDecayGun.hh" 00073 #include "generators/MJVGenerator.hh" 00074 00075 class G4Event; 00076 00077 //---------------------------------------------------------------------------// 00078 00079 class MJGeneratorRDM : public MJVGenerator 00080 { 00081 public: 00082 00083 //default constructor 00084 MJGeneratorRDM(); 00085 00086 //copy constructor 00087 MJGeneratorRDM(const MJGeneratorRDM &); 00088 00089 //destructor 00090 ~MJGeneratorRDM(); 00091 00092 //public interface 00093 void GeneratePrimaryVertex(G4Event *anevent); 00094 void SetParticlePosition(G4ThreeVector vec) {fParticleGun->SetParticlePosition(vec);} 00095 //protected members 00096 protected: 00097 00098 00099 //private members 00100 private: 00101 G4ParticleGun *fParticleGun; 00102 }; 00103 #endif