]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TEvtGen/Tauola/f_InitTauola.h
Merge branch 'TPCdev' of https://git.cern.ch/reps/AliRoot into TPCdev
[u/mrichter/AliRoot.git] / TEvtGen / Tauola / f_InitTauola.h
1 #ifndef _f_Init_h_included_
2 #define _f_Init_h_included_
3
4 /**
5  * This file contains an interface between the C++ code and TAUOLA
6  * FORTRAN routines for tauola initalization.  
7  * f_interface_tauolaInitialize() should be used
8  * by C++ code. This call the initiphy_ or inimas_ routines defined in
9  * tauola.f and tauola_extras.f
10  *
11  * @author Nadia Davidson
12  * @date 17 June 2008
13  */
14
15 #include "f_Variables.h"
16 #include "f_Decay.h"
17
18 namespace Tauolapp
19 {
20
21 extern "C" {
22
23   extern struct {
24     int idff; //tau pdg id
25   } idfc_;
26
27   extern void inietc_(float jak1=0,float jak2=0,float itdkrc=1,float ifphot=1);
28   extern void inimas_();
29   extern void iniphx_(float *i);
30   extern void initdk_();
31   extern void iniphy_(float *i);
32 }
33
34 void f_interface_tauolaInitialize(int pdg_id, int firstDecayMode, 
35                                   int secondDecayMode, bool rad,
36                                   double rad_cut_off, double iniphy);
37
38 /** DEPRECATED: Use 'f_interface_tauolaInitialize' instead. */
39 void f_interface_tauolaInitialise(int pdg_id, int firstDecayMode, 
40                                   int secondDecayMode, bool rad,
41                                   double rad_cut_off, double iniphy);
42
43 double f_getTauMass();
44
45 } // namespace Tauolapp
46 #endif