Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

MJGeneratorRDMNucleus.cc

Go to the documentation of this file.
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
00036 // End class description
00037 //
00043 //
00044 // --------------------------------------------------------------------------//
00055 // --------------------------------------------------------------------------//
00056 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00057 //
00058 // MODULE:              MJGeneratorRDMNucleus.cc
00059 //
00060 // Version:             0.b.3
00061 // Date:                29/02/00
00062 // Author:              F Lei & P R Truscott
00063 // Organisation:        DERA UK
00064 // Customer:            ESA/ESTEC, NOORDWIJK
00065 // Contract:            12115/96/JG/NL Work Order No. 3
00066 //
00067 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00068 //
00069 // CHANGE HISTORY
00070 // --------------
00071 //
00072 // 29 February 2000, P R Truscott, DERA UK
00073 // 0.b.3 release.
00074 //
00075 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00077 //
00078 //
00079 #include "generators/MJGeneratorRDMNucleus.hh"
00081 //
00082 MJGeneratorRDMNucleus::MJGeneratorRDMNucleus ()
00083   : a(24), z(11), e(0.0)   //Default to 24Na radioactivity
00084 {;}
00086 //
00087 MJGeneratorRDMNucleus::MJGeneratorRDMNucleus (G4int a1, G4int z1, G4double e1)
00088 {
00089   //
00090   //
00091   a = a1;
00092   z = z1;
00093   e = e1;
00094 }
00096 //
00097 MJGeneratorRDMNucleus::~MJGeneratorRDMNucleus ()
00098 {;}
00100 //
00101 std::ostream &operator << (std::ostream &s, const MJGeneratorRDMNucleus &q)
00102 //
00103 //
00104 // Definition of the insertion operator << to provide the nucleus limits to
00105 // ostream.
00106 //
00107 {
00108   s <<"Atomic weight: " <<q.GetA()
00109     <<"Atomic number: " <<q.GetZ()
00110     <<"Excitation energy: "<<q.GetE();
00111   return s;
00112 }
00114 
00115 
00116 
00117 
00118 
00119 

Generated on Mon Nov 29 16:58:51 2004 for Majorana Simulation by  doxygen 1.3.9.1