Geant4  10.01.p02
G4Clebsch.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 // -------------------------------------------------------------------
28 // GEANT4 Class file
29 //
30 //
31 // File name: G4Clebsch
32 //
33 // Author: Maria Grazia Pia (MariaGrazia.Pia@genova.infn.it)
34 //
35 // Creation date: 15 April 1999
36 //
37 // Modifications:
38 //
39 // Kinetic Model, Clebsch-Gordan coefficient and related algebra
40 //
41 // -------------------------------------------------------------------
42 
43 #ifndef G4CLEBSCH_HH
44 #define G4CLEBSCH_HH
45 
46 #include "globals.hh"
47 #include <vector>
48 
49 class G4Clebsch
50 {
51 
52 public:
53 
54  G4Clebsch();
55 
56  virtual ~G4Clebsch();
57 
58  G4bool operator==(const G4Clebsch &right) const;
59  G4bool operator!=(const G4Clebsch &right) const;
60 
61  G4double ClebschGordan(G4int isoIn1, G4int iso3In1,
62  G4int isoIn2, G4int iso3In2,
63  G4int jOut) const;
64 
65  std::vector<G4double> GenerateIso3(G4int isoIn1, G4int iso3In1,
66  G4int isoIn2, G4int iso3In2,
67  G4int isoOut1,G4int isoOut2) const;
68 
69  G4double Weight(G4int isoIn1, G4int iso3In1,
70  G4int isoIn2, G4int iso3In2,
71  G4int isoOut1, G4int isoOut2) const;
72 
74  G4double m1, G4double m2, G4double m3) const;
75 
76  // Calculates the normalized Clebsch-Gordan coefficient, that is the prob
77  // of isospin decomposition of (J,m) into J1, J2, m1, m2
79  G4int J1, G4int J2,
80  G4int m1, G4int m2) const;
81 
82 protected:
83 
84 private:
85 
86  G4Clebsch(const G4Clebsch &right);
87  G4Clebsch& operator=(const G4Clebsch &right);
88 
89  std::vector<G4double> logs;
90 
91 };
92 
93 #endif
94 
95 
96 
97 
98 
99 
100 
101 
102 
103 
104 
105 
106 
107 
108 
109 
110 
111 
G4Clebsch & operator=(const G4Clebsch &right)
static const double m3
Definition: G4SIunits.hh:112
G4double NormalizedClebschGordan(G4int J, G4int m, G4int J1, G4int J2, G4int m1, G4int m2) const
Definition: G4Clebsch.cc:506
int G4int
Definition: G4Types.hh:78
std::vector< G4double > GenerateIso3(G4int isoIn1, G4int iso3In1, G4int isoIn2, G4int iso3In2, G4int isoOut1, G4int isoOut2) const
Definition: G4Clebsch.cc:285
static const double m2
Definition: G4SIunits.hh:111
bool G4bool
Definition: G4Types.hh:79
virtual ~G4Clebsch()
Definition: G4Clebsch.cc:50
G4double Wigner3J(G4double j1, G4double j2, G4double j3, G4double m1, G4double m2, G4double m3) const
Definition: G4Clebsch.cc:124
std::vector< G4double > logs
Definition: G4Clebsch.hh:89
G4double Weight(G4int isoIn1, G4int iso3In1, G4int isoIn2, G4int iso3In2, G4int isoOut1, G4int isoOut2) const
Definition: G4Clebsch.cc:66
G4bool operator!=(const G4Clebsch &right) const
Definition: G4Clebsch.cc:60
static const double m
Definition: G4SIunits.hh:110
G4bool operator==(const G4Clebsch &right) const
Definition: G4Clebsch.cc:54
double G4double
Definition: G4Types.hh:76
G4double ClebschGordan(G4int isoIn1, G4int iso3In1, G4int isoIn2, G4int iso3In2, G4int jOut) const
Definition: G4Clebsch.cc:93