Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4ComponentSAIDTotalXS.hh
이 파일의 문서화 페이지로 가기
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: G4ComponentSAIDTotalXS.hh 67988 2013-03-13 10:52:45Z gcosmo $
27 //
28 // -------------------------------------------------------------------
29 //
30 // GEANT4 Class header file
31 //
32 //
33 // File name: G4ComponentSAIDTotalXS
34 //
35 // Authors: G.Folger, V.Ivanchenko, D.Wright
36 //
37 // Modifications:
38 //
39 
40 //
41 // Class Description
42 // Total, elastic and inelastic hadron/nucleon cross sections
43 // from SAID database, G4SAIDXSDATA environment variable
44 // should be defined
45 // Class Description - End
46 
47 #ifndef G4ComponentSAIDTotalXS_h
48 #define G4ComponentSAIDTotalXS_h 1
49 
51 #include "G4ParticleDefinition.hh"
52 #include "globals.hh"
53 
55 {
57  saidPP = 1,
58  saidNP = 2,
59  saidPIPP = 3,
60  saidPINP = 4,
70 };
71 
72 class G4PhysicsVector;
73 
75 {
76 public: //with description
77 
79 
80  virtual ~G4ComponentSAIDTotalXS();
81 
82  virtual
84  G4double kinEnergy,
85  G4int /*Z*/, G4double /*N*/);
86 
87  virtual
89  G4double kinEnergy,
90  G4int /*Z*/, G4int /*N*/);
91 
92  virtual
94  G4double kinEnergy,
95  G4int /*Z*/, G4double /*N*/);
96 
97  virtual
99  G4double kinEnergy,
100  G4int /*Z*/, G4int /*N*/);
101 
102  virtual
104  G4double kinEnergy,
105  G4int /*Z*/, G4double /*N*/);
106 
107  virtual
109  G4double kinEnergy,
110  G4int /*Z*/, G4int /*N*/);
111 
113  const G4ParticleDefinition* sec,
114  G4double kinEnergy,
115  G4int /*Z*/, G4int /*N*/);
116 
117  virtual
118  void Description() const;
119 
120 private:
121 
123  const G4ParticleDefinition* sec,
124  G4int Z, G4int N);
125 
127 
128  void ReadData(G4int index, G4PhysicsVector*,
129  const G4String&, const G4String&);
130 
131  void PrintWarning(const G4ParticleDefinition* prim,
132  const G4ParticleDefinition* sec,
133  G4int /*Z*/, G4int /*N*/,
134  const G4String&, const G4String&);
135 
138 
142 
143 };
144 
145 #endif
G4PhysicsVector * inelastdata[numberOfSaidXS]
virtual void Description() const
G4ComponentSAIDTotalXS & operator=(const G4ComponentSAIDTotalXS &right)
void PrintWarning(const G4ParticleDefinition *prim, const G4ParticleDefinition *sec, G4int, G4int, const G4String &, const G4String &)
virtual G4double GetTotalElementCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4double)
static const G4String fnames[numberOfSaidXS]
G4PhysicsVector * elastdata[numberOfSaidXS]
Float_t Z
double G4double
Definition: G4Types.hh:76
G4SAIDCrossSectionType
**D E S C R I P T I O N
virtual G4double GetElasticIsotopeCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)
void ReadData(G4int index, G4PhysicsVector *, const G4String &, const G4String &)
virtual G4double GetInelasticIsotopeCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)
virtual G4double GetTotalIsotopeCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4int)
int G4int
Definition: G4Types.hh:78
G4double GetChargeExchangeCrossSection(const G4ParticleDefinition *prim, const G4ParticleDefinition *sec, G4double kinEnergy, G4int, G4int)
G4SAIDCrossSectionType GetType(const G4ParticleDefinition *prim, const G4ParticleDefinition *sec, G4int Z, G4int N)
void Initialise(G4SAIDCrossSectionType tp)
virtual G4double GetInelasticElementCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4double)
virtual G4double GetElasticElementCrossSection(const G4ParticleDefinition *, G4double kinEnergy, G4int, G4double)