[819] | 1 | // |
---|
| 2 | // ******************************************************************** |
---|
| 3 | // * License and Disclaimer * |
---|
| 4 | // * * |
---|
| 5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
| 6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
| 7 | // * conditions of the Geant4 Software License, included in the file * |
---|
| 8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
| 9 | // * include a list of copyright holders. * |
---|
| 10 | // * * |
---|
| 11 | // * Neither the authors of this software system, nor their employing * |
---|
| 12 | // * institutes,nor the agencies providing financial support for this * |
---|
| 13 | // * work make any representation or warranty, express or implied, * |
---|
| 14 | // * regarding this software system or assume any liability for its * |
---|
| 15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
| 16 | // * for the full disclaimer and the limitation of liability. * |
---|
| 17 | // * * |
---|
| 18 | // * This code implementation is the result of the scientific and * |
---|
| 19 | // * technical work of the GEANT4 collaboration. * |
---|
| 20 | // * By using, copying, modifying or distributing the software (or * |
---|
| 21 | // * any work based on the software) you agree to acknowledge its * |
---|
| 22 | // * use in resulting scientific publications, and indicate your * |
---|
| 23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
| 24 | // ******************************************************************** |
---|
| 25 | // |
---|
| 26 | // |
---|
[1347] | 27 | // $Id: G4HEAntiProtonInelastic.hh,v 1.17 2010/11/29 05:45:06 dennis Exp $ |
---|
| 28 | // GEANT4 tag $Name: geant4-09-04-ref-00 $ |
---|
[819] | 29 | // |
---|
| 30 | // |
---|
| 31 | // G4 Gheisha High Energy model class -- header file |
---|
| 32 | // H. Fesefeldt, RWTH Aachen 23-October-1996 |
---|
| 33 | // Last modified: 10-December-1996 |
---|
| 34 | |
---|
| 35 | // A prototype of the Gheisha High Energy collision model. |
---|
| 36 | |
---|
| 37 | #ifndef G4HEAntiProtonInelastic_h |
---|
| 38 | #define G4HEAntiProtonInelastic_h 1 |
---|
| 39 | |
---|
| 40 | // Class description: |
---|
| 41 | // High energy parameterized model for anti-proton inelastic scattering. This |
---|
| 42 | // class is responsible for producing the final state of the interaction and |
---|
| 43 | // is typically valid for incident anti-proton energies above 20 GeV. This |
---|
| 44 | // physics may be invoked by registering an instance of the class with |
---|
| 45 | // G4AntiProtonInelasticProcess in the user's physics list. |
---|
| 46 | // |
---|
| 47 | // This class is derived from G4HEInelastic which in turn is derived from |
---|
| 48 | // G4HadronicInteraction. |
---|
| 49 | |
---|
| 50 | // Class Description - End |
---|
| 51 | |
---|
| 52 | #include "G4HEInelastic.hh" |
---|
| 53 | |
---|
| 54 | class G4HEAntiProtonInelastic : public G4HEInelastic |
---|
| 55 | { |
---|
| 56 | public: // with description |
---|
| 57 | G4HEAntiProtonInelastic() : G4HEInelastic("G4HEAntiProtonInelastic") |
---|
| 58 | { |
---|
[1347] | 59 | vecLength = 0; |
---|
[819] | 60 | theMinEnergy = 20*GeV; |
---|
| 61 | theMaxEnergy = 10*TeV; |
---|
| 62 | MAXPART = 2048; |
---|
| 63 | verboseLevel = 0; |
---|
| 64 | } |
---|
| 65 | |
---|
| 66 | ~G4HEAntiProtonInelastic(){ }; |
---|
| 67 | |
---|
| 68 | G4int vecLength; |
---|
| 69 | |
---|
[1347] | 70 | G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, |
---|
| 71 | G4Nucleus &targetNucleus); |
---|
[819] | 72 | |
---|
[1347] | 73 | G4int GetNumberOfSecondaries() {return vecLength;} |
---|
[819] | 74 | |
---|
[1347] | 75 | void FirstIntInCasAntiProton(G4bool& inElastic, |
---|
| 76 | const G4double availableEnergy, |
---|
[819] | 77 | G4HEVector pv[], |
---|
[1347] | 78 | G4int& vecLen, |
---|
| 79 | const G4HEVector& incidentParticle, |
---|
| 80 | const G4HEVector& targetParticle, |
---|
[819] | 81 | const G4double atomicWeight); |
---|
| 82 | }; |
---|
[1347] | 83 | #endif |
---|
[819] | 84 | |
---|