G4QMDReaction.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 //      GEANT4 Class file
00028 //
00029 //
00030 //      File name: G4QMDReaction.hh 
00031 //
00032 //      Author: Koi, Tatsumi (tkoi@slac.stanford.edu)       
00033 // 
00034 //      Creation date: 02 April 2007
00035 // -----------------------------------------------------------------------------
00036 //
00037 // 081107 Add UnUseGEM (then use the default channel of G4Evaporation)
00038 //            UseFrag (chage criterion of a inelastic reaction)
00039 // 090331 Change member shenXS and genspaXS object to pointer 
00040 //
00041 
00042 #ifndef G4QMDReaction_hh
00043 #define G4QMDReaction_hh
00044 
00045 #include "G4QMDSystem.hh"
00046 #include "G4QMDCollision.hh"
00047 #include "G4QMDMeanField.hh"
00048 #include "G4QMDParticipant.hh"
00049 
00050 #include "G4IonsShenCrossSection.hh"
00051 #include "G4GeneralSpaceNNCrossSection.hh"
00052 #include "G4PiNuclearCrossSection.hh"
00053 
00054 #include "G4HadronicInteraction.hh"
00055 
00056 #include "G4Evaporation.hh"
00057 #include "G4ExcitationHandler.hh"
00058 //#include "G4PreCompoundModel.hh"
00059 
00060 class G4QMDReaction : public G4HadronicInteraction
00061 {
00062    public:
00063       G4QMDReaction();
00064       ~G4QMDReaction();
00065 
00066       std::vector< G4QMDSystem* > GetFinalStates(); 
00067 
00068 
00069       G4HadFinalState *ApplyYourself( const G4HadProjectile &aTrack, G4Nucleus & targetNucleus );
00070 
00071       void UnUseGEM(){ gem = false; setEvaporationCh(); };
00072       void UseFRAG(){ frag = true; };
00073 
00074       void EnableFermiG(){ heg = true; setHighEnergyModel(); };
00075 
00076       void SetTMAX( G4int i ){ maxTime = i; };
00077       void SetDT( G4double t ){ deltaT = t; };
00078       void SetEF( G4double x ){ envelopF = x; };
00079 
00080    private:
00081 
00082       void setEvaporationCh();
00083       void setHighEnergyModel();
00084 
00085       G4QMDMeanField* meanField;
00086 
00087       G4QMDCollision* collision;
00088 
00089       void doCollision();
00090       std::vector< G4QMDSystem* > doClusterJudgment();
00091       
00092       G4QMDSystem* system;
00093       G4double deltaT;
00094       G4int maxTime;
00095       G4double envelopF;
00096 
00097       G4Evaporation* evaporation;
00098       G4ExcitationHandler* excitationHandler;
00099 
00100 //      G4VPreCompoundModel* preco; 
00101 
00102 
00103       //                            b        pd_proj                pd_targ                  z_p     a_p     z_t     a_t      plab       elab
00104 //      G4double offSetOfCollision( G4double , G4ParticleDefinition* , G4ParticleDefinition* , G4int , G4int , G4int , G4int , G4double , G4double  );  
00105       //                           b          pd_proj                 pd_targ                 plab       elab      bmax boostToCM
00106       void calcOffSetOfCollision( G4double , G4ParticleDefinition* , G4ParticleDefinition* , G4double , G4double , G4double , G4ThreeVector );  
00107       G4double coulomb_collision_gamma_proj;
00108       G4double coulomb_collision_rx_proj;
00109       G4double coulomb_collision_rz_proj;
00110       G4double coulomb_collision_px_proj;
00111       G4double coulomb_collision_pz_proj;
00112 
00113       G4double coulomb_collision_gamma_targ;
00114       G4double coulomb_collision_rx_targ;
00115       G4double coulomb_collision_rz_targ;
00116       G4double coulomb_collision_px_targ;
00117       G4double coulomb_collision_pz_targ;
00118 
00119 //090331
00120       G4IonsShenCrossSection* shenXS;
00121       G4GeneralSpaceNNCrossSection* genspaXS;
00122 
00123       G4PiNuclearCrossSection* piNucXS;
00124 
00125       G4bool gem;
00126       G4bool frag;
00127       G4bool heg;
00128 
00129 };
00130 
00131 #endif

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