G4RPGFragmentation.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$
00027 //
00028 // Author: D.H. Wright
00029 // Date:   29 May 2007
00030 //
00031  
00032 #ifndef G4RPGFragmentation_h
00033 #define G4RPGFragmentation_h 1
00034 
00035 // Class Description:
00036 //
00037 // Calculation of the hadron fragmentation stage of the hadron-nucleus 
00038 // reaction.  The Gheisha method of parameterized fragmentation is used.
00039 
00040 
00041 #include "G4RPGReaction.hh"
00042 #include "G4DynamicParticle.hh"
00043 #include "G4ReactionProduct.hh"
00044 #include "G4Nucleus.hh"
00045 #include "G4FastVector.hh"
00046 #include "G4HadProjectile.hh"
00047 
00048 
00049  class G4RPGFragmentation : public G4RPGReaction 
00050  {
00051  public:  // with description
00052 
00053    G4RPGFragmentation();
00054     
00055    void FragmentationIntegral(G4double /*pt*/, G4double /*et*/, 
00056                               G4double /*parMass*/, G4double /*secMass*/);
00057 
00058    G4bool ReactionStage(const G4HadProjectile* /*originalIncident*/,
00059                         G4ReactionProduct& /*modifiedOriginal*/,
00060                         G4bool& /*incidentHasChanged*/,
00061                         const G4DynamicParticle* /*originalTarget*/,
00062                         G4ReactionProduct& /*targetParticle*/,
00063                         G4bool& /*targetHasChanged*/,
00064                         const G4Nucleus& /*targetNucleus*/,
00065                         G4ReactionProduct& /*currentParticle*/,
00066                         G4FastVector<G4ReactionProduct,256>& /*vec*/,
00067                         G4int& /*vecLen*/,
00068                         G4bool /*leadFlag*/,
00069                         G4ReactionProduct& /*leadingStrangeParticle*/);
00070 
00071 
00072  private:
00073 
00074    void 
00075    ReduceEnergiesOfSecondaries(G4int /*startingIndex*/,
00076                                G4double& /*forwardKinetic*/,
00077                                G4double& /*backwardKinetic*/,
00078                                G4FastVector<G4ReactionProduct,256>& /*vec*/,
00079                                G4int& /*vecLen*/,
00080                                G4ReactionProduct& /*forwardPseudoParticle*/,
00081                                G4ReactionProduct& /*backwardPseudoParticle*/,
00082                                G4double& /*pt*/);
00083 
00084    G4double dndl[20];    
00085  };
00086  
00087 #endif
00088  

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