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

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

update to last version 4.9.4

File size: 3.8 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// $Id: G4CHIPSElasticXS.hh,v 1.1 2010/09/23 18:28:00 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-03-ref-09 $
28//
29// -------------------------------------------------------------------
30//
31// GEANT4 Class header file
32//
33//
34// File name:    G4CHIPSElasticXS
35//
36// Author  Ivantchenko, Geant4, 23-SEP-2010
37//
38// Modifications:
39//
40
41// Class Description:
42// This is a base class for nucleon elastic cross section based on
43// CHIPS parameterisation, the class is extracted from
44// G4UHadronElasticModel
45// Class Description - End
46 
47#ifndef G4CHIPSElasticXS_h
48#define G4CHIPSElasticXS_h 1
49
50#include "G4VCrossSectionDataSet.hh"
51#include "globals.hh"
52
53class G4DynamicParticle;
54class G4ParticleDefinition;
55class G4Element;
56class G4VQCrossSection;
57
58class G4CHIPSElasticXS : public G4VCrossSectionDataSet
59{
60public: 
61
62  G4CHIPSElasticXS();
63
64  virtual ~G4CHIPSElasticXS();
65
66  virtual
67  G4bool IsApplicable(const G4DynamicParticle*, const G4Element*);
68
69  virtual
70  G4bool IsZAApplicable(const G4DynamicParticle*, 
71                        G4double /*Z*/, G4double /*A*/);
72
73  virtual
74  G4bool IsIsoApplicable(const G4DynamicParticle*, 
75                         G4int /*Z*/, G4int /*N*/);
76
77  virtual
78  G4double GetCrossSection(const G4DynamicParticle*, 
79                           const G4Element*, 
80                           G4double aTemperature = 0.);
81
82  virtual
83  G4double GetIsoCrossSection(const G4DynamicParticle*, const G4Isotope*,
84                              G4double aTemperature = 0.);
85
86  virtual
87  G4double GetIsoZACrossSection(const G4DynamicParticle*, G4double /*Z*/,
88                                G4double /*A*/, G4double aTemperature = 0.);
89
90  virtual
91  G4double GetZandACrossSection(const G4DynamicParticle*, G4int /*Z*/,
92                                G4int /*A*/, G4double aTemperature = 0.);
93
94  virtual
95  void BuildPhysicsTable(const G4ParticleDefinition&);
96
97  virtual
98  void DumpPhysicsTable(const G4ParticleDefinition&);
99
100private: 
101
102  G4CHIPSElasticXS & operator=(const G4CHIPSElasticXS &right);
103  G4CHIPSElasticXS(const G4CHIPSElasticXS&);
104 
105  G4VQCrossSection*           pCManager;
106  G4VQCrossSection*           nCManager;
107  const G4ParticleDefinition* theProton;
108  const G4ParticleDefinition* theNeutron;
109  const G4ParticleDefinition* theParticle;
110
111  G4double thEnergy;
112  G4double lowestEnergy;
113
114  G4int  pPDG;
115  G4bool isInitialized;
116};
117
118#endif
Note: See TracBrowser for help on using the repository browser.