Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4HEKaonZeroLongInelastic.hh
Go to the documentation of this file.
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// $Id$
27//
28//
29// G4 Gheisha High Energy model class -- header file
30// H. Fesefeldt, RWTH Aachen 23-October-1996
31// New version to fix segmentation faults
32// D,H, Wright (SLAC) 21-January-2010
33
34#ifndef G4HEKaonZeroLongInelastic_h
35#define G4HEKaonZeroLongInelastic_h 1
36
37// Class description:
38// High energy parameterized model for K0L inelastic scattering. This
39// class is responsible for producing the final state of the interaction and
40// is typically valid for incident K0L energies above 20 GeV. This
41// physics may be invoked by registering an instance of the class with
42// G4KaonZeroLInelasticProcess in the user's physics list.
43//
44// This class is derived from G4HEInelastic which in turn is derived from
45// G4HadronicInteraction.
46
47// Class Description - End
48
50#include "G4HEInelastic.hh"
51
53{
54 public: // with description
55 G4HEKaonZeroLongInelastic() : G4HEInelastic("G4HEKaonZeroLongInelastic")
56 {
57 theMinEnergy = 20*CLHEP::GeV;
58 theMaxEnergy = 10*CLHEP::TeV;
59 MAXPART = 2048;
60 verboseLevel = 0;
61 G4cout << "WARNING: model G4HEKaonZeroLongInelastic is being deprecated and will\n"
62 << "disappear in Geant4 version 10.0" << G4endl;
63 }
64
66
67 virtual void ModelDescription(std::ostream&) const;
68
70
72 G4Nucleus& targetNucleus);
73
75 { return vecLength;};
76
77 void FirstIntInCasKaonZero(G4bool& inElastic,
78 const G4double availableEnergy,
79 G4HEVector pv[],
80 G4int& vecLen,
81 const G4HEVector& incidentParticle,
82 const G4HEVector& targetParticle,
83 const G4double atomicWeight);
84
85 void FirstIntInCasAntiKaonZero(G4bool& inElastic,
86 const G4double availableEnergy,
87 G4HEVector pv[],
88 G4int& vecLen,
89 const G4HEVector& incidentParticle,
90 const G4HEVector& targetParticle);
91};
92#endif
93
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
bool G4bool
Definition: G4Types.hh:67
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout
void FirstIntInCasAntiKaonZero(G4bool &inElastic, const G4double availableEnergy, G4HEVector pv[], G4int &vecLen, const G4HEVector &incidentParticle, const G4HEVector &targetParticle)
void FirstIntInCasKaonZero(G4bool &inElastic, const G4double availableEnergy, G4HEVector pv[], G4int &vecLen, const G4HEVector &incidentParticle, const G4HEVector &targetParticle, const G4double atomicWeight)
virtual void ModelDescription(std::ostream &) const
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)