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 10.4.p3 ] [ 10.5 ] [ 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

  1 // ********************************************************************
  2 // * License and Disclaimer                                           *
  3 // *                                                                  *
  4 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
  5 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
  6 // * conditions of the Geant4 Software License,  included in the file *
  7 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
  8 // * include a list of copyright holders.                             *
  9 // *                                                                  *
 10 // * Neither the authors of this software system, nor their employing *
 11 // * institutes,nor the agencies providing financial support for this *
 12 // * work  make  any representation or  warranty, express or implied, *
 13 // * regarding  this  software system or assume any liability for its *
 14 // * use.  Please see the license in the file  LICENSE  and URL above *
 15 // * for the full disclaimer and the limitation of liability.         *
 16 // *                                                                  *
 17 // * This  code  implementation is the result of  the  scientific and *
 18 // * technical work of the GEANT4 collaboration.                      *
 19 // * By using,  copying,  modifying or  distributing the software (or *
 20 // * any work based  on the software)  you  agree  to acknowledge its *
 21 // * use  in  resulting  scientific  publications,  and indicate your *
 22 // * acceptance of all terms of the Geant4 Software license.          *
 23 // ********************************************************************
 24 //
 25 //
 26 // -------------------------------------------------------------------
 27 //      GEANT4 Class file
 28 //
 29 //      File name:     G4PolarizationTransition
 30 //
 31 //      Author:        Jason Detwiler (jasondet@gmail.com)
 32 // 
 33 //      Creation date: Aug 2012
 34 //
 35 //      Description:   
 36 //      Stores and manipulates the statistical tensor describing the nuclear
 37 //      polarization (see Alder and Winther, "Electromagnetic Excitation" (1975),
 38 //      Appendix F). Functions are implemented for generating angular correlations
 39 //      in gamma decays, following Alder and Winther, Appendix G.
 40 //      This code assumes no polarization will be detected and uses eqs (17-20).
 41 //      Adding polarization would require using instead (13) and the more generic
 42 //      form of the statstical tensor after decay described by equation (6)
 43 //      Could be expanded to also generate e.g. gamma-beta and other
 44 //      correlations as well.
 45 //
 46 // -------------------------------------------------------------------
 47 
 48 #ifndef G4POLARIZATIONTRANSITION_HH
 49 #define G4POLARIZATIONTRANSITION_HH
 50 
 51 #include "globals.hh"
 52 #include "G4LegendrePolynomial.hh"
 53 #include "G4PolynomialPDF.hh"
 54 #include "G4Pow.hh"
 55 
 56 class G4NuclearPolarization;
 57 
 58 class G4PolarizationTransition
 59 {
 60   typedef std::vector< std::vector<G4complex> > POLAR;
 61 
 62   public:
 63     G4PolarizationTransition();
 64     ~G4PolarizationTransition() = default;
 65 
 66     void SampleGammaTransition(G4NuclearPolarization* np, 
 67              G4int twoJ1, G4int twoJ2, 
 68                                G4int L0, G4int Lp, G4double mpRatio, 
 69              G4double& cosTheta, G4double& phi);
 70 
 71     // generic static functions
 72     G4double FCoefficient(G4int K, G4int L, G4int Lprime, 
 73         G4int twoJ2, G4int twoJ1) const;
 74     G4double F3Coefficient(G4int K, G4int K2, G4int K1, G4int L, 
 75          G4int Lprime, G4int twoJ2, G4int twoJ1) const;
 76 
 77     // transition-specific functions
 78     G4double GammaTransFCoefficient(G4int K) const;
 79     G4double GammaTransF3Coefficient(G4int K, G4int K2, G4int K1) const;
 80 
 81     void DumpTransitionData(const POLAR& pol) const;
 82 
 83     inline void SetVerbose(G4int val) { fVerbose = val; };
 84 
 85   private:
 86 
 87     G4PolarizationTransition(const G4PolarizationTransition &right) = delete;
 88     const G4PolarizationTransition& operator=(const G4PolarizationTransition &right) = delete;
 89 
 90     // Gamma angle generation and decay: call these functions in this order!
 91     // All angles are in the same coordinate system: user may choose any axis
 92     G4double GenerateGammaCosTheta(const POLAR&);
 93     G4double GenerateGammaPhi(G4double& cosTheta, const POLAR&);
 94 
 95     inline G4double LnFactorial(int k) const { return G4Pow::GetInstance()->logfactorial(k); }
 96 
 97     G4int fVerbose;
 98     G4int fTwoJ1, fTwoJ2;
 99     G4int fLbar, fL;
100     G4double fDelta;
101     G4double kEps;
102     G4PolynomialPDF kPolyPDF;
103     G4LegendrePolynomial fgLegendrePolys;
104 };
105 
106 
107 #endif
108