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 G4HEAntiXiZeroInelastic_h 00034 #define G4HEAntiXiZeroInelastic_h 1 00035 00036 // Class description: 00037 // High energy parameterized model for anti-Xi0 inelastic scattering. This 00038 // class is responsible for producing the final state of the interaction and 00039 // is typically valid for incident anti-Xi0 energies above 20 GeV. This 00040 // physics may be invoked by registering an instance of the class with 00041 // G4AntiXiZeroInelasticProcess 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 #include "G4HEInelastic.hh" 00050 00051 class G4HEAntiXiZeroInelastic : public G4HEInelastic 00052 { 00053 public: // with description 00054 G4HEAntiXiZeroInelastic() : G4HEInelastic("G4HEAntiXiZeroInelastic") 00055 { 00056 vecLength = 0; 00057 theMinEnergy = 20*CLHEP::GeV; 00058 theMaxEnergy = 10*CLHEP::TeV; 00059 MAXPART = 2048; 00060 verboseLevel = 0; 00061 G4cout << "WARNING: model G4HEAntiXiZeroInelastic is being deprecated and will\n" 00062 << "disappear in Geant4 version 10.0" << G4endl; 00063 } 00064 00065 ~G4HEAntiXiZeroInelastic() {}; 00066 00067 virtual void ModelDescription(std::ostream&) const; 00068 00069 G4int vecLength; 00070 00071 G4HadFinalState* ApplyYourself(const G4HadProjectile& aTrack, 00072 G4Nucleus& targetNucleus); 00073 00074 G4int GetNumberOfSecondaries() {return vecLength;} 00075 00076 void FirstIntInCasAntiXiZero(G4bool& inElastic, 00077 const G4double availableEnergy, 00078 G4HEVector pv[], 00079 G4int& vecLen, 00080 const G4HEVector& incidentParticle, 00081 const G4HEVector& targetParticle, 00082 const G4double atomicWeight); 00083 }; 00084 #endif 00085