cainWarpper.hh
1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: cainWarpper.hh
* Author: hacene
*
* Created on September 14, 2021, 3:36 PM
*/
#ifndef CAINWARPPER_HH
#define CAINWARPPER_HH
#include "cainlib.hh"
namespace AMDA {
namespace Parameters {
namespace Cain {
class cainWarpper{
public:
static void getCain(float crtTime,
float px, float py, float pz,
float &Btt, float &Bpp, float &Brr,
float &Bx, float &By, float &Bz,
float &B, int &ifail){
cain_(& crtTime,
&px, &py, &pz,
&Btt, &Bpp, &Brr,
&Bx, &By, &Bz,
&B, &ifail);
}
};
}
}
}
#endif /* CAINWARPPER_HH */