G4AdjointComptonModel.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: G4AdjointComptonModel.hh 69844 2013-05-16 09:19:33Z gcosmo $
00027 //
00029 //      Class:          G4AdjointComptonModel
00030 //      Author:         L. Desorgher
00031 //      Organisation:   SpaceIT GmbH
00032 //      Contract:       ESA contract 21435/08/NL/AT
00033 //      Customer:       ESA/ESTEC
00035 //
00036 // CHANGE HISTORY
00037 // --------------
00038 //      ChangeHistory: 
00039 //              1 September 2007 creation by L. Desorgher 
00040 //              11 November 2009 Implement the use of approximated diffCS as an alternative of CSMatrix.                
00041 //
00042 //-------------------------------------------------------------
00043 //      Documentation:
00044 //              Model for the adjoint compton scattering.
00045 //
00046 
00047 #ifndef G4AdjointComptonModel_h
00048 #define G4AdjointComptonModel_h 1
00049 
00050 
00051 #include "globals.hh"
00052 #include "G4VEmAdjointModel.hh"
00053 #include "G4VEmProcess.hh"
00054 class G4AdjointComptonModel: public G4VEmAdjointModel
00055 
00056 {
00057 public:
00058 
00059   G4AdjointComptonModel();
00060   ~G4AdjointComptonModel(); 
00061   
00062   
00063   virtual void SampleSecondaries(const G4Track& aTrack,
00064                                 G4bool IsScatProjToProjCase,
00065                                 G4ParticleChange* fParticleChange);
00066   void RapidSampleSecondaries(const G4Track& aTrack,
00067                                 G4bool IsScatProjToProjCase,
00068                                 G4ParticleChange* fParticleChange);
00069   
00070   virtual G4double DiffCrossSectionPerAtomPrimToScatPrim( 
00071                                       G4double kinEnergyProj,  // kinetic energy of the primary particle before the interaction 
00072                                       G4double kinEnergyScatProj, // kinetic energy of the primary particle after the interaction 
00073                                       G4double Z, 
00074                                       G4double A = 0.); 
00075   virtual G4double DiffCrossSectionPerAtomPrimToSecond(
00076                                       G4double kinEnergyProj,  // kinetic energy of the primary particle before the interaction 
00077                                       G4double kinEnergyProd, // kinetic energy of the secondary particle 
00078                                       G4double Z, 
00079                                       G4double A = 0.);
00080  
00081   virtual G4double GetSecondAdjEnergyMaxForScatProjToProjCase(G4double PrimAdjEnergy);
00082   virtual G4double GetSecondAdjEnergyMinForProdToProjCase(G4double PrimAdjEnergy);
00083   
00084   
00085   virtual G4double AdjointCrossSection(const G4MaterialCutsCouple* aCouple,
00086                                              G4double primEnergy,
00087                                              G4bool IsScatProjToProjCase);
00088   
00089   virtual G4double GetAdjointCrossSection(const G4MaterialCutsCouple* aCouple,
00090                                              G4double primEnergy,
00091                                              G4bool IsScatProjToProjCase);
00092 
00093   
00094   
00095   inline void SetDirectProcess(G4VEmProcess* aProcess){theDirectEMProcess = aProcess;};                       
00096   
00097 private:
00098   G4VEmProcess* theDirectEMProcess;
00099   G4double G4direct_CS;
00100   
00101     
00102 };
00103 
00104 #endif

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