00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040 #include "G4TauPlus.hh"
00041 #include "G4PhysicalConstants.hh"
00042 #include "G4SystemOfUnits.hh"
00043 #include "G4ParticleTable.hh"
00044
00045 #include "G4PhaseSpaceDecayChannel.hh"
00046 #include "G4TauLeptonicDecayChannel.hh"
00047 #include "G4DecayTable.hh"
00048
00049
00050
00051
00052 G4TauPlus* G4TauPlus::theInstance = 0;
00053
00054 G4TauPlus* G4TauPlus::Definition()
00055 {
00056 if (theInstance !=0) return theInstance;
00057 const G4String name = "tau+";
00058
00059 G4ParticleTable* pTable = G4ParticleTable::GetParticleTable();
00060 G4ParticleDefinition* anInstance = pTable->FindParticle(name);
00061 if (anInstance ==0)
00062 {
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072 anInstance = new G4ParticleDefinition(
00073 name, 1.77682*GeV, 2.265e-9*MeV, 1.*eplus,
00074 1, 0, 0,
00075 0, 0, 0,
00076 "lepton", -1, 0, -15,
00077 false, 290.6e-6*ns, NULL,
00078 false, "tau"
00079 );
00080
00081 G4double muB = 0.5*eplus*hbar_Planck/(1.77699*GeV/c_squared) ;
00082
00083 anInstance->SetPDGMagneticMoment( muB * 2.* 1.00116);
00084
00085
00086 G4DecayTable* table = new G4DecayTable();
00087
00088
00089 G4VDecayChannel* mode;
00090
00091 mode = new G4TauLeptonicDecayChannel("tau+",0.1736,"mu+");
00092 table->Insert(mode);
00093
00094 mode = new G4TauLeptonicDecayChannel("tau+",0.1784,"e+");
00095 table->Insert(mode);
00096
00097 mode = new G4PhaseSpaceDecayChannel("tau+",0.1106,2,"pi+","anti_nu_tau");
00098 table->Insert(mode);
00099
00100 mode = new G4PhaseSpaceDecayChannel("tau+",0.2541,3,"pi0","pi+","anti_nu_tau");
00101 table->Insert(mode);
00102
00103 mode = new G4PhaseSpaceDecayChannel();
00104 mode->SetParent("tau+");
00105 mode->SetBR(0.0917);
00106 mode->SetNumberOfDaughters(4);
00107 mode->SetDaughter(0,"pi0");
00108 mode->SetDaughter(1,"pi0");
00109 mode->SetDaughter(2,"pi+");
00110 mode->SetDaughter(3,"anti_nu_tau");
00111 table->Insert(mode);
00112
00113 mode = new G4PhaseSpaceDecayChannel();
00114 mode->SetParent("tau+");
00115 mode->SetBR(0.0946);
00116 mode->SetNumberOfDaughters(4);
00117 mode->SetDaughter(0,"pi+");
00118 mode->SetDaughter(1,"pi+");
00119 mode->SetDaughter(2,"pi-");
00120 mode->SetDaughter(3,"anti_nu_tau");
00121 table->Insert(mode);
00122
00123 anInstance->SetDecayTable(table);
00124 }
00125 theInstance = reinterpret_cast<G4TauPlus*>(anInstance);
00126 return theInstance;
00127 }
00128
00129 G4TauPlus* G4TauPlus::TauPlusDefinition()
00130 {
00131 return Definition();
00132 }
00133
00134 G4TauPlus* G4TauPlus::TauPlus()
00135 {
00136 return Definition();
00137 }
00138