cainWarpper.hh 1.07 KB
/*
 * 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 */