[1199] | 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: geant4-09-03-cand-01 $ |
---|
| 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 property of the CHIPS model (M. Kosov) ********* |
---|
| 36 | // ******************** DO NOT MAKE ANY CHANGE! (M.K.) ****************** |
---|
| 37 | //======================================================================= |
---|
| 38 | // Short description: (n,gamma) capture is a part of the incoherent |
---|
| 39 | // (inelastic) interaction. This part is calculated in the class. |
---|
| 40 | // ---------------------------------------------------------------------- |
---|
| 41 | |
---|
| 42 | #ifndef G4QNeutronCaptureRatio_h |
---|
| 43 | #define G4QNeutronCaptureRatio_h 1 |
---|
| 44 | |
---|
| 45 | #include "globals.hh" |
---|
| 46 | #include "G4ios.hh" |
---|
| 47 | #include "Randomize.hh" |
---|
| 48 | #include <vector> |
---|
| 49 | #include "G4QPDGCode.hh" |
---|
| 50 | #include "G4QEnvironment.hh" |
---|
| 51 | #include "G4Quasmon.hh" |
---|
| 52 | #include "G4QHadronVector.hh" |
---|
| 53 | #include "G4QElasticCrossSection.hh" |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | class G4QNeutronCaptureRatio |
---|
| 58 | { |
---|
| 59 | protected: |
---|
| 60 | |
---|
| 61 | G4QNeutronCaptureRatio() {} // Constructor |
---|
| 62 | |
---|
| 63 | public: |
---|
| 64 | |
---|
| 65 | ~G4QNeutronCaptureRatio() {} // Destructor |
---|
| 66 | |
---|
| 67 | static G4QNeutronCaptureRatio* GetPointer(); // Gives a pointer to this singletone |
---|
| 68 | |
---|
| 69 | // Capture/Inelastic Ratio (momentum is in independent units) |
---|
| 70 | G4double GetRatio(G4double pIU, G4int tgZ, G4int tgN); |
---|
| 71 | |
---|
| 72 | private: |
---|
| 73 | // These working member functions are in CHIPS units and must not be used externally |
---|
| 74 | G4double CalcCap2In_Ratio(G4double p, G4int Z, G4int N); // R = Capture/In (p in GeV/c) |
---|
| 75 | |
---|
| 76 | // Body |
---|
| 77 | private: |
---|
| 78 | }; |
---|
| 79 | #endif |
---|