Parent Directory | Revision Log
several upgrades
1 | mocchiut | 1.1 | /** |
2 | * \file TrkStruct.h | ||
3 | * \author Elena Vannuccini | ||
4 | * \date | ||
5 | */ | ||
6 | #include <TrkStruct.h> | ||
7 | pam-fi | 1.6 | //#include <TrkCalib.h> |
8 | mocchiut | 1.1 | |
9 | using namespace pamela; | ||
10 | using namespace std; | ||
11 | |||
12 | float aint(float f){ | ||
13 | int ret = (int)f; | ||
14 | float ret1 = 0; | ||
15 | ret1=(float)ret; | ||
16 | return ret1; | ||
17 | } | ||
18 | |||
19 | float anint(float f){ | ||
20 | int ret = (int)(f+0.5); | ||
21 | float ret1 = 0; | ||
22 | ret1=(float)ret; | ||
23 | pam-fi | 1.4 | return ret1; |
24 | mocchiut | 1.1 | } |
ViewVC Help | |
Powered by ViewVC 1.1.23 |