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 // $Id$ 00028 // 00029 #ifndef G4VHighEnergyGenerator_h 00030 #define G4VHighEnergyGenerator_h 1 00031 00032 // Class Description 00033 // Base class for high energy interaction models in geant4. By merit of inheriting 00034 // from this class a high energy interaction model can be used in conjunction with 00035 // any cascade, precompound model and evaporation phase in the 00036 // generation of complete final states for inelastic scattering. 00037 // Class Description - End 00038 00039 #include "G4Nucleus.hh" 00040 #include "G4HadProjectile.hh" 00041 class G4KineticTrackVector; 00042 #include "G4ReactionProduct.hh" 00043 #include "G4V3DNucleus.hh" 00044 00045 class G4VHighEnergyGenerator 00046 { 00047 public: 00048 G4VHighEnergyGenerator(const G4String& modelName = "High Energy Generator"); 00049 virtual ~G4VHighEnergyGenerator(); 00050 00051 private: 00052 G4VHighEnergyGenerator(const G4VHighEnergyGenerator &right); 00053 const G4VHighEnergyGenerator & operator=(const G4VHighEnergyGenerator &right); 00054 int operator==(const G4VHighEnergyGenerator &right) const; 00055 int operator!=(const G4VHighEnergyGenerator &right) const; 00056 00057 public: 00058 virtual G4V3DNucleus * GetWoundedNucleus() const = 0; 00059 virtual G4KineticTrackVector * Scatter(const G4Nucleus &theNucleus, 00060 const G4DynamicParticle &thePrimary) = 0; 00061 std::pair<G4double, G4double> GetEnergyMomentumCheckLevels() const; 00062 void SetEnergyMomentumCheckLevels(G4double relativeLevel, G4double AbsoluteLevel); 00063 virtual void ModelDescription(std::ostream&) const; 00064 virtual G4String GetModelName() const; 00065 00066 private: 00067 std::pair<G4double, G4double> epCheckLevels; 00068 00069 private: 00070 G4String theGeneratorModelName; 00071 00072 }; 00073 #endif 00074 00075