Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4FPYNormalFragmentDist.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  * File: G4FPYNormalFragmentDist.hh
28  * Author: B. Wendt (wendbryc@isu.edu)
29  *
30  * Created on July 26, 2011, 12:26 PM
31  */
32 
33 #ifndef G4FPYNORMALFRAGMENTDIST_HH
34 #define G4FPYNORMALFRAGMENTDIST_HH
35 
36 #include "G4Ions.hh"
37 #include "globals.hh"
38 
39 #include "G4FFGEnumerations.hh"
41 
42 /** G4FPYNormalFragmentDist is an inherited class of G4FissionProductYield
43  * that samples fission fragments from the entire data set.
44  */
47 {
48 public:
49 // Constructor definition
50  /** Default constructor
51  * - Usage:
52  * - \p WhichIsotope: Isotope number of the element in ZZZAAA form
53  * - \p WhichMetaState: \p GROUND_STATE, \p META_1, or \p META_2
54  * - \p WhichCause: \p SPONTANEOUS or \p N_INDUCED
55  * - \p WhichYieldType: \p INDEPENDENT or \p CUMULATIVE
56  *
57  * - Notes:
58  */
59  G4FPYNormalFragmentDist( G4int WhichIsotope,
60  G4FFGEnumerations::MetaState WhichMetaState,
62  G4FFGEnumerations::YieldType WhichYieldType,
63  std::istringstream& dataFile);
64 
65  /** Overloaded constructor
66  * - Usage:
67  * - \p WhichIsotope: Isotope number of the element in ZZZAAA form
68  * - \p WhichMetaState: \p GROUND_STATE, \p META_1, or \p META_2
69  * - \p WhichCause: \p SPONTANEOUS or \p N_INDUCED
70  * - \p WhichYieldType: \p INDEPENDENT or \p CUMULATIVE
71  * - \p Verbosity: Verbosity level
72  *
73  * - Notes:
74  */
75  G4FPYNormalFragmentDist( G4int WhichIsotope,
76  G4FFGEnumerations::MetaState WhichMetaState,
78  G4FFGEnumerations::YieldType WhichYieldType,
80  std::istringstream& dataFile);
81 protected:
82  /** Initialize is a common function called by all constructors. */
83  void Initialize( void );
84 
85 protected:
86 // Functions
87  /** Selects a fission product from the probability tree, limited by the
88  * number of nucleons available to the system.
89  */
90  virtual G4Ions* GetFissionProduct( void );
91 
92 // Destructor function(s)
93 public:
94  /** Default deconstructor. It is a virtual function since
95  * G4FPYNormalFragmentDist inherits from G4FissionProductYieldDist
96  */
97  virtual ~G4FPYNormalFragmentDist( void );
98 };
99 
100 #endif /* G4FPYNORMALFRAGMENTDIST_HH */
101 
int G4int
Definition: G4Types.hh:78
Definition: G4Ions.hh:51
virtual G4Ions * GetFissionProduct(void)
G4FPYNormalFragmentDist(G4int WhichIsotope, G4FFGEnumerations::MetaState WhichMetaState, G4FFGEnumerations::FissionCause WhichCause, G4FFGEnumerations::YieldType WhichYieldType, std::istringstream &dataFile)