source: trunk/source/processes/hadronic/models/coherent_elastic/include/G4WHadronElasticProcess.hh @ 1358

Last change on this file since 1358 was 1340, checked in by garnier, 14 years ago

update ti head

File size: 3.1 KB
Line 
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: G4WHadronElasticProcess.hh,v 1.2 2009/09/22 17:35:07 vnivanch Exp $
28// GEANT4 tag $Name: geant4-09-03-ref-09 $
29//
30// Geant4 Hadron Elastic Scattering Process -- header file
31//
32// Created 21 April 2006 V.Ivanchenko
33// 
34// Modified:
35// 26.09.06 V.Ivanchenko add lowestEnergy
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#include "G4Nucleus.hh"
49
50class G4VQCrossSection;
51class G4ParticleDefinition;
52class G4CrossSectionDataStore;
53
54class G4WHadronElasticProcess : public G4HadronicProcess
55{
56public:
57
58  G4WHadronElasticProcess(const G4String& procName = "hadElastic");
59
60  virtual ~G4WHadronElasticProcess();
61 
62  virtual G4VParticleChange* PostStepDoIt(const G4Track& aTrack, 
63                                          const G4Step& aStep);
64
65  virtual G4bool IsApplicable(const G4ParticleDefinition& aParticleType);
66
67  inline void SetLowestEnergy(G4double);
68
69  inline void SetLowestEnergyNeutron(G4double);
70
71private:
72
73  const G4ParticleDefinition* theNeutron;
74
75  G4Nucleus       targetNucleus;
76
77  G4double        lowestEnergy;
78  G4double        lowestEnergyNeutron;
79};
80
81inline void 
82G4WHadronElasticProcess::SetLowestEnergy(G4double val)
83{
84  lowestEnergy = val;
85}
86
87inline void 
88G4WHadronElasticProcess::SetLowestEnergyNeutron(G4double val)
89{
90  lowestEnergyNeutron = val;
91}
92
93
94#endif
Note: See TracBrowser for help on using the repository browser.