00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // 00027 // $Id$ 00028 // 00029 // 00030 // ------------------------------------------------------------ 00031 // GEANT 4 class header file 00032 // 00033 // History: first implementation, based on object model of 00034 // 7 June 1997 H.Kurashige 00035 // ------------------------------------------------------------ 00036 #ifndef G4KL3DecayChannel_h 00037 #define G4KL3DecayChannel_h 1 00038 00039 #include "G4ios.hh" 00040 #include "globals.hh" 00041 #include "G4VDecayChannel.hh" 00042 00043 class G4KL3DecayChannel :public G4VDecayChannel 00044 { 00045 public: // With Description 00046 //Constructors 00047 G4KL3DecayChannel(const G4String& theParentName, 00048 G4double theBR, 00049 const G4String& thePionName, 00050 const G4String& theLeptonName, 00051 const G4String& theNutrinoName); 00052 // Destructor 00053 virtual ~G4KL3DecayChannel(); 00054 00055 protected: 00056 // Copy constructor and assignment operator 00057 G4KL3DecayChannel(const G4KL3DecayChannel &); 00058 G4KL3DecayChannel & operator=(const G4KL3DecayChannel &); 00059 00060 private: 00061 G4KL3DecayChannel(); 00062 00063 public: // With Description 00064 virtual G4DecayProducts *DecayIt(G4double); 00065 00066 protected: 00067 // assignment of daughter particles for arrays of daughters[] etc. 00068 enum{idPi=0, idLepton=1, idNutrino=2}; 00069 G4double daughterM[3]; 00070 00071 protected: 00072 // calcurate momentum of daughters 00073 // results will be stored in Edaughter[3] and Pdaughter[3] 00074 void PhaseSpace(G4double Mparent, 00075 const G4double* Mdaughter, 00076 G4double* Edaughter, 00077 G4double* Pdaughter); 00078 00079 protected: 00080 // Dalitz Plot Density 00081 // KL3 decay Dalitz Plot Density 00082 // see Chounet et al Phys. Rep. 4, 201 00083 // arguments 00084 // Epi: kinetic enregy of pion 00085 // El: kinetic enregy of lepton (e or mu) 00086 // Enu: kinetic energy of nutrino 00087 // constants 00088 // pLambda : linear energy dependence of f+ 00089 // pXi0 : = f+(0)/f- 00090 // pNorm : normalization factor 00091 G4double DalitzDensity(G4double Epi, G4double El, G4double Enu); 00092 private: 00093 // constants used in DalitzDensity() 00094 // Kon mass 00095 G4double massK; 00096 // coefficients 00097 G4double pLambda; 00098 G4double pXi0; 00099 00100 public: 00101 void SetDalitzParameter(G4double aLambda, G4double aXi ); 00102 G4double GetDalitzParameterLambda() const; 00103 G4double GetDalitzParameterXi() const; 00104 }; 00105 00106 inline 00107 void G4KL3DecayChannel::SetDalitzParameter(G4double aLambda, G4double aXi) 00108 { 00109 pLambda = aLambda; 00110 pXi0 = aXi; 00111 } 00112 00113 inline 00114 G4double G4KL3DecayChannel::GetDalitzParameterLambda() const 00115 { 00116 return pLambda; 00117 } 00118 00119 inline 00120 G4double G4KL3DecayChannel::GetDalitzParameterXi() const 00121 { 00122 return pXi0; 00123 } 00124 00125 00126 #endif 00127 00128 00129 00130