]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TEvtGen/Tauola/f_FilHep.h
Updates EvtGen Code
[u/mrichter/AliRoot.git] / TEvtGen / Tauola / f_FilHep.h
1 #ifndef _f_FilHep_h_included_
2 #define _f_FilHep_h_included_
3
4 /**
5  * This file contains an interface between TAUOLA FORTRAN routines 
6  * and the C++ event. These methods, are defined so they can be called
7  * by tauola (in tauola.f). They will never be called by the C++ code. 
8  *
9  * @author Nadia Davidson
10  * @date 17 June 2008
11  */
12
13 #include <stdio.h>
14 #include <stdlib.h>
15 #include <iostream>
16 #include <math.h>
17
18 #include "TauolaParticle.h"
19 #include "DecayList.h"
20
21 using namespace std;
22
23 namespace Tauolapp
24 {
25
26 /** Fill a particle into the TauolaEvent. This relies heavily
27     on the static data structure DecayList */
28 extern "C" void filhep_(int * n, int * status, int * pdg_id,
29                         int * mother_first, int * mother_last, 
30                         int * daughter_first, int * daughter_last, 
31                         float p4[4], float * p_inv_mass, bool * photos_flag);
32
33 /** This function defines lorentz transformationfrom
34     first (kto=1) or second (kto=2) tau to laboratory frame.
35     It's heavily used in Fortran code. */
36 extern "C" void tralo4_(float * kto, float p[4], float q[4], float * ams);
37
38 } // namespace Tauolapp
39 #endif