G4BetaPlusDecayChannel.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 #ifndef G4BetaPlusDecayChannel_h
00027 #define G4BetaPlusDecayChannel_h 1
00028 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00029 //
00030 // MODULE:              G4BetaPlusDecayChannel.hh
00031 //
00032 // Version:             0.b.3
00033 // Date:                29/02/00
00034 // Author:              F Lei & P R Truscott
00035 // Organisation:        DERA UK
00036 // Customer:            ESA/ESTEC, NOORDWIJK
00037 // Contract:            12115/96/JG/NL Work Order No. 3
00038 //
00039 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00040 //
00041 // CHANGE HISTORY
00042 // --------------
00043 //
00044 // 29 February 2000, P R Truscott, DERA UK
00045 // 0.b.3 release.
00046 //
00047 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
00049 //
00050 
00051 #include <CLHEP/Units/SystemOfUnits.h>
00052 
00053 #include "globals.hh"
00054 #include "G4NuclearDecayChannel.hh"
00055 #include "G4RadioactiveDecayMode.hh"
00056 
00058 //
00059 class G4BetaPlusDecayChannel : public G4NuclearDecayChannel
00060 {
00061   // class description 
00062   //
00063   //   Derived class from G4NuclearDecayChannel.  It is specific for
00064   //   Beta+ decay proceess. 
00065   //
00066   // class  description - end
00067   //
00068   //
00069   public:
00070     G4BetaPlusDecayChannel (G4int Verbose,
00071                             const G4ParticleDefinition *theParentNucleus,
00072                             G4double theBR,
00073                             G4double theEndPointEnergy=0.0,
00074                             G4double theDaughterExcitation=0.0,
00075                             G4double theFFN=0.0,
00076                             G4bool   theBetaSimple = false,
00077                             CLHEP::RandGeneral* theRandEnergy = 0) :
00078       G4NuclearDecayChannel (BetaPlus, 
00079                              Verbose, 
00080                              theParentNucleus, 
00081                              theBR,
00082                              theFFN, 
00083                              theBetaSimple,
00084                              theRandEnergy,
00085                              theEndPointEnergy,
00086                              theParentNucleus->GetBaryonNumber(),
00087                              int(theParentNucleus->GetPDGCharge()/CLHEP::eplus)-1,
00088                              theDaughterExcitation, "e+", "nu_e")
00089     {
00090 #ifdef G4VERBOSE
00091       if (GetVerboseLevel()>1)
00092         G4cout <<"G4BetaPlusDecayChannel constructor" <<G4endl;
00093 #endif
00094     }
00095   ~G4BetaPlusDecayChannel () {;}
00096 };
00097 #endif
00098 

Generated on Mon May 27 17:47:44 2013 for Geant4 by  doxygen 1.4.7