source: JEM-EUSO/esaf_cc_at_lal/packages/simulation/detector/optics/include/Ktrace_optF1v1.hh @ 114

Last change on this file since 114 was 114, checked in by moretto, 11 years ago

actual version of ESAF at CCin2p3

File size: 1.8 KB
Line 
1/* -------------------------------------------------------------------------
2 *   trace_optF1v1.h
3 *
4 *   --- header file for trace_optF1v1.h
5 *
6 * $Id: Ktrace_optF1v1.hh 2924 2011-06-12 20:22:13Z mabl $
7 * $Id: Ktrace_optF1v1.hh 2924 2011-06-12 20:22:13Z mabl $
8 * -------------------------------------------------------------------------
9 */
10#ifndef _TRACE_OPTF1V1_H
11#define _TRACE_OPTF1V1_H
12
13#include "Rtypes.h"
14
15
16/* error codes */
17
18#define RT_NO_SPINTERSECTION       -2
19#define RT_HIT_SIDE_WALL           -3
20#define RT_NO_INTERSECTION1        -4
21#define RT_NO_INTERSECTION2        -5
22#define RT_OUT_OF_SURFACE1         -6
23#define RT_OUT_OF_SURFACE2         -7
24#define RT_REFLECTION_DISCARDED    -8
25#define RT_NO_REFRACTED_LIGHT      -9
26#define RT_REFLECTED_IN_REF       -10
27#define RT_ABSORBED               -11
28#define RT_OUT_OF_IRIS            -12
29#define RT_STRAY_LIGHT            -13
30
31#define RT_REFRACTED                1
32#define RT_REFLECTED                2
33
34#define SURFACE0                    0
35#define SURFACE1                -1000
36#define SURFACE2                -2000
37#define SURFACE3                -3000
38#define SURFACE4                -4000
39#define SURFACE5                -5000
40#define SURFACE6                -6000
41#define SURFACE7                -7000
42
43#define C0 2997.92458
44
45Int_t Kread_para(const char *dir);
46Double_t KGet_n_Acryl(Double_t lambda);
47Double_t KGet_k_Acryl(Double_t lambda);
48Int_t Krefract(Double_t in_ph[3],Double_t nnn[3],Double_t n1,Double_t n2);
49Int_t Ktrace(Double_t ph_in[], Double_t ph_out[]);
50Int_t KCalSpheVec(Double_t aX, Double_t aY, Double_t aZ, Double_t aCZ, Double_t nnnDIFF[3]);
51Int_t KReadSD(const char *dirname);
52Double_t KCal_D(Double_t r,Int_t s);
53Int_t Kdiffract(Int_t ID, Double_t in_phdir[3], 
54             Double_t x3, Double_t y3, Double_t z3, Double_t Zc,
55             Double_t n1, Double_t n2, Double_t wl, Int_t m);
56
57#endif
Note: See TracBrowser for help on using the repository browser.