G4AnnihiToMuPair.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 //
00027 // $Id: G4AnnihiToMuPair.hh 66996 2013-01-29 14:50:52Z gcosmo $
00028 //
00029 //         ------------ G4AnnihiToMuPair physics process ------
00030 //         by H.Burkhardt, S. Kelner and R. Kokoulin, November 2002
00031 // -----------------------------------------------------------------------------
00032 
00033 // class description
00034 //
00035 // (high energy) e+ (atomic) e- ---> mu+ mu-
00036 // inherit from G4VDiscreteProcess
00037 //
00038 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......//
00039 //
00040 // 04.02.03 : cosmetic simplifications (mma)
00041 // 27.01.03 : first implementation (hbu)
00042 //
00043 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00044 
00045 #ifndef G4AnnihiToMuPair_h
00046 #define G4AnnihiToMuPair_h 1
00047 
00048 #include "G4VDiscreteProcess.hh"
00049 #include "globals.hh"
00050 
00051 class G4ParticleDefinition;
00052 class G4Track;
00053 class G4Step;
00054 
00055 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00056 
00057 class G4AnnihiToMuPair : public G4VDiscreteProcess
00058 {
00059   public:  // with description
00060 
00061      G4AnnihiToMuPair(const G4String& processName ="AnnihiToMuPair",
00062                             G4ProcessType type = fElectromagnetic);
00063 
00064     ~G4AnnihiToMuPair();
00065 
00066      G4bool IsApplicable(const G4ParticleDefinition&);
00067        // true for positron only.
00068 
00069      void BuildPhysicsTable(const G4ParticleDefinition&);
00070        // here dummy, just calling PrintInfoDefinition
00071        // the total cross section is calculated analytically
00072 
00073      void PrintInfoDefinition();
00074        // Print few lines of informations about the process: validity range,
00075        // origine ..etc..
00076        // Invoked by BuildPhysicsTable().
00077 
00078      void SetCrossSecFactor(G4double fac);
00079        // Set the factor to artificially increase the crossSection (default 1)
00080 
00081      G4double GetCrossSecFactor() {return CrossSecFactor;};
00082        // Get the factor to artificially increase the cross section
00083 
00084      G4double CrossSectionPerVolume(G4double PositronEnergy, 
00085                                     const G4Material*);
00086        // Compute total cross section                                    
00087 
00088      G4double ComputeCrossSectionPerAtom(G4double PositronEnergy,
00089                                          G4double AtomicZ);
00090        // Compute total cross section                                    
00091 
00092      G4double GetMeanFreePath(const G4Track& aTrack,
00093                               G4double previousStepSize,
00094                               G4ForceCondition* );
00095        // It returns the MeanFreePath of the process for the current track :
00096        // (energy, material)
00097        // The previousStepSize and G4ForceCondition* are not used.
00098        // This function overloads a virtual function of the base class.
00099        // It is invoked by the ProcessManager of the Particle.
00100 
00101      G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
00102                                      const G4Step& aStep);
00103        // It computes the final state of the process (at end of step),
00104        // returned as a ParticleChange object.
00105        // This function overloads a virtual function of the base class.
00106        // It is invoked by the ProcessManager of the Particle.
00107 
00108   private:
00109 
00110      // hide assignment operator as private
00111      G4AnnihiToMuPair& operator=(const G4AnnihiToMuPair &right);
00112      G4AnnihiToMuPair(const G4AnnihiToMuPair& );
00113 
00114      G4double LowestEnergyLimit;     // Energy threshold of e+
00115      G4double HighestEnergyLimit;    // Limit of validity of the model
00116 
00117      G4double CurrentSigma;          // the last value of cross section per volume 
00118 
00119      G4double CrossSecFactor;        // factor to artificially increase 
00120                                      // the cross section, static to make sure
00121                                      // to have single value
00122 };
00123 
00124 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00125 
00126 #endif
00127 

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