G4eplusAnnihilation.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 // $Id$
00027 //
00028 // -------------------------------------------------------------------
00029 //
00030 // GEANT4 Class header file
00031 //
00032 //
00033 // File name:     G4eplusAnnihilation
00034 //
00035 // Author:        Vladimir Ivanchenko on base of Michel Maire code
00036 //
00037 // Creation date: 02.08.2004
00038 //
00039 // Modifications:
00040 // 08-11-04 Migration to new interface of Store/Retrieve tables (V.Ivanchenko)
00041 // 15-03-05 Update interface according to changings 
00042 //           in G4VEmProcess (V.Ivanchenko)
00043 // 08-04-05 Major optimisation of internal interfaces (V.Ivanchenko)
00044 // 04-05-05 Make class to be default (V.Ivanchenko)
00045 // 04-12-05 SetProposedKineticEnergy(0.) for annihilated positron (mma)
00046 // 09-08-06 add SetModel(G4VEmModel*) (mma)
00047 // 12-09-06, move SetModel(G4VEmModel*) in G4VEmProcess (mma)
00048 //
00049 //
00050 // Class Description:
00051 //
00052 // This class manages the process of e+ annihilation into 2 gammas
00053 //
00054 
00055 // -------------------------------------------------------------------
00056 //
00057 
00058 #ifndef G4eplusAnnihilation_h
00059 #define G4eplusAnnihilation_h 1
00060 
00061 #include "G4VEmProcess.hh"
00062 #include "G4Positron.hh"
00063 #include "G4VEmModel.hh"
00064 
00065 class G4ParticleDefinition;
00066 
00067 class G4eplusAnnihilation : public G4VEmProcess
00068 {
00069 
00070 public:
00071 
00072   G4eplusAnnihilation(const G4String& name = "annihil");
00073 
00074   virtual ~G4eplusAnnihilation();
00075 
00076   virtual G4bool IsApplicable(const G4ParticleDefinition& p);
00077 
00078   virtual G4VParticleChange* AtRestDoIt(
00079                              const G4Track& track,
00080                              const G4Step& stepData);
00081 
00082   virtual G4double AtRestGetPhysicalInteractionLength(
00083                              const G4Track& track,
00084                              G4ForceCondition* condition
00085                             );
00086 
00087   // Print out of the class parameters
00088   virtual void PrintInfo();
00089 
00090 protected:
00091 
00092   virtual void InitialiseProcess(const G4ParticleDefinition*);
00093 
00094 private:
00095   
00096   G4bool  isInitialised;
00097   const G4ParticleDefinition* theGamma;
00098 };
00099 
00100 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00101 
00102 #endif

Generated on Mon May 27 17:48:10 2013 for Geant4 by  doxygen 1.4.7