-
Notifications
You must be signed in to change notification settings - Fork 0
/
InputOutput_331v3.f90
12550 lines (11787 loc) · 458 KB
/
InputOutput_331v3.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
! -----------------------------------------------------------------------------
! This file was automatically created by SARAH version 4.14.3
! SARAH References: arXiv:0806.0538, 0909.2863, 1002.0840, 1207.0906, 1309.7223
! (c) Florian Staub, 2013
! ------------------------------------------------------------------------------
! File created at 16:50 on 3.7.2020
! ----------------------------------------------------------------------
Module InputOutput_331v3
Use Control
Use Settings
!Use Experiment
Use Model_Data_331v3
Use LoopFunctions
Use AddLoopFunctions
Use StandardModel
Use LoopCouplings_331v3
Logical,Save::LesHouches_Format
Character(len=8),Save,Private::versionSARAH="4.14.3"
Integer,Private::i_cpv=0
Integer,Save,Private::in_kont(2)
Logical,Save::Add_Rparity= .False.
Logical,Save::Write_HiggsBounds= .False.
Logical,Save::Write_HiggsBounds5= .False.
Character(len=40),Private::sp_info
Logical,Private::l_RP_Pythia= .False.
Logical,Save,Private::Use_Flavour_States= .False.
Real(dp),Save,Private::BrMin=1.e-4_dp
Real(dp),Save,Private::SigMin=1.e-4_dp
Character(len=120)::inputFileName,outputFileName
Contains
Subroutine LesHouches_Input(kont, Ecms, Pm, Pp, l_ISR, Fgmsb)
Implicit None
Integer, Intent(out) :: kont
Real(dp), Intent(out) :: Fgmsb, Ecms(:), Pm(:), Pp(:)
Logical, Intent(out) :: l_ISR(:)
Character(len=80) :: read_line
Integer :: i_mod=-1, i_sm=-1, i_par=-1, set_mod_par(25)=-1 &
& , i1, p_max, p_act, i_sp, i_model=-1, i_particles=-1
Real(dp) :: wert, Abs_Mu2, cosb2, cos2b, sinb2, RG0(3,3) &
& , mat_D(3,3), R2(2,2), s12,s13,s23,c12,c13,c23
Logical :: check, calc_ferm, check_alpha(2)
Complex(dp) :: lam_vS
Logical, Save :: l_open = .True.
Iname = Iname + 1
NameOfUnit(Iname) = "LesHouches_Input"
check_alpha = .False. ! used to check consistency of alpha(mZ) calculation
in_kont = 0
Call InitializeStandardModel
Call InitializeLoopFunctions
i_mod = -1
i_sm = -1
i_par = -1
set_mod_par = -1
ErrorLevel = -1
GenerationMixing=.False.
If (l_open) Then
Open(ErrCan,file="Messages.out",status="unknown")
Open(11,file="SPheno.out",status="unknown")
l_open = .False.
End If
Call Set_All_Parameters_0()
lam_vs = 0._dp
sp_info = " "
HighScaleModel="SARAH_Generated_Model"
TwoLoopRGE = .True.
Fgmsb = 1.e12_dp
m32 = 1.e20_dp
kont = 0
Open(99,file=inputFileName,status="old",err=200)
Do
Read(99,"(a80)",End=200,err=200) read_line
If (read_line(1:1).Eq."#") Cycle
If (read_line.Eq." ") Cycle
Call PutUpperCase(read_line)
If (read_line(1:5).Eq."BLOCK") Then
If (read_line(7:12).Eq."MODSEL") Then
kont = 0
Call Read_MODSEL(99,i_particles,i_model,i_cpv,kont)
CKMcomplex = CKM
If (i_cpv.Eq.0) Then
s12=lam_wolf
s23=s12**2*A_wolf
s13=s23*lam_wolf*Sqrt(eta_wolf**2+rho_wolf**2)
c12=Sqrt(1._dp-s12*s12)
c23=Sqrt(1._dp-s23*s23)
c13=Sqrt(1._dp-s13*s13)
CKM(1,1)=c12*c13
CKM(1,2)=s12*c13
CKM(1,3)=s13
CKM(2,1)=-s12*c23-c12*s23*s13
CKM(2,2)=c12*c23-s12*s23*s13
CKM(2,3)=s23*c13
CKM(3,1)=s12*s23-c12*c23*s13
CKM(3,2)=-c12*s23-s12*c23*s13
CKM(3,3)=c23*c13
End If
Else If (read_line(7:14).Eq."SMINPUTS") Then
Call Read_SMinput(99)
Else If (read_line(7:12).Eq."VCKMIN") Then
Call Read_CKM(99,i_cpv)
Else If (read_line(7:12).Eq."FCONST") Then
Call Read_FCONST(99)
Else If (read_line(7:11).Eq."FMASS") Then
Call Read_FMASS(99)
Else If (read_line(7:11).Eq."FLIFE") Then
Call Read_FLIFE(99)
Else If (read_line(7:17).Eq."SPHENOINPUT") Then
Call Read_SPhenoInput(99)
Else If (read_line(7:18).Eq."DECAYOPTIONS") Then
Call Read_DecayOptions(99)
Else If (read_line(7:12).Eq."MINPAR") Then
Call Read_MINPAR(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:14).Eq."IMMINPAR") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMMINPAR")
End If
Call Read_MINPAR(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:12).Eq."EXTPAR") Then
Call Read_EXTPAR(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:14).Eq."IMEXTPAR") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMEXTPAR")
End If
Call Read_EXTPAR(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:12).Eq."HLL1IN") Then
InputValueforhll1= .True.
Call ReadMatrixC(99,3,3,hll1IN,0, "hll1IN",kont)
Else If (read_line(7:14).Eq."IMHLL1IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhll1")
Cycle
End If
Call ReadMatrixC(99,3,3,hll1IN,1, "hll1IN",kont)
Else If (read_line(7:13).Eq."HDP11IN") Then
InputValueforhdp11= .True.
Call ReadVectorC(99,3,hdp11IN,0, "hdp11IN",kont)
Else If (read_line(7:15).Eq."IMHDP11IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhdp11")
Cycle
End If
Call ReadVectorC(99,3,hdp11IN,1, "hdp11IN",kont)
Else If (read_line(7:11).Eq."HD1IN") Then
InputValueforhd1= .True.
Call ReadVectorC(99,3,hd1IN,0, "hd1IN",kont)
Else If (read_line(7:13).Eq."IMHD1IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhd1")
Cycle
End If
Call ReadVectorC(99,3,hd1IN,1, "hd1IN",kont)
Else If (read_line(7:14).Eq."HDTP11IN") Then
InputValueforhdtp11= .True.
Call ReadVectorC(99,2,hdtp11IN,0, "hdtp11IN",kont)
Else If (read_line(7:16).Eq."IMHDTP11IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhdtp11")
Cycle
End If
Call ReadVectorC(99,2,hdtp11IN,1, "hdtp11IN",kont)
Else If (read_line(7:12).Eq."HDT1IN") Then
InputValueforhdt1= .True.
Call ReadVectorC(99,2,hdt1IN,0, "hdt1IN",kont)
Else If (read_line(7:14).Eq."IMHDT1IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhdt1")
Cycle
End If
Call ReadVectorC(99,2,hdt1IN,1, "hdt1IN",kont)
Else If (read_line(7:13).Eq."HUP11IN") Then
InputValueforhup11= .True.
Call ReadVectorC(99,3,hup11IN,0, "hup11IN",kont)
Else If (read_line(7:15).Eq."IMHUP11IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhup11")
Cycle
End If
Call ReadVectorC(99,3,hup11IN,1, "hup11IN",kont)
Else If (read_line(7:12).Eq."HDP1IN") Then
InputValueforhdp1= .True.
Call ReadVectorC(99,3,hdp1IN,0, "hdp1IN",kont)
Else If (read_line(7:14).Eq."IMHDP1IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhdp1")
Cycle
End If
Call ReadVectorC(99,3,hdp1IN,1, "hdp1IN",kont)
Else If (read_line(7:11).Eq."HD2IN") Then
InputValueforhd2= .True.
Call ReadVectorC(99,3,hd2IN,0, "hd2IN",kont)
Else If (read_line(7:13).Eq."IMHD2IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhd2")
Cycle
End If
Call ReadVectorC(99,3,hd2IN,1, "hd2IN",kont)
Else If (read_line(7:13).Eq."HDTP1IN") Then
InputValueforhdtp1= .True.
Call ReadVectorC(99,2,hdtp1IN,0, "hdtp1IN",kont)
Else If (read_line(7:15).Eq."IMHDTP1IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhdtp1")
Cycle
End If
Call ReadVectorC(99,2,hdtp1IN,1, "hdtp1IN",kont)
Else If (read_line(7:12).Eq."HDT2IN") Then
InputValueforhdt2= .True.
Call ReadVectorC(99,2,hdt2IN,0, "hdt2IN",kont)
Else If (read_line(7:14).Eq."IMHDT2IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhdt2")
Cycle
End If
Call ReadVectorC(99,2,hdt2IN,1, "hdt2IN",kont)
Else If (read_line(7:13).Eq."HUP21IN") Then
InputValueforhup21= .True.
Call ReadVectorC(99,3,hup21IN,0, "hup21IN",kont)
Else If (read_line(7:15).Eq."IMHUP21IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhup21")
Cycle
End If
Call ReadVectorC(99,3,hup21IN,1, "hup21IN",kont)
Else If (read_line(7:11).Eq."HD3IN") Then
InputValueforhd3= .True.
Call ReadVectorC(99,3,hd3IN,0, "hd3IN",kont)
Else If (read_line(7:13).Eq."IMHD3IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhd3")
Cycle
End If
Call ReadVectorC(99,3,hd3IN,1, "hd3IN",kont)
Else If (read_line(7:12).Eq."HDT3IN") Then
InputValueforhdt3= .True.
Call ReadVectorC(99,2,hdt3IN,0, "hdt3IN",kont)
Else If (read_line(7:14).Eq."IMHDT3IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhdt3")
Cycle
End If
Call ReadVectorC(99,2,hdt3IN,1, "hdt3IN",kont)
Else If (read_line(7:12).Eq."HU11IN") Then
InputValueforhu11= .True.
Call ReadVectorC(99,3,hu11IN,0, "hu11IN",kont)
Else If (read_line(7:14).Eq."IMHU11IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMhu11")
Cycle
End If
Call ReadVectorC(99,3,hu11IN,1, "hu11IN",kont)
Else If (read_line(7:12).Eq."HU12IN") Then
InputValueforh12= .True.
Call ReadVectorC(99,3,h12IN,0, "h12IN",kont)
Else If (read_line(7:14).Eq."IMHU12IN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMh12")
Cycle
End If
Call ReadVectorC(99,3,h12IN,1, "h12IN",kont)
Else If (read_line(7:13).Eq."GAUGEIN") Then
Call Read_GAUGEIN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:15).Eq."IMGAUGEIN") Then
Call Read_GAUGEIN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:20).Eq."POTENTIAL331IN") Then
Call Read_POTENTIAL331IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:22).Eq."IMPOTENTIAL331IN") Then
Call Read_POTENTIAL331IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:12).Eq."HUP1IN") Then
Call Read_HUP1IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:14).Eq."IMHUP1IN") Then
Call Read_HUP1IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:12).Eq."HUP2IN") Then
Call Read_HUP2IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:14).Eq."IMHUP2IN") Then
Call Read_HUP2IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:11).Eq."HU1IN") Then
Call Read_HU1IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:13).Eq."IMHU1IN") Then
Call Read_HU1IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:11).Eq."HU2IN") Then
Call Read_HU2IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:13).Eq."IMHU2IN") Then
Call Read_HU2IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:13).Eq."GAUGEIN") Then
Call Read_GAUGEIN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:15).Eq."IMGAUGEIN") Then
Call Read_GAUGEIN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:20).Eq."POTENTIAL331IN") Then
Call Read_POTENTIAL331IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:22).Eq."IMPOTENTIAL331IN") Then
Call Read_POTENTIAL331IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:12).Eq."HUP1IN") Then
Call Read_HUP1IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:14).Eq."IMHUP1IN") Then
Call Read_HUP1IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:12).Eq."HUP2IN") Then
Call Read_HUP2IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:14).Eq."IMHUP2IN") Then
Call Read_HUP2IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:11).Eq."HU1IN") Then
Call Read_HU1IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:13).Eq."IMHU1IN") Then
Call Read_HU1IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:11).Eq."HU2IN") Then
Call Read_HU2IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:13).Eq."IMHU2IN") Then
Call Read_HU2IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:12).Eq."H12LIN") Then
InputValueforh12l= .True.
Call ReadMatrixC(99,3,3,h12lIN,0, "h12lIN",kont)
Else If (read_line(7:14).Eq."IMH12LIN") Then
If (i_cpv.Lt.2) Then
Call Warn_CPV(i_cpv,"IMh12l")
Cycle
End If
Call ReadMatrixC(99,3,3,h12lIN,1, "h12lIN",kont)
Else If (read_line(7:13).Eq."GAUGEIN") Then
Call Read_GAUGEIN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:15).Eq."IMGAUGEIN") Then
Call Read_GAUGEIN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:20).Eq."POTENTIAL331IN") Then
Call Read_POTENTIAL331IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:22).Eq."IMPOTENTIAL331IN") Then
Call Read_POTENTIAL331IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:12).Eq."HUP1IN") Then
Call Read_HUP1IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:14).Eq."IMHUP1IN") Then
Call Read_HUP1IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:12).Eq."HUP2IN") Then
Call Read_HUP2IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:14).Eq."IMHUP2IN") Then
Call Read_HUP2IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:11).Eq."HU1IN") Then
Call Read_HU1IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:13).Eq."IMHU1IN") Then
Call Read_HU1IN(99,1,i_model,set_mod_par,kont)
Else If (read_line(7:11).Eq."HU2IN") Then
Call Read_HU2IN(99,0,i_model,set_mod_par,kont)
Else If (read_line(7:13).Eq."IMHU2IN") Then
Call Read_HU2IN(99,1,i_model,set_mod_par,kont)
End if
End If
End Do
200 Close(99)
gmZ = gamZ * mZ
gmZ2 = gmZ**2
mW2 = mZ2 * (0.5_dp + Sqrt(0.25_dp-Alpha_Mz*pi / (sqrt2*G_F*mZ2))) / 0.987_dp
mW = Sqrt(mW2)
mW_SM = MW
gamW = 2.06_dp
gamW2 = gamW**2
gmW = gamW * mW
gmW2 = gmW**2
Alpha_mZ = Alpha_MSbar(mZ, mW)
If (calc_ferm) Call CalculateRunningMasses(mf_l,mf_d,mf_u&
&,Q_light_quarks,alpha_mZ,alphas_mZ,mZ&
&,mf_l_mZ,mf_d_mZ,mf_u_mZ,kont)
Iname=Iname-1
Contains
Subroutine Read_MINPAR(io,i_c,i_model,set_mod_par,kont)
Implicit None
Integer,Intent(in)::io,i_c,i_model
Integer,Intent(inout)::kont,set_mod_par(:)
Integer::i_par
Real(dp)::wert
Character(len=80)::read_line
Do
Read(io,*,End=200) read_line
If (read_line(1:1).Eq."#") Cycle! this loop
Backspace(io)! resetting to the beginning of the line
If ((read_line(1:1).Eq."B").Or.(read_line(1:1).Eq."b")) Exit! this loop
Read(io,*) i_par,wert!,read_line
If (i_par.Eq.1) Then
If (i_c.Eq.0) Lambda1IN= Cmplx(wert,Aimag(Lambda1IN),dp)
If (i_c.Eq.1) Lambda1IN= Cmplx(Real(Lambda1IN,dp),wert,dp)
Else If (i_par.Eq.2) Then
If (i_c.Eq.0) Lambda2IN= Cmplx(wert,Aimag(Lambda2IN),dp)
If (i_c.Eq.1) Lambda2IN= Cmplx(Real(Lambda2IN,dp),wert,dp)
Else If (i_par.Eq.3) Then
If (i_c.Eq.0) Lambda3IN= Cmplx(wert,Aimag(Lambda3IN),dp)
If (i_c.Eq.1) Lambda3IN= Cmplx(Real(Lambda3IN,dp),wert,dp)
Else If (i_par.Eq.4) Then
If (i_c.Eq.0) Lambda12IN= Cmplx(wert,Aimag(Lambda12IN),dp)
If (i_c.Eq.1) Lambda12IN= Cmplx(Real(Lambda12IN,dp),wert,dp)
Else If (i_par.Eq.5) Then
If (i_c.Eq.0) Lambda13IN= Cmplx(wert,Aimag(Lambda13IN),dp)
If (i_c.Eq.1) Lambda13IN= Cmplx(Real(Lambda13IN,dp),wert,dp)
Else If (i_par.Eq.6) Then
If (i_c.Eq.0) Lambda23IN= Cmplx(wert,Aimag(Lambda23IN),dp)
If (i_c.Eq.1) Lambda23IN= Cmplx(Real(Lambda23IN,dp),wert,dp)
Else If (i_par.Eq.7) Then
If (i_c.Eq.0) Lambda12TIN= Cmplx(wert,Aimag(Lambda12TIN),dp)
If (i_c.Eq.1) Lambda12TIN= Cmplx(Real(Lambda12TIN,dp),wert,dp)
Else If (i_par.Eq.8) Then
If (i_c.Eq.0) Lambda13TIN= Cmplx(wert,Aimag(Lambda13TIN),dp)
If (i_c.Eq.1) Lambda13TIN= Cmplx(Real(Lambda13TIN,dp),wert,dp)
Else If (i_par.Eq.9) Then
If (i_c.Eq.0) Lambda23TIN= Cmplx(wert,Aimag(Lambda23TIN),dp)
If (i_c.Eq.1) Lambda23TIN= Cmplx(Real(Lambda23TIN,dp),wert,dp)
Else If (i_par.Eq.10) Then
If (i_c.Eq.0) fInput= Cmplx(wert,Aimag(fInput),dp)
If (i_c.Eq.1) fInput= Cmplx(Real(fInput,dp),wert,dp)
Else If (i_par.Eq.11) Then
VnIN= wert
Else If (i_par.Eq.12) Then
v1IN= wert
Else
Write(ErrCan,*) "Error in routine "//NameOfUnit(Iname)
If (i_c.Eq.0) Write(ErrCan,*) "Unknown entry for Block MINPAR ",i_par
If (i_c.Eq.1) Write(ErrCan,*) "Unknown entry for Block IMMINPAR ",i_par
If (i_c.Eq.0) Write(*,*) "Unknown entry for Block MINPAR ",i_par
If (i_c.Eq.1) Write(*,*) "Unknown entry for Block IMMINPAR ",i_par
Call AddError(304)
If (ErrorLevel.Eq.2) Call TerminateProgram
End If
End Do! i_par
200 Return
End Subroutine Read_MINPAR
Subroutine Read_EXTPAR(io,i_c,i_model,set_mod_par,kont)
Implicit None
Integer,Intent(in)::io,i_c,i_model
Integer,Intent(inout)::kont,set_mod_par(:)
Integer::i_par
Real(dp)::wert
Character(len=80)::read_line
Do
Read(io,*,End=200) read_line
If (read_line(1:1).Eq."#") Cycle! this loop
Backspace(io)! resetting to the beginning of the line
If ((read_line(1:1).Eq."B").Or.(read_line(1:1).Eq."b")) Exit! this loop
Read(io,*) i_par,wert!,read_line
End Do! i_par
200 Return
End Subroutine Read_EXTPAR
Subroutine Read_MODSEL(io, i_particles, i_model, i_cpv, kont)
Implicit None
Integer, Intent(in) :: io
Integer, Intent(out) :: i_particles, i_model, i_cpv
Integer, Intent(inout) :: kont
Real(dp) :: r_mod
Integer :: i_mod, i_test, i_rp
Character(len=80) :: read_line
i_cpv = 0
i_rp = 0
Do
Read(io,*) read_line
If (read_line(1:1).Eq."#") Cycle ! this loop
Backspace(io) ! resetting to the beginning of the line
If ((read_line(1:1).Eq."B").Or.(read_line(1:1).Eq."b") ) Exit ! this loop
Read(io,*) i_test,r_mod ! ,read_line
If (i_test.Ne.12) Then
Backspace(io)
Read(io,*) i_test,i_mod ! ,read_line
End If
! Read(io,*) i_test,i_mod,read_line
If (i_test.Eq.1) Then
i_particles = i_test
i_model = i_mod
If ((i_mod.Lt.0).Or.(i_mod.Gt.99)) Then
Write(ErrCan,*) "Error in routine "//NameOfUnit(Iname)
Write(ErrCan,*) "MSSM, Unknown entry for Block MODSEL ",i_mod
kont = -302
Call AddError(-kont)
Return
Else If (i_mod.Eq.1) Then
HighScaleModel = "GUT"
Else If (i_mod.Eq.0) Then
HighScaleModel = "LOW"
End If
Else If (i_test.Eq.2) Then
BoundaryCondition = i_mod
Else If (i_test.Eq.4) Then
If (i_mod.Eq.1) Then
i_rp = 1
Else If (i_mod.Ne.0) Then
Write(ErrCan,*) "Error in routine "//NameOfUnit(Iname)
Write(ErrCan,*) "Unknown entry for Block MODSEL ",i_test,i_mod
kont = -302
Call AddError(-kont)
Return
End If
Else If (i_test.Eq.5) Then
i_cpv = i_mod
If ((i_mod.Lt.0).Or.(i_mod.Gt.2)) Then
Write(ErrCan,*) "Error in routine "//NameOfUnit(Iname)
Write(ErrCan,*) "Unknown entry for Block MODSEL ",i_test,i_mod
kont = -302
Call AddError(-kont)
Return
End If
Else If (i_test.Eq.6) Then
If (i_mod.Eq.0) Then
GenerationMixing = .False.
Else If ((i_mod.Ge.1).And.(i_mod.Le.3)) Then
GenerationMixing = .True.
Else
Write(ErrCan,*) "Error in routine "//NameOfUnit(Iname)
Write(ErrCan,*) "GenerationMixing, Unknown entry for Block MODSEL ",i_mod
kont = -302
Call AddError(-kont)
Return
End If
Else If (i_test.Eq.12) Then
Call SetRGEScale(r_mod**2) ! set Q_EWSB
End If
End Do ! i_mod
End Subroutine Read_MODSEL
Subroutine Read_SMinput(io)
Implicit None
Integer, Intent(in) :: io
Integer :: i_sm
Real(dp) :: wert
Character(len=80) :: read_line
Do
Read(io,*) read_line
If (read_line(1:1).Eq."#") Cycle ! this loop
Backspace(io) ! resetting to the beginning of the line
If ((read_line(1:1).Eq."B").Or.(read_line(1:1).Eq."b") ) Exit ! this loop
Read(io,*) i_sm,wert,read_line
Select Case(i_sm)
Case(1)
check_alpha(1) = .True.
MZ_input = .True.
Alpha_MZ_MS = 1._dp / wert
Case(2) ! G_F
G_F = wert
Case(3) ! alpha_s(m_Z)
alphaS_mZ = wert
Case(4) ! m_Z
mZ = wert
mZ2 = mZ**2
calc_ferm = .True.
Case(5) ! m_b(m_b)^MSbar
mf_d(3) = wert
mf_d2(3) = mf_d(3)**2
calc_ferm = .True.
Case(6) ! m_t^pole
mf_u(3) = wert
mf_u2(3) = mf_u(3)**2
Case(7) ! m_tau^pole
mf_l(3) = wert
mf_l2(3) = mf_l(3)**2
calc_ferm = .True.
Case(8) ! m_nu_3, input is in GeV
Mf_nu(3) = wert
Case(11) ! electron mass
mf_l(1) = wert
mf_l2(1) = wert**2
calc_ferm = .True.
Case(12) ! m_nu_1, input is in GeV
Mf_nu(1) = wert
Case(13) ! muon mass
mf_l(2) = wert
mf_l2(2) = wert**2
calc_ferm = .True.
Case(14) ! m_nu_2, input is in eV, transform to GeV
Mf_nu(2) = wert
Case(21) ! d-quark mass at 2 GeV
mf_d(1) = wert
mf_d2(1) = wert**2
calc_ferm = .True.
Case(22) ! u-quark mass at 2 GeV
mf_u(1) = wert
mf_u2(1) = wert**2
calc_ferm = .True.
Case(23) ! s-quark mass at 2 GeV
mf_d(2) = wert
mf_d2(2) = wert**2
calc_ferm = .True.
Case(24) ! c-quark mass at Q=m_c
mf_u(2) = wert
mf_u2(2) = wert**2
calc_ferm = .True.
Case Default
If (output_screen) &
& Write(*,*) "Ignoring unknown entry for Block SMINPUTS ",i_sm
Write(ErrCan,*) "Ignoring unknown entry for Block SMINPUTS ",i_sm
End Select
End Do ! i_sm
End Subroutine Read_SMinput
Subroutine Read_CKM(io, i_cpv)
Implicit None
Integer, Intent(in) :: io, i_cpv
Real(dp) :: s12, s13, s23, c12, c13, c23, phase
Do
Read(io,*,End=200) read_line
! Write(*,*) read_line
Backspace(io) ! resetting to the beginning of the line
If ((read_line(1:1).Eq."#").Or.(read_line(1:1).Eq."B") &
.Or.(read_line(1:1).Eq."b") ) Exit ! this loop
Read(io,*) i1, wert, read_line
Select Case(i1)
Case(1)
lam_wolf = wert
Case(2)
A_wolf = wert
Case(3)
rho_wolf = wert
Case(4)
eta_wolf = wert
Case default
End Select
End Do
200 s12 = lam_wolf
s23 = s12**2 * A_wolf
s13 = s23 * lam_wolf * Sqrt(eta_wolf**2+rho_wolf**2)
If (i_cpv.Eq.0) Then
Write(ErrCan,*) "Warning: CP violation is switched of, ignoring CKM phase."
phase = 0._dp
Else
phase = Atan(eta_wolf/rho_wolf)
End If
c12 = Sqrt(1._dp-s12*s12)
c23 = Sqrt(1._dp-s23*s23)
c13 = Sqrt(1._dp-s13*s13)
CKM(1,1) = c12 * c13
CKM(1,2) = s12 * c13
CKM(2,3) = s23 * c13
CKM(3,3) = c23 * c13
If (phase.Ne.0._dp) Then
CKM(1,3) = s13 * Exp( (0._dp,-1._dp) * phase )
CKM(2,1) = -s12*c23 -c12*s23*s13 * Exp( (0._dp,1._dp) * phase )
CKM(2,2) = c12*c23 -s12*s23*s13 * Exp( (0._dp,1._dp) * phase )
CKM(3,1) = s12*s23 -c12*c23*s13 * Exp( (0._dp,1._dp) * phase )
CKM(3,2) = -c12*s23 - s12*c23*s13 * Exp( (0._dp,1._dp) * phase )
Else
CKM(1,3) = s13
CKM(2,1) = -s12*c23 -c12*s23*s13
CKM(2,2) = c12*c23 -s12*s23*s13
CKM(3,1) = s12*s23 -c12*c23*s13
CKM(3,2) = -c12*s23 - s12*c23*s13
End If
End Subroutine Read_CKM
Subroutine Read_SPINFO(io, kont)
Implicit None
Integer, Intent(in) :: io
Integer, Intent(inout) :: kont
Do
Read(io,*,End=200) read_line
! Write(*,*) read_line
If (read_line(1:1).Eq."#") Cycle ! this loop
Backspace(io) ! resetting to the beginning of the line
If ((read_line(1:1).Eq."B").Or.(read_line(1:1).Eq."b") ) Exit ! this loop
Read(io,*) i_sp, read_line
If (i_sp.Eq.1) Then
sp_info = Trim(read_line)//" "//Trim(sp_info)
Else If (i_sp.Eq.2) Then
sp_info = Trim(sp_info)//" "//Trim(read_line)
Else If (i_sp.Eq.4) Then ! there is some inconsistency, exit
kont = -306
Call AddError(306)
Iname = Iname - 1
Return
Else
Write(ErrCan,*) "Unknown entry in BLOCK SPINFO, is ignored:"
Write(ErrCan,*) i_sp, read_line
End If
End Do
200 Return
End Subroutine Read_SPINFO
Subroutine Read_SPhenoInput(io)
Implicit None
Integer, Intent(in) :: io
Integer :: i_par
Real(dp) :: wert
Character(len=80) :: read_line
! This initialization is necessary for the arrar of production infos
p_max = Size(Ecms)
p_act = 0
Ecms = 0._dp
Pm = 0._dp
Pp = 0._dp
l_ISR = .False.
Do
Read(io,*,End=200,err=200) read_line
! Write(*,*) trim(read_line)
If (read_line(1:1).Eq."#") Cycle ! this loop
Backspace(io) ! resetting to the beginning of the line
If ((read_line(1:1).Eq."B").Or.(read_line(1:1).Eq."b") ) Exit ! this loop
Read(io,*,End=200) i_par,wert,read_line
! write(*,*) i_par,wert,trim(read_line)
Select Case(i_par)
Case(1)
ErrorLevel = Int(wert)
Case(2)
If (Int(wert).Ne.0) Then
SPA_convention = .True.
Call SetRGEScale(1.e3_dp**2)
End If
Case(3)
If (Int(wert).Ne.0) Then
External_Spectrum = .True.
External_Higgs = .True.
End If
Case(4)
If (Int(wert).Ne.0) Use_Flavour_States = .True.
Case(5)
If (Int(wert).Ne.0) FermionMassResummation = .False.
Case(6)
RXiNew = wert
Case(7)
If (wert.eq.1) then
CalculateTwoLoopHiggsMasses=.False.
! TwoLoopMatching = .false.
! OneLoopMatching = .false.
Else
CalculateTwoLoopHiggsMasses=.True.
End if
Case(8)
SELECT CASE (int(WERT))
CASE ( 1 )
PurelyNumericalEffPot = .true.
CalculateMSSM2Loop = .false.
TwoLoopMethod=1
CASE ( 2 )
PurelyNumericalEffPot = .false.
CalculateMSSM2Loop = .false.
TwoLoopMethod=2
CASE ( 3 )
CalculateMSSM2Loop = .false.
TwoLoopMethod=3
CASE ( 8 )
CalculateMSSM2Loop = .True.
TwoLoopMethod=8
CASE ( 9 )
CalculateMSSM2Loop = .True.
TwoLoopMethod=9
CASE DEFAULT
Write(*,*) "Unknown option for two-loop mass calculation"
CalculateTwoLoopHiggsMasses=.False.
END SELECT
Case(9)
If (wert.Ne.0) Then
GaugelessLimit=.true.
Else
GaugelessLimit=.false.
End If
Case(400)
hstep_pn = wert
Case(401)
hstep_sa = wert
Case(410)
TwoLoopRegulatorMass = wert
Case(10)
If (wert.Ne.1) Then
TwoLoopSafeMode=.false.
Else
TwoLoopSafeMode=.true.
End If
Case(11) ! whether to calculate branching ratios or not
If (Int(wert).Eq.1) L_BR = .True.
If (Int(wert).Eq.0) L_BR = .False.
Case(12) ! minimal value such that a branching ratio is written out
Call SetWriteMinBR(wert)
Case(13) ! minimal value such that a branching ratio is written out
If (wert.Eq.0) Then
Enable3BDecaysF = .False.
Enable3BDecaysS = .False.
Elseif (wert.Eq.1) Then
Enable3BDecaysF = .True.
Enable3BDecaysS = .False.
Elseif (wert.Eq.2) Then
Enable3BDecaysS = .True.
Enable3BDecaysF = .False.
Elseif (wert.Eq.3) Then
Enable3BDecaysF = .True.
Enable3BDecaysS = .True.
Else
Write(*,*) "Unknown option for flag 13 (three-body decays): ",wert
End if
Case(14) ! run SUSY couplings to scale of decaying particle
If (wert.Eq.0) RunningCouplingsDecays = .False.
Case(15) ! run SUSY couplings to scale of decaying particle
MinWidth = wert
Case(16) ! run SUSY couplings to scale of decaying particle
If (wert.Ne.0) Then
OneLoopDecays=.true.
Else
OneLoopDecays=.false.
End If
! Case(21) ! whether to calculate cross sections or not
! If (Int(wert).Eq.1) L_CS = .True.
! If (Int(wert).Eq.0) L_CS = .False.
!
! Case(22) ! cms energy
! p_act = p_act + 1
! ! this test is necessary to avoid a memory violation
! If (p_act.Le.p_max) Then
! Ecms(p_act) = wert
! Else
! If (output_screen) &
! & Write(*,*) "The number of required points for the calculation"// &
! & " of cross sections exceeds",p_max
! If (output_screen) &
! & Write(*,*) "Ignoring this information"
! If (output_screen) &
! & Write(*,*) "Please enlarge the corresponding arrays in the main program."
! Write(ErrCan,*) "The number of required points for the calculation"// &
! & " of cross sections exceeds",p_max
! Write(ErrCan,*) "Ignoring this information"
! Write(ErrCan,*) &
! &"Please enlarge the corresponding arrays in the main program."
! End If