|
||||
File indexing completed on 2025-01-18 09:58:34
0001 // 0002 // ******************************************************************** 0003 // * License and Disclaimer * 0004 // * * 0005 // * The Geant4 software is copyright of the Copyright Holders of * 0006 // * the Geant4 Collaboration. It is provided under the terms and * 0007 // * conditions of the Geant4 Software License, included in the file * 0008 // * LICENSE and available at http://cern.ch/geant4/license . These * 0009 // * include a list of copyright holders. * 0010 // * * 0011 // * Neither the authors of this software system, nor their employing * 0012 // * institutes,nor the agencies providing financial support for this * 0013 // * work make any representation or warranty, express or implied, * 0014 // * regarding this software system or assume any liability for its * 0015 // * use. Please see the license in the file LICENSE and URL above * 0016 // * for the full disclaimer and the limitation of liability. * 0017 // * * 0018 // * This code implementation is the result of the scientific and * 0019 // * technical work of the GEANT4 collaboration. * 0020 // * By using, copying, modifying or distributing the software (or * 0021 // * any work based on the software) you agree to acknowledge its * 0022 // * use in resulting scientific publications, and indicate your * 0023 // * acceptance of all terms of the Geant4 Software license. * 0024 // ******************************************************************** 0025 // 0026 // G4KL3DecayChannel 0027 0028 // Author: H.Kurashige, 30 May 1997 0029 // -------------------------------------------------------------------- 0030 #ifndef G4KL3DecayChannel_hh 0031 #define G4KL3DecayChannel_hh 1 0032 0033 #include "G4VDecayChannel.hh" 0034 #include "G4ios.hh" 0035 #include "globals.hh" 0036 0037 class G4KL3DecayChannel : public G4VDecayChannel 0038 { 0039 public: 0040 // Constructor & destructor 0041 G4KL3DecayChannel(const G4String& theParentName, G4double theBR, const G4String& thePionName, 0042 const G4String& theLeptonName, const G4String& theNutrinoName); 0043 ~G4KL3DecayChannel() override = default; 0044 0045 G4DecayProducts* DecayIt(G4double) override; 0046 0047 inline void SetDalitzParameter(G4double aLambda, G4double aXi); 0048 inline G4double GetDalitzParameterLambda() const; 0049 inline G4double GetDalitzParameterXi() const; 0050 0051 protected: 0052 // Copy constructor and assignment operator 0053 G4KL3DecayChannel(const G4KL3DecayChannel&) = default; 0054 G4KL3DecayChannel& operator=(const G4KL3DecayChannel&); 0055 0056 // Assignment of daughter particles for arrays of daughters[] etc. 0057 enum 0058 { 0059 idPi = 0, 0060 idLepton = 1, 0061 idNutrino = 2 0062 }; 0063 0064 // Calculate momentum of daughters 0065 void PhaseSpace(G4double Mparent, const G4double* Mdaughter, G4double* Edaughter, 0066 G4double* Pdaughter); 0067 0068 // Dalitz Plot Density 0069 // KL3 decay Dalitz Plot Density, see Chounet et al Phys. Rep. 4, 201 0070 // Arguments 0071 // Epi: kinetic enregy of pion 0072 // El: kinetic enregy of lepton (e or mu) 0073 // Enu: kinetic energy of nutrino 0074 // Constants 0075 // pLambda : linear energy dependence of f+ 0076 // pXi0 : = f+(0)/f- 0077 // pNorm : normalization factor 0078 G4double DalitzDensity(G4double parentmass, G4double Epi, G4double El, G4double Enu, 0079 G4double massPi, G4double massL, G4double massNu); 0080 0081 private: 0082 G4KL3DecayChannel() = default; 0083 0084 private: 0085 // Used in DalitzDensity() coefficients 0086 G4double pLambda = 0.0; 0087 G4double pXi0 = 0.0; 0088 }; 0089 0090 // ------------------------ 0091 // Inline methods 0092 // ------------------------ 0093 0094 inline void G4KL3DecayChannel::SetDalitzParameter(G4double aLambda, G4double aXi) 0095 { 0096 pLambda = aLambda; 0097 pXi0 = aXi; 0098 } 0099 0100 inline G4double G4KL3DecayChannel::GetDalitzParameterLambda() const 0101 { 0102 return pLambda; 0103 } 0104 0105 inline G4double G4KL3DecayChannel::GetDalitzParameterXi() const 0106 { 0107 return pXi0; 0108 } 0109 0110 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |