Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4GammaTransition.hh
이 파일의 문서화 페이지로 가기
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 SetTwoJMAX(G4int val) { fTwoJMAX = val; };
77 
78  inline void SetVerbose(G4int val) { fVerbose = val; fPolTrans.SetVerbose(val); };
79 
80 private:
81 
82  G4GammaTransition(const G4GammaTransition &right) = delete;
83  const G4GammaTransition& operator=(const G4GammaTransition &right) = delete;
84  G4bool operator==(const G4GammaTransition &right) const = delete;
85  G4bool operator!=(const G4GammaTransition &right) const = delete;
86 
88 
89 protected:
90 
95 };
96 
97 
98 #endif
G4ThreeVector fDirection
void SetTwoJMAX(G4int val)
G4bool operator==(const G4GammaTransition &right) const =delete
void SetPolarizationFlag(G4bool val)
double G4double
Definition: G4Types.hh:76
bool G4bool
Definition: G4Types.hh:79
G4PolarizationTransition fPolTrans
virtual G4Fragment * SampleTransition(G4Fragment *nucleus, G4double newExcEnergy, G4double mpRatio, G4int JP1, G4int JP2, G4int MP, G4int shell, G4bool isDiscrete, G4bool isGamma)
virtual ~G4GammaTransition()
int G4int
Definition: G4Types.hh:78
void SetVerbose(G4int val)
virtual void SampleDirection(G4Fragment *nuc, G4double ratio, G4int twoJ1, G4int twoJ2, G4int mp)
const G4GammaTransition & operator=(const G4GammaTransition &right)=delete
G4bool operator!=(const G4GammaTransition &right) const =delete