G4HEProtonInelastic.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 //
00029 // G4 Gheisha High Energy model class -- header file
00030 // H. Fesefeldt, RWTH Aachen 23-October-1996
00031 // A prototype of the Gheisha High Energy collision model.
00032 
00033 #ifndef G4HEProtonInelastic_h
00034 #define G4HEProtonInelastic_h 1
00035 
00036 // Class description:
00037 // High energy parameterized model for proton inelastic scattering.  This
00038 // class is responsible for producing the final state of the interaction and
00039 // is typically valid for incident proton energies above 45 GeV.  This
00040 // physics may be invoked by registering an instance of the class with
00041 // G4ProtonInelasticProcess in the user's physics list.
00042 //
00043 // This class is derived from G4HEInelastic which in turn is derived from
00044 // G4HadronicInteraction.
00045 
00046 // Class Description - End
00047 
00048 #include <CLHEP/Units/SystemOfUnits.h>
00049 
00050 #include "G4HEInelastic.hh"
00051 
00052 class G4HEProtonInelastic : public G4HEInelastic  
00053 {
00054   public:  // with description
00055     G4HEProtonInelastic() : G4HEInelastic("G4HEProtonInelastic")
00056     {
00057       vecLength = 0;
00058       theMinEnergy = 45*CLHEP::GeV;
00059       theMaxEnergy = 10*CLHEP::TeV;
00060       MAXPART      = 2048;
00061       verboseLevel = 0; 
00062       G4cout << "WARNING: model G4HEProtonInelastic is being deprecated and will\n"
00063              << "disappear in Geant4 version 10.0"  << G4endl;  
00064     }
00065 
00066     ~G4HEProtonInelastic() {};
00067 
00068     virtual void ModelDescription(std::ostream&) const;
00069          
00070     G4int vecLength;
00071         
00072     G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack,
00073                                    G4Nucleus& targetNucleus);
00074 
00075     G4int GetNumberOfSecondaries() {return vecLength;}
00076 
00077     void FirstIntInCasProton(G4bool& inElastic,
00078                              const G4double availableEnergy,
00079                              G4HEVector pv[],
00080                              G4int& vecLen, 
00081                              const G4HEVector& incidentParticle,
00082                              const G4HEVector& targetParticle,
00083                              const G4double atomicWeight);
00084 };
00085 #endif
00086 

Generated on Mon May 27 17:48:30 2013 for Geant4 by  doxygen 1.4.7