Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4GammaTransition.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 // $Id: G4GammaTransition.hh 85659 2014-11-03 10:59:10Z vnivanch $
27 //
28 // -------------------------------------------------------------------
29 // GEANT 4 class file
30 //
31 // CERN, Geneva, Switzerland
32 //
33 // File name: G4GammaTransition
34 //
35 // Author: Vladimir Ivanchenko
36 //
37 // Creation date: 27 February 2015
38 //
39 // Modifications:
40 // 05.11.2016 J. Detviller added sampling of corelation between
41 // spin of a nucleus and gamma direction
42 //
43 //
44 // -------------------------------------------------------------------
45 
46 #ifndef G4GAMMATRANSITION_HH
47 #define G4GAMMATRANSITION_HH 1
48 
49 #include "globals.hh"
50 #include "G4Fragment.hh"
52 
54 {
55 public:
56 
57  explicit G4GammaTransition();
58 
59  virtual ~G4GammaTransition();
60 
61  virtual G4Fragment* SampleTransition(G4Fragment* nucleus,
62  G4double newExcEnergy,
63  G4double mpRatio,
64  G4int JP1,
65  G4int JP2,
66  G4int MP,
67  G4int shell,
68  G4bool isDiscrete,
69  G4bool isGamma);
70 
71  virtual void SampleDirection(G4Fragment* nuc, G4double ratio,
72  G4int twoJ1, G4int twoJ2, G4int mp);
73 
74  inline void SetPolarizationFlag(G4bool val) { polarFlag = val; };
75 
76  inline void SetVerbose(G4int val) { fVerbose = val; fPolTrans.SetVerbose(val); };
77 
78 private:
79 
80  G4GammaTransition(const G4GammaTransition &right) = delete;
81  const G4GammaTransition& operator=(const G4GammaTransition &right) = delete;
82  G4bool operator==(const G4GammaTransition &right) const = delete;
83  G4bool operator!=(const G4GammaTransition &right) const = delete;
84 
85  G4bool polarFlag;
86 
87 protected:
88 
92 };
93 
94 
95 #endif
virtual void SampleDirection(G4Fragment *nuc, G4double ratio, G4int twoJ1, G4int twoJ2, G4int mp)
G4ThreeVector fDirection
int G4int
Definition: G4Types.hh:78
void SetPolarizationFlag(G4bool val)
virtual ~G4GammaTransition()
bool G4bool
Definition: G4Types.hh:79
virtual G4Fragment * SampleTransition(G4Fragment *nucleus, G4double newExcEnergy, G4double mpRatio, G4int JP1, G4int JP2, G4int MP, G4int shell, G4bool isDiscrete, G4bool isGamma)
G4PolarizationTransition fPolTrans
double G4double
Definition: G4Types.hh:76
void SetVerbose(G4int val)