Geant4  10.03
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  size_t shell,
68  G4bool isDiscrete,
69  G4bool isGamma,
70  G4bool isLongLived);
71 
72  virtual void SampleDirection(G4Fragment* nuc, G4double ratio,
73  G4int twoJ1, G4int twoJ2, G4int mp);
74 
75  inline void SetPolarizationFlag(G4bool val) { polarFlag = val; };
76 
77 private:
78 
79  G4GammaTransition(const G4GammaTransition &right) = delete;
80  const G4GammaTransition& operator=(const G4GammaTransition &right) = delete;
81  G4bool operator==(const G4GammaTransition &right) const = delete;
82  G4bool operator!=(const G4GammaTransition &right) const = delete;
83 
85 
86 protected:
87 
90 };
91 
92 
93 #endif
94 
95 
96 
97 
98 
CLHEP::Hep3Vector G4ThreeVector
virtual void SampleDirection(G4Fragment *nuc, G4double ratio, G4int twoJ1, G4int twoJ2, G4int mp)
G4ThreeVector fDirection
int G4int
Definition: G4Types.hh:78
G4bool operator!=(const G4GammaTransition &right) const =delete
void SetPolarizationFlag(G4bool val)
virtual ~G4GammaTransition()
G4bool operator==(const G4GammaTransition &right) const =delete
bool G4bool
Definition: G4Types.hh:79
virtual G4Fragment * SampleTransition(G4Fragment *nucleus, G4double newExcEnergy, G4double mpRatio, G4int JP1, G4int JP2, G4int MP, size_t shell, G4bool isDiscrete, G4bool isGamma, G4bool isLongLived)
G4PolarizationTransition fPolTrans
const G4GammaTransition & operator=(const G4GammaTransition &right)=delete
double G4double
Definition: G4Types.hh:76