G4QNGamma.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 // GEANT4 tag $Name: not supported by cvs2svn $
00027 //
00028 //      ---------------- G4QNGamma header ----------------
00029 //                 by Mikhail Kossov, April 2012.
00030 //  Header of G4QNGamma class (neutrons) of the CHIPS Simulation Branch in GEANT4
00031 // -------------------------------------------------------------------------------
00032 // This is a CHIPS class for the (n,gamma) reactions.
00033 // -------------------------------------------------------------------------------
00034 // ****************************************************************************************
00035 // This Header is a part of the CHIPS physics package (author: M. Kosov)
00036 // ****************************************************************************************
00037 // Short description: This is a CHIPS process class for (n,gamma) reactions.
00038 // -------------------------------------------------------------------------
00039 
00040 #ifndef G4QNGamma_hh
00041 #define G4QNGamma_hh
00042 
00043 // GEANT4 Headers
00044 #include "globals.hh"
00045 #include "G4ios.hh"
00046 #include "Randomize.hh" 
00047 #include "G4QThd.hh"
00048 #include "G4VDiscreteProcess.hh"
00049 #include "G4Track.hh"
00050 #include "G4Step.hh"
00051 #include "G4ParticleTypes.hh"
00052 #include "G4VParticleChange.hh"
00053 #include "G4ParticleDefinition.hh"
00054 #include "G4DynamicParticle.hh"
00055 #include "G4ThreeVector.hh"
00056 #include "G4LorentzVector.hh"
00057 #include "G4RandomDirection.hh"
00058 
00059 // CHIPS Headers
00060 #include "G4VQCrossSection.hh"
00061 #include "G4QIsotope.hh"
00062 #include "G4QNeutronNuclearCrossSection.hh"
00063 #include "G4QNeutronCaptureRatio.hh"
00064 #include "G4QPDGToG4Particle.hh"
00065 
00066 class G4QNGamma : public G4VDiscreteProcess
00067 {
00068 public:
00069 
00070   // Constructor
00071   G4QNGamma(const G4String& processName = "CHIPS_N-Gamma" );
00072 
00073   // Destructor
00074   ~G4QNGamma();
00075 
00076   G4bool IsApplicable(const G4ParticleDefinition& particle);
00077 
00078   G4double GetMeanFreePath(const G4Track& aTrack, G4double previousStepSize,
00079                            G4ForceCondition* condition);
00080   // It returns the MeanFreePath of the process for the current track :
00081   // (energy, material)
00082   // The previousStepSize and G4ForceCondition* are not used.
00083   // This function overloads a virtual function of the base class.        
00084   // It is invoked by the ProcessManager of the Particle.
00085  
00086 
00087   G4VParticleChange* PostStepDoIt(const G4Track& aTrack, const G4Step& aStep); 
00088   // It computes the final state of the process (at end of step),
00089   // returned as a ParticleChange object.       
00090   // This function overloads a virtual function of the base class.
00091   // It is invoked by the ProcessManager of the Particle.
00092 
00093   // Fake void functions
00094   void SetPhysicsTableBining(G4double, G4double, G4int) {;}
00095   void BuildPhysicsTable(const G4ParticleDefinition&) {;}
00096   void PrintInfoDefinition() {;}
00097 
00098   // Internal Energy-Momentum Residual
00099   G4LorentzVector GetEnegryMomentumConservation();
00100 
00101   // Number of neutrons in the target nucleus (primary)
00102   G4int GetNumberOfNeutronsInTarget();
00103 
00104 
00105 private:
00106 
00107   // Hide assignment operator as private 
00108   G4QNGamma& operator=(const G4QNGamma &right);
00109 
00110   // Copy constructor
00111   G4QNGamma(const G4QNGamma&);
00112 
00113   // BODY
00114   // Working parameters
00115   G4LorentzVector EnMomConservation;                  // Residual of Energy/Momentum Cons.
00116   G4int nOfNeutrons;                                  // #of neutrons in the target nucleus
00117 
00118   // Modifires for the reaction
00119   G4double Time;                                      // Time shift of the capture reaction
00120   G4double EnergyDeposition;                          // Energy deposited in the reaction
00121   static std::vector <G4int> ElementZ;                // Z of the element(i) in theLastCalc
00122   static std::vector <G4double> ElProbInMat;          // SumProbabilityElements in Material
00123   static std::vector <std::vector<G4int>*> ElIsoN;    // N of isotope(j) of Element(i)
00124   static std::vector <std::vector<G4double>*> IsoProbInEl;// SumProbabIsotopes in Element i
00125 };
00126 #endif

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