[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 | // |
---|
[1315] | 26 | // $Id: G4HEKaonZeroShortInelastic.hh,v 1.15 2010/02/09 21:58:33 dennis Exp $ |
---|
| 27 | // GEANT4 tag $Name: geant4-09-04-beta-cand-01 $ |
---|
[819] | 28 | // |
---|
| 29 | // |
---|
| 30 | // G4 Gheisha High Energy model class -- header file |
---|
| 31 | // H. Fesefeldt, RWTH Aachen 23-October-1996 |
---|
[1315] | 32 | // New version to fix segmentation faults |
---|
| 33 | // D,H, Wright (SLAC) 21-January-2010 |
---|
[819] | 34 | |
---|
| 35 | #ifndef G4HEKaonZeroShortInelastic_h |
---|
| 36 | #define G4HEKaonZeroShortInelastic_h 1 |
---|
| 37 | |
---|
| 38 | // Class description: |
---|
| 39 | // High energy parameterized model for K0S inelastic scattering. This |
---|
| 40 | // class is responsible for producing the final state of the interaction and |
---|
| 41 | // is typically valid for incident K0S energies above 20 GeV. This |
---|
| 42 | // physics may be invoked by registering an instance of the class with |
---|
| 43 | // G4KaonZeroSInelasticProcess in the user's physics list. |
---|
| 44 | // |
---|
| 45 | // This class is derived from G4HEInelastic which in turn is derived from |
---|
| 46 | // G4HadronicInteraction. |
---|
| 47 | |
---|
| 48 | // Class Description - End |
---|
| 49 | |
---|
| 50 | |
---|
[1315] | 51 | #include "G4HEInelastic.hh" |
---|
| 52 | |
---|
[819] | 53 | class G4HEKaonZeroShortInelastic : public G4HEInelastic |
---|
| 54 | { |
---|
| 55 | public: // with description |
---|
| 56 | G4HEKaonZeroShortInelastic() : G4HEInelastic("G4HEKaonZeroShortInelastic") |
---|
| 57 | { |
---|
| 58 | theMinEnergy = 20*GeV; |
---|
| 59 | theMaxEnergy = 10*TeV; |
---|
| 60 | MAXPART = 2048; |
---|
| 61 | verboseLevel = 0; |
---|
| 62 | } |
---|
| 63 | |
---|
| 64 | ~G4HEKaonZeroShortInelastic(){ }; |
---|
| 65 | |
---|
| 66 | G4int vecLength; |
---|
| 67 | |
---|
[1315] | 68 | G4HadFinalState* ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus); |
---|
[819] | 69 | |
---|
| 70 | G4int GetNumberOfSecondaries() |
---|
| 71 | { return vecLength;}; |
---|
| 72 | |
---|
[1315] | 73 | void FirstIntInCasKaonZero(G4bool &inElastic, const G4double availableEnergy, |
---|
| 74 | G4HEVector pv[], |
---|
| 75 | G4int &vecLen, |
---|
| 76 | G4HEVector incidentParticle, |
---|
| 77 | G4HEVector targetParticle, |
---|
| 78 | const G4double atomicWeight); |
---|
[819] | 79 | |
---|
[1315] | 80 | void FirstIntInCasAntiKaonZero(G4bool &inElastic, const G4double availableEnergy, |
---|
| 81 | G4HEVector pv[], |
---|
| 82 | G4int &vecLen, |
---|
| 83 | G4HEVector incidentParticle, |
---|
| 84 | G4HEVector targetParticle); |
---|
| 85 | |
---|
[819] | 86 | }; |
---|
| 87 | #endif |
---|
| 88 | |
---|
| 89 | |
---|