Geant4
9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4WHadronElasticProcess.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
//
27
// $Id$
28
//
29
// Geant4 Hadron Elastic Scattering Process -- header file
30
//
31
// Created 21 April 2006 V.Ivanchenko
32
//
33
// Modified:
34
// 26.09.06 V.Ivanchenko add lowestEnergy
35
// 17.10.11 V.Ivanchenko move to process sub-library and cleaned up
36
//
37
38
// Class Description
39
// Process for hadron nuclear elastic scattering using optimal
40
// combination of Geant4 models
41
// Class Description - End
42
43
#ifndef G4WHadronElasticProcess_h
44
#define G4WHadronElasticProcess_h 1
45
46
#include "
globals.hh
"
47
#include "
G4HadronicProcess.hh
"
48
49
class
G4ParticleDefinition
;
50
class
G4CrossSectionDataStore
;
51
52
class
G4WHadronElasticProcess
:
public
G4HadronicProcess
53
{
54
public
:
55
56
G4WHadronElasticProcess
(
const
G4String
& procName =
"hadElastic"
);
57
58
virtual
~G4WHadronElasticProcess
();
59
60
virtual
G4VParticleChange
*
PostStepDoIt
(
const
G4Track
& aTrack,
61
const
G4Step
& aStep);
62
63
inline
void
SetLowestEnergy
(
G4double
);
64
65
inline
void
SetLowestEnergyNeutron
(
G4double
);
66
67
virtual
void
Description
()
const
;
68
69
private
:
70
71
// hide assignment operator as private
72
G4WHadronElasticProcess
& operator=(
const
G4WHadronElasticProcess
&right);
73
G4WHadronElasticProcess
(
const
G4WHadronElasticProcess
& );
74
75
const
G4ParticleDefinition
* theNeutron;
76
77
G4double
lowestEnergy;
78
G4double
lowestEnergyNeutron;
79
};
80
81
inline
void
82
G4WHadronElasticProcess::SetLowestEnergy
(
G4double
val)
83
{
84
lowestEnergy = val;
85
}
86
87
inline
void
88
G4WHadronElasticProcess::SetLowestEnergyNeutron
(
G4double
val)
89
{
90
lowestEnergyNeutron = val;
91
}
92
93
94
#endif
G4HadronicProcess.hh
G4double
double G4double
Definition:
G4Types.hh:64
G4CrossSectionDataStore
Definition:
G4CrossSectionDataStore.hh:62
G4HadronicProcess
Definition:
G4HadronicProcess.hh:70
G4ParticleDefinition
Definition:
G4ParticleDefinition.hh:68
G4Step
Definition:
G4Step.hh:78
G4String
Definition:
G4String.hh:105
G4Track
Definition:
G4Track.hh:72
G4VParticleChange
Definition:
G4VParticleChange.hh:95
G4WHadronElasticProcess
Definition:
G4WHadronElasticProcess.hh:53
G4WHadronElasticProcess::SetLowestEnergy
void SetLowestEnergy(G4double)
Definition:
G4WHadronElasticProcess.hh:82
G4WHadronElasticProcess::~G4WHadronElasticProcess
virtual ~G4WHadronElasticProcess()
Definition:
G4WHadronElasticProcess.cc:69
G4WHadronElasticProcess::PostStepDoIt
virtual G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep)
Definition:
G4WHadronElasticProcess.cc:99
G4WHadronElasticProcess::SetLowestEnergyNeutron
void SetLowestEnergyNeutron(G4double)
Definition:
G4WHadronElasticProcess.hh:88
G4WHadronElasticProcess::Description
virtual void Description() const
Definition:
G4WHadronElasticProcess.cc:72
globals.hh
geant4-v9.6.0
source
processes
hadronic
processes
include
G4WHadronElasticProcess.hh
Generated by
1.9.6