StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
tauola_print_parameters.h
1 #include "Tauola/Tauola.h"
2 #include "Tauola/f_Variables.h"
3 #include "Tauola/f_Init.h"
4 #include "Tauola/f_Decay.h"
5 #include "Tauola/f_FilHep.h"
6 #include <iostream>
7 using std::cout;
8 using std::endl;
9 using namespace Tauolapp;
10 
11 // Prints TAUOLA parameters (residing inside its library): e.g. to test user interface
12 void tauola_print_parameters()
13 {
14  int prec = cout.precision(12);
15  cout<<"#########################################################################################"<<endl;
16  cout<<"Tauola++ parameters set at initialization"<<endl;
17  cout<<"(this check-method can be used at any moment of program execution)."<<endl;
18  cout<<"Parameters meaning, defaults, and allowed ranges are explained in program documentation "<<endl;
19  cout<<"http://www.ph.unimelb.edu.au/~ndavidson/tauola/Tauola_interface_design.pdf "<<endl;
20  cout<<endl;
21  cout<<"-----------------------------------------------------------"<<endl;
22  cout<<endl;
23  cout<<"variables used mainly in C++ interface: "<<endl;
24  cout<<endl;
25  cout<<"Tau mass: "<<Tauola::getTauMass()<<endl;
26  cout<<"Tau lifetime: "<<Tauola::tau_lifetime<<endl;
27  cout<<"Tau PDG id: "<<Tauola::getDecayingParticle()<<endl;
28  cout<<endl;
29  cout<<"Decay of eta, K0s, pi on/off: "<<Tauola::ion[2]<<","<<Tauola::ion[1]<<","<<Tauola::ion[0]<<endl;
30  cout<<endl;
31  cout<<"Length units: "<< ((Tauola::lengthUnit==Tauola::CM) ? "CM" : "MM") <<endl;
32  cout<<"Momentum units: "<< ((Tauola::momentumUnit==Tauola::MEV) ? "MEV" : "GEV") <<endl;
33  cout<<"Momentum conservation threshold (for checks): "<<Tauola::momentum_conservation_threshold<<endl;
34  cout<<endl;
35  cout<<"Higgs (scalar-pseudoscalar) PDG id: "<<Tauola::getHiggsScalarPseudoscalarPDG()<<endl;
36  cout<<"Higgs (scalar-pseudoscalar) mixing angle: "<<Tauola::getHiggsScalarPseudoscalarMixingAngle()<<endl;
37  cout<<endl;
38  cout<<endl;
39  cout<<"Switches used in spin correlation methods on/off for:"<<endl
40  <<"GAMMA,Z0,HIGGS,HIGGS_H,HIGGS_A,HIGGS_PLUS,HIGGS_MINUS,W_PLUS,W_MINUS: "
41  <<Tauola::spin_correlation.GAMMA<<","<<Tauola::spin_correlation.Z0<<","<<Tauola::spin_correlation.HIGGS<<","<<Tauola::spin_correlation.HIGGS_H<<","
42  <<Tauola::spin_correlation.HIGGS_A<<","<<Tauola::spin_correlation.HIGGS_PLUS<<","<<Tauola::spin_correlation.HIGGS_MINUS<<","
43  <<Tauola::spin_correlation.W_PLUS<<","<<Tauola::spin_correlation.W_MINUS<<endl;
44  cout<<endl;
45  cout<<"-----------------------------------------------------------"<<endl;
46  cout<<endl;
47  cout<<"variables used in tau decays : "<<endl;
48  cout<<endl;
49  cout<<"-----------------------------------------------------------"<<endl;
50  cout<<endl;
51 
52  cout<<"tau+ decay mode: "<<jaki_.jak1<<endl;
53  cout<<"tau- decay mode: "<<jaki_.jak2<<endl;
54  cout<<endl;
55  cout<<"a1 relative branching ratio pi- pi- pi+ / pi- pi pi0: "<<taukle_.bra1<<endl;
56  cout<<"K0 relative attribute K0_L / K0_S: "<<taukle_.brk0<<endl;
57  cout<<"K0_bar relative attribute K0_L / K0_S: "<<taukle_.brk0b<<endl;
58  cout<<"Kstar relative branching ratio K0 pi- /K- pi0 : "<<taukle_.brks<<endl;
59  cout<<endl;
60  cout<<"QED radiation in leptonic decays on/off: "<<taurad_.itdkrc<<endl;
61  cout<<"QED radiation in leptonic decays minimal photon energy cutoff: "<<taurad_.xk0dec<<endl;
62  cout<<endl;
63  cout<<"#########################################################################################"<<endl;
64 
65  cout.precision(prec);
66 }
static int getHiggsScalarPseudoscalarPDG()
Definition: Tauola.cxx:659
static int getDecayingParticle()
Definition: Tauola.cxx:593
static double getTauMass()
Definition: Tauola.cxx:651