Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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
51
53{
54public:
55
56 G4WHadronElasticProcess(const G4String& procName = "hadElastic");
57
59
60 virtual G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
61 const G4Step& aStep);
62
63 inline void SetLowestEnergy(G4double);
64
66
67 virtual void Description() const;
68
69private:
70
71 // hide assignment operator as private
72 G4WHadronElasticProcess& operator=(const G4WHadronElasticProcess &right);
74
75 const G4ParticleDefinition* theNeutron;
76
77 G4double lowestEnergy;
78 G4double lowestEnergyNeutron;
79};
80
81inline void
83{
84 lowestEnergy = val;
85}
86
87inline void
89{
90 lowestEnergyNeutron = val;
91}
92
93
94#endif
double G4double
Definition: G4Types.hh:64
Definition: G4Step.hh:78
virtual G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep)
virtual void Description() const