G4AdjointIonIonisationModel.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: G4AdjointIonIonisationModel.hh 69844 2013-05-16 09:19:33Z gcosmo $
00027 //
00029 //      Class:          G4IonIonisationModel
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 //              26th August 2009 creation by L. Desorgher               
00040 //
00041 //-------------------------------------------------------------
00042 //      Documentation:
00043 //              Adjoint EM model for discrete reverse ion ionisation
00044 //
00045 
00046 #ifndef G4AdjointIonIonisationModel_h
00047 #define G4AdjointIonIonisationModel_h 1
00048 
00049 #include "globals.hh"
00050 #include "G4DynamicParticle.hh"
00051 #include "G4ParticleDefinition.hh"
00052 #include "G4MaterialCutsCouple.hh"
00053 #include "G4Material.hh"
00054 #include "G4Element.hh"
00055 #include "G4ElementVector.hh"
00056 #include "Randomize.hh"
00057 #include "G4ParticleDefinition.hh"
00058 #include "G4VEmModel.hh"
00059 #include "G4Electron.hh"
00060 #include "G4Gamma.hh"
00061 #include "G4ProductionCutsTable.hh"
00062 #include "G4VEmAdjointModel.hh"
00063 class G4PhysicsTable;
00064 class G4Region;
00065 class G4VParticleChange;
00066 class G4ParticleChange;
00067 class G4Track;
00068 class G4AdjointCSMatrix;
00069 
00070 
00071 class G4AdjointIonIonisationModel: public G4VEmAdjointModel
00072 {
00073 
00074 public:
00075 
00076   G4AdjointIonIonisationModel();
00077 
00078   virtual ~G4AdjointIonIonisationModel();
00079   
00080   
00081   virtual void SampleSecondaries(const G4Track& aTrack,
00082                                 G4bool IsScatProjToProjCase,
00083                                 G4ParticleChange* fParticleChange);
00084 
00085 
00086   virtual G4double DiffCrossSectionPerAtomPrimToSecond(
00087                                       G4double kinEnergyProj,  // kinetic energy of the primary particle before the interaction 
00088                                       G4double kinEnergyProd, // kinetic energy of the secondary particle 
00089                                       G4double Z, 
00090                                       G4double A = 0.);
00091   
00092   virtual void CorrectPostStepWeight(G4ParticleChange* fParticleChange, 
00093                                      G4double old_weight, 
00094                                      G4double adjointPrimKinEnergy, 
00095                                      G4double projectileKinEnergy,
00096                                      G4bool IsScatProjToProjCase);                                                                    
00097  
00098   //Set/Get methods
00099   //------------------
00100   
00101   virtual G4double GetSecondAdjEnergyMaxForScatProjToProjCase(G4double PrimAdjEnergy);
00102   virtual G4double GetSecondAdjEnergyMinForScatProjToProjCase(G4double PrimAdjEnergy,G4double Tcut=0);
00103   virtual G4double GetSecondAdjEnergyMaxForProdToProjCase(G4double PrimAdjEnergy);
00104   virtual G4double GetSecondAdjEnergyMinForProdToProjCase(G4double PrimAdjEnergy);
00105   
00106   inline void SetUseOnlyBragg(G4bool aBool){use_only_bragg =aBool;}
00107   
00108   
00109   void SetIon(G4ParticleDefinition* adj_ion, G4ParticleDefinition* fwd_ion);
00110  
00111 
00112 private: //Methods
00113      
00114     
00115   void DefineProjectileProperty();
00116   
00117   //projectile property
00118   G4double mass;
00119   G4double tlimit;
00120   G4double spin;
00121   G4double magMoment2;
00122   G4double chargeSquare;
00123   G4double massRatio;
00124   
00125   G4double ratio, ratio2; 
00126   G4double one_plus_ratio_2;
00127   G4double formfact;
00128   G4bool   isIon;
00129   G4double one_minus_ratio_2;
00130   
00131   G4bool use_only_bragg;
00132   
00133   
00134   G4VEmModel* theBraggIonDirectEMModel; 
00135   G4VEmModel* theBetheBlochDirectEMModel;                                   
00136 
00137   
00138 
00139    
00140    
00141 
00142   
00143 };
00144 
00145 
00146 #endif
00147 

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