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
G4QNeutronCaptureRatio.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// GEANT4 tag $Name: not supported by cvs2svn $
28//
29//
30// GEANT4 physics class: G4QNeutronCaptureRatio -- header file
31// M.V. Kossov, ITEP(Moscow), 22-May-09
32// The last update: M.V. Kossov, CERN/ITEP (Moscow) 22-May-2009
33//
34// **********************************************************************
35// This Header is a part of the CHIPS physics package (author: M. Kosov)
36// ----------------------------------------------------------------------
37// Short description: (n,gamma) capture is a part of the incoherent
38// (inelastic) interaction. This part is calculated in the class.
39// ----------------------------------------------------------------------
40
41#ifndef G4QNeutronCaptureRatio_h
42#define G4QNeutronCaptureRatio_h 1
43
44#include "globals.hh"
45#include "G4ios.hh"
46#include "Randomize.hh"
47#include <vector>
48#include "G4QPDGCode.hh"
49#include "G4QEnvironment.hh"
50#include "G4Quasmon.hh"
51#include "G4QHadronVector.hh"
52
54{
55 protected:
56
57 G4QNeutronCaptureRatio() {} // Constructor
58
59 public:
60
61 ~G4QNeutronCaptureRatio() {} // Destructor
62
63 static G4QNeutronCaptureRatio* GetPointer(); // Gives a pointer to this singletone
64
65 // Capture/Inelastic Ratio (momentum is in independent units)
66 G4double GetRatio(G4double pIU, G4int tgZ, G4int tgN);
67
68 private:
69 // These working member functions are in CHIPS units and must not be used externally
70 G4double CalcCap2In_Ratio(G4double p, G4int Z, G4int N); // R = Capture/In (p in GeV/c)
71
72 // Body
73 private:
74};
75#endif
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
G4double GetRatio(G4double pIU, G4int tgZ, G4int tgN)
static G4QNeutronCaptureRatio * GetPointer()