86{
87 G4double aLept1E = aGammaE - aLept0E;
88
90
91
93 G4double Lept0E = aLept0E/m0_c2+1., Lept0E2 = Lept0E * Lept0E ;
95 G4double Lept1E = aLept1E/m0_c2-1., Lept1E2 = Lept1E * Lept1E ;
96
97
98
99
100
101
102 G4double TMom = std::sqrt(Lept0E2 -1.)* sintheta, u = TMom , u2 =u * u ;
103 G4double Xsi = 1./(1.+u2) , Xsi2 = Xsi * Xsi ;
104
105
106
107
108 G4double delta = 12. * std::pow(
theZ, 1./3.) * Lept0E * Lept1E * Xsi / (121. * GammaE);
110
111 if(delta < 0.5) {
112 GG = std::log(2.* Lept0E * Lept1E / GammaE) - 2. -
fCoul;
113 }
114 else if ( delta < 120) {
115 for (
G4int j=2; j<=19; j++) {
116 if(SCRN[1][j] >= delta) {
117 GG =std::log(2 * Lept0E * Lept1E / GammaE) - 2 -
fCoul
118 -(SCRN[2][j-1]+(delta-SCRN[1][j-1])*(SCRN[2][j]-SCRN[2][j-1])/(SCRN[1][j]-SCRN[1][j-1]));
119 break;
120 }
121 }
122 }
123 else {
124 G4double alpha_sc = (111 * std::pow(
theZ, -1./3.)) / Xsi;
125 GG = std::log(alpha_sc)- 2 -
fCoul;
126 }
127
128 if(GG<-1) GG=-1;
129
130
131 G4double I_Lepton = (Lept0E2 + Lept1E2)*(3+2*GG) + 2 * Lept0E * Lept1E * (1 + 4 * u2 * Xsi2 * GG);
132
133
134
135 G4double L_Lepton1 = GammaE * ((Lept0E - Lept1E) * (3. + 2. * GG)+2 * Lept1E * (1 + 4 * u2 * Xsi2 * GG))/I_Lepton;
136
137 G4double T_Lepton1 = 4 * GammaE * Lept1E * Xsi * u * (1. - 2. * Xsi) * GG / I_Lepton ;
138
139
140 G4double Stokes_S1 = (Stokes_P3 * T_Lepton1) ;
142 G4double Stokes_S3 = (Stokes_P3 * L_Lepton1) ;
143
144
145 theFinalElectronPolarization.
setX(Stokes_S1);
146 theFinalElectronPolarization.
setY(Stokes_S2);
147 theFinalElectronPolarization.
setZ(Stokes_S3);
148
149 if(theFinalElectronPolarization.
mag2()>1) {
150 G4cout<<
" WARNING in pol-conv theFinalElectronPolarization \n";
152 <<"\t"<<theFinalElectronPolarization
153 <<"\t GG\t"<<GG
154 <<"\t delta\t"<<delta
156 theFinalElectronPolarization.
setX(0);
157 theFinalElectronPolarization.
setY(0);
158 theFinalElectronPolarization.
setZ(Stokes_S3);
159 if(Stokes_S3>1) theFinalElectronPolarization.
setZ(1);
160 }
161
162
163 G4double L_Lepton2 = GammaE * ((Lept1E - Lept0E) * (3. + 2. * GG)+2 * Lept0E * (1 + 4 * u2 * Xsi2 * GG))/I_Lepton;
164
165 G4double T_Lepton2 = 4 * GammaE * Lept0E * Xsi * u * (1. - 2. * Xsi) * GG / I_Lepton ;
166
167 G4double Stokes_SS1 = (Stokes_P3 * T_Lepton2) ;
169 G4double Stokes_SS3 = (Stokes_P3 * L_Lepton2) ;
170
171 theFinalPositronPolarization.
SetPhoton();
172
173 theFinalPositronPolarization.
setX(Stokes_SS1);
174 theFinalPositronPolarization.
setY(Stokes_SS2);
175 theFinalPositronPolarization.
setZ(Stokes_SS3);
176
177 if(theFinalPositronPolarization.
mag2()>1) {
178 G4cout<<
" WARNING in pol-conv theFinalPositronPolarization \n";
180 <<"\t"<<theFinalPositronPolarization
181 <<"\t GG\t"<<GG
182 <<"\t delta\t"<<delta
184 }
185}
G4DLLIMPORT std::ostream G4cout