Geant4
9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4HEProtonInelastic.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
// A prototype of the Gheisha High Energy collision model.
32
33
#ifndef G4HEProtonInelastic_h
34
#define G4HEProtonInelastic_h 1
35
36
// Class description:
37
// High energy parameterized model for proton inelastic scattering. This
38
// class is responsible for producing the final state of the interaction and
39
// is typically valid for incident proton energies above 45 GeV. This
40
// physics may be invoked by registering an instance of the class with
41
// G4ProtonInelasticProcess in the user's physics list.
42
//
43
// This class is derived from G4HEInelastic which in turn is derived from
44
// G4HadronicInteraction.
45
46
// Class Description - End
47
48
#include <
CLHEP/Units/SystemOfUnits.h
>
49
50
#include "
G4HEInelastic.hh
"
51
52
class
G4HEProtonInelastic
:
public
G4HEInelastic
53
{
54
public
:
// with description
55
G4HEProtonInelastic
() :
G4HEInelastic
(
"G4HEProtonInelastic"
)
56
{
57
vecLength
= 0;
58
theMinEnergy
= 45*CLHEP::GeV;
59
theMaxEnergy
= 10*CLHEP::TeV;
60
MAXPART
= 2048;
61
verboseLevel
= 0;
62
G4cout
<<
"WARNING: model G4HEProtonInelastic is being deprecated and will\n"
63
<<
"disappear in Geant4 version 10.0"
<<
G4endl
;
64
}
65
66
~G4HEProtonInelastic
() {};
67
68
virtual
void
ModelDescription
(std::ostream&)
const
;
69
70
G4int
vecLength
;
71
72
G4HadFinalState
*
ApplyYourself
(
const
G4HadProjectile
& aTrack,
73
G4Nucleus
& targetNucleus);
74
75
G4int
GetNumberOfSecondaries
() {
return
vecLength
;}
76
77
void
FirstIntInCasProton
(
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
#endif
86
G4HEInelastic.hh
G4double
double G4double
Definition:
G4Types.hh:64
G4int
int G4int
Definition:
G4Types.hh:66
G4bool
bool G4bool
Definition:
G4Types.hh:67
G4endl
#define G4endl
Definition:
G4ios.hh:52
G4cout
G4DLLIMPORT std::ostream G4cout
SystemOfUnits.h
G4HEInelastic
Definition:
G4HEInelastic.hh:60
G4HEInelastic::verboseLevel
G4int verboseLevel
Definition:
G4HEInelastic.hh:78
G4HEInelastic::MAXPART
G4int MAXPART
Definition:
G4HEInelastic.hh:79
G4HEProtonInelastic
Definition:
G4HEProtonInelastic.hh:53
G4HEProtonInelastic::GetNumberOfSecondaries
G4int GetNumberOfSecondaries()
Definition:
G4HEProtonInelastic.hh:75
G4HEProtonInelastic::ModelDescription
virtual void ModelDescription(std::ostream &) const
Definition:
G4HEProtonInelastic.cc:42
G4HEProtonInelastic::~G4HEProtonInelastic
~G4HEProtonInelastic()
Definition:
G4HEProtonInelastic.hh:66
G4HEProtonInelastic::vecLength
G4int vecLength
Definition:
G4HEProtonInelastic.hh:70
G4HEProtonInelastic::G4HEProtonInelastic
G4HEProtonInelastic()
Definition:
G4HEProtonInelastic.hh:55
G4HEProtonInelastic::ApplyYourself
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
Definition:
G4HEProtonInelastic.cc:57
G4HEProtonInelastic::FirstIntInCasProton
void FirstIntInCasProton(G4bool &inElastic, const G4double availableEnergy, G4HEVector pv[], G4int &vecLen, const G4HEVector &incidentParticle, const G4HEVector &targetParticle, const G4double atomicWeight)
Definition:
G4HEProtonInelastic.cc:201
G4HEVector
Definition:
G4HEVector.hh:50
G4HadFinalState
Definition:
G4HadFinalState.hh:46
G4HadProjectile
Definition:
G4HadProjectile.hh:40
G4HadronicInteraction::theMaxEnergy
G4double theMaxEnergy
Definition:
G4HadronicInteraction.hh:191
G4HadronicInteraction::theMinEnergy
G4double theMinEnergy
Definition:
G4HadronicInteraction.hh:190
G4Nucleus
Definition:
G4Nucleus.hh:51
geant4-v9.6.0
source
processes
hadronic
models
high_energy
include
G4HEProtonInelastic.hh
Generated by
1.9.6